function main() {
//declare the variable to become the buffer
Var:Number mysky;
//declare the variable to hold the image's width value
Var:Number imgHgt;
//be sure to create the sky.bmp first
Image:Load("sky.bmp", mysky)
//get Width of image
Image:GetWidth(mysky,imgHgt)
}