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

Username:   Password: 
 RegisterRegister   
 Problem with program!!!
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
308989961




PostPosted: Mon Dec 31, 2012 10:27 pm   Post subject: Problem with program!!!

So I wrote this code to import a pic of a window and it was actually working earlier today. Now when I try it, it the output screen is blank. There are no errors etc. If there a problem with Turing software or program? What should I do? Thanks

setscreen ("graphics: max;max,")
var picWindowandWallBackground:int

picWindowandWallBackground:=Pic.FileNew("WindowAndWallBackground.jpg")
Pic.Draw (picWindowandWallBackground, 1000,2000,picCopy)
Sponsor
Sponsor
Sponsor
sponsor
Dreadnought




PostPosted: Mon Dec 31, 2012 10:48 pm   Post subject: Re: Problem with program!!!

308989961 wrote:
Turing:
Pic.Draw (picWindowandWallBackground, 1000,2000,picCopy)


So you want to draw the picture with it's lower left corner at position (1000, 2000) ?
308989961




PostPosted: Mon Dec 31, 2012 11:08 pm   Post subject: Re: Problem with program!!!

Yeah, it fills up the entire screen.
308989961




PostPosted: Mon Dec 31, 2012 11:12 pm   Post subject: Re: Problem with program!!!

Ohhh thank you
you were right, the coordinates were wrong
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: