
-----------------------------------
Reality Check
Sat Apr 29, 2006 12:58 pm

Some major help needed...
-----------------------------------
Ok I have tried for 45 minutes on end and I can't get it.  Everytime I try to display a picture it doesn't work and gives me this error:

Illegal Picture ID number '0'. (Probable Cause: Picture was not successfuly created.).

I just opened a new window and here is the exact code (and only code) in it:

var picID : int := Pic.FileNew ("dice.bmp")
Pic.Draw (picID, maxx div 2, maxy div 2, 0)

My filename is perfectly written (made sure there are no caps or anything), I checked to make sure it is a BMP file (even tried with JPG), I'm sure there is only one copy of it on my whole computer, and it is saved in my pictures (tried moving it to a different folder).  I even tried writing out the whole directory.  Now, the spacegame that comes with Turing works.  The pictures all load.  So I tried simply loading one of the pictures from that (the 'space' one) into a new turing window and it didn't work.  I did this to make sure nothing was wrong with my picture and tried 3 other pictures as well.  Obviously I'm doing something wrong. [/code]
