Posted: Wed Apr 28, 2004 7:35 pm Post subject: need picture help
i am a new programmer and i dont know why my picture doesn't work
var cherries :int := Pic.FileNew ("c:\My Documents\cherry.bmp")
Pic.Draw(cherries,1,1,0)
Sponsor Sponsor
Paul
Posted: Wed Apr 28, 2004 7:45 pm Post subject: (No subject)
-The path is wrong or the pic isn't there.
-You got the pic extension/name wrong.
I suggest u just use
Pic.FileNew ("cherries.bmp")
and not type the full path and save the file in the same folder as the picture.
Raugrist
Posted: Wed Apr 28, 2004 8:36 pm Post subject: (No subject)
The problem is in your first line. Either change it to:
code:
var cherries :int := Pic.FileNew ("c:/My Documents/cherry.bmp")
Or
code:
var cherries :int := Pic.FileNew ("c:\\My Documents\\cherry.bmp")