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

Username:   Password: 
 RegisterRegister   
 where the problem
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
alster99




PostPosted: 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)
Sponsor
Sponsor
Sponsor
sponsor
DemonWasp




PostPosted: 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.
alster99




PostPosted: 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
DtY




PostPosted: 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?
alster99




PostPosted: Wed Sep 30, 2009 3:06 pm   Post subject: Re: where the problem

If i change it up the screen go blank
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  [ 5 Posts ]
Jump to:   


Style:  
Search: