
-----------------------------------
308989961
Mon Dec 31, 2012 10:27 pm

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)

-----------------------------------
Dreadnought
Mon Dec 31, 2012 10:48 pm

Re: Problem with program!!!
-----------------------------------
Pic.Draw (picWindowandWallBackground, 1000,2000,picCopy)

So you want to draw the picture with it's lower left corner at position (1000, 2000) ?

-----------------------------------
308989961
Mon Dec 31, 2012 11:08 pm

Re: Problem with program!!!
-----------------------------------
Yeah, it fills up the entire screen.

-----------------------------------
308989961
Mon Dec 31, 2012 11:12 pm

Re: Problem with program!!!
-----------------------------------
Ohhh thank you
you were right, the coordinates were wrong
