Computer Science Canada where the problem |
Author: | alster99 [ Wed Sep 30, 2009 9:39 am ] |
Post subject: | where the problem |
var varname :int := Pic.FileNew ("bmpmap.bmp") var mypic :int:= Pic.FileNew ("H:\turing\headforturing") var go : string (1) const SCREEN_DLY : int := 1000 %%% 500 ms screen delay const DRAW_DLY : int := 250 %%% 50 ms Pic.Draw (mypic, maxx div 2, maxy div 2, 0) delay (2000) cls Pic.Free (mypic) |
Author: | DemonWasp [ Wed Sep 30, 2009 9:43 am ] |
Post subject: | RE:where the problem |
Generally it's a good idea to at least describe what kind of problem you're having, what you expected it to do, or at least provide the error message. Additionally, you should use [ syntax = " Turing " ] code goes here [ / syntax ] without the spaces to mark your code correctly. At a guess I'd say that you didn't mean to have those question marks after the filenames in your Pic.FileNew calls. |
Author: | alster99 [ Wed Sep 30, 2009 9:48 am ] |
Post subject: | Re: where the problem |
it won't load the screen bg i put there and i got the file coccert but it won't use the file name. for turing |
Author: | DtY [ Wed Sep 30, 2009 3:03 pm ] |
Post subject: | RE:where the problem |
You draw the image, wait for a half second (500ms), then clear the screen. What you should be seeing is a blank screen. Or are you getting an exception? |
Author: | alster99 [ Wed Sep 30, 2009 3:06 pm ] |
Post subject: | Re: where the problem |
If i change it up the screen go blank |