Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 Importing Bitmaps into Turing programs
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
Shadow_Neko




PostPosted: 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.
Sponsor
Sponsor
Sponsor
sponsor
do_pete




PostPosted: Thu Jan 12, 2006 12:48 pm   Post subject: (No subject)

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




PostPosted: Thu Jan 12, 2006 12:51 pm   Post subject: (No subject)

Also the P in Pic.Draw should be capatilized.
do_pete




PostPosted: Thu Jan 12, 2006 12:51 pm   Post subject: (No 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)
Display posts from previous:   
   Index -> Programming, Turing -> Turing Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 4 Posts ]
Jump to:   


Style:  
Search: