Computer Science Canada

Pictures on the program

Author:  gohan [ Wed Apr 06, 2005 3:10 pm ]
Post subject:  Pictures on the program

I would like to know how to put a pic on the program...i think there called JIF, but not sure....i was messing around with the program, and i think im almost there...plz....but then agian i didn't get it yet...lol

Thnx

Author:  Delos [ Wed Apr 06, 2005 3:37 pm ]
Post subject: 

If by 'on' you mean 'in' and by 'JIF' you mean 'GIF' then there is not direct route via Turing.
GIF is protected by certain patents, and as such Holtsoft never did implement a way to import these pictures.
However, if you have some sort of graphics editting software (say, Paint perhaps), you can open the picture and save it as a .jpg or .bmp. You can now import it into Turing.

code:

var picStream : int
picStream := Pic.FileNew ("myPic.bmp")


Check out the Pic. module in the help file.


: