Illegal picture Id number '0' plz help asap plzzzzzzzzz
Author |
Message |
hassansyr
|
Posted: Tue May 24, 2016 9:14 pm Post subject: Illegal picture Id number '0' plz help asap plzzzzzzzzz |
|
|
Illegal picture Id number '0' plz help asap plzzzzzzzzz
here is the code:
var hi:int
hi:= Pic.FileNew("me.bmp")
put " Hello user "
delay(500)
put " This is a ' Choose your own adventure story' assignment"
delay(500)
put " This program will give you a plot and depending on your decisions, you will face different outcomes. "
delay(500)
put " Please choose right and thoughtful decisions. Enjoy "
Pic.Draw(hi, 0,0 ,picCopy ) |
|
|
|
|
|
Sponsor Sponsor
|
|
|
Insectoid
|
Posted: Sun May 29, 2016 11:45 am Post subject: RE:Illegal picture Id number \'0\' plz help asap plzzzzzzzzz |
|
|
This error message means your picture did not load for some reason. Your code looks sound, so it must be something else. Is your image file in the same folder as your code? If not, there's your problem.
Turing sometimes doesn't play nice with newer versions of Windows. Try running Turing as Administrator.
Some versions of Windows may hide the file extension of your files. If you renamed your image, you may have accidentally added an extra extension, making it 'me.bmp.bmp'. In the Explorer settings should be an option to show file extensions.
Hopefully that helps. |
|
|
|
|
|
|
|