Computer Science Canada

Importing Bitmaps into Turing programs

Author:  Shadow_Neko [ Thu Jan 12, 2006 12:26 pm ]
Post subject:  Importing Bitmaps into Turing programs

well.
Ive searched all through the help files and tutorials. I cant find it anywhere and I cant for the life of me get this to work. Can somebody please help me?

Quote:
var pic : int
Pic:= Pic.FileNew (Pic.bmp)
pic.Draw (Pic, 0 , 0 , picCopy)


Thats what I tried, and it didnt work. I have the files all saved in the folder together and everything, but nothing wants to work.

Author:  do_pete [ Thu Jan 12, 2006 12:48 pm ]
Post subject: 

code:
var pic : int
pic:= Pic.FileNew ("Pic.bmp")
pic.Draw (pic, 0 , 0 , picCopy)

Author:  Albrecd [ Thu Jan 12, 2006 12:51 pm ]
Post subject: 

Also the P in Pic.Draw should be capatilized.

Author:  do_pete [ Thu Jan 12, 2006 12:51 pm ]
Post subject: 

ahh crap i mad a mistake it's supposed to be
var pic : int
pic:= Pic.FileNew ("Pic.bmp")
Pic.Draw (pic, 0 , 0 , picCopy)


: