Computer Science Canada need picture help |
Author: | noobprogrammer123 [ 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) |
Author: | Paul [ Wed Apr 28, 2004 7:45 pm ] |
Post 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. |
Author: | Raugrist [ Wed Apr 28, 2004 8:36 pm ] | ||||
Post subject: | |||||
The problem is in your first line. Either change it to:
Or
I prefer the former, of course. |