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

Username:   Password: 
 RegisterRegister   
 setscreen("title:")
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
guttface




PostPosted: Tue Mar 02, 2004 9:20 pm   Post subject: setscreen("title:")

when using setscreen("title:") or View.Set("title:") , is there a way to put a variable into the title? i'm making a game and was wondering if i could put the round number in the title. thanks
Sponsor
Sponsor
Sponsor
sponsor
shorthair




PostPosted: Tue Mar 02, 2004 9:23 pm   Post subject: (No subject)

that has nothing to do wiht hte setscreen commands or view dot set ,

your looking for the font.Draw command i would give you syntax but im short on time , if you f9 that keyword in turing , you the help file will tell you exactly how to use it
Catalyst




PostPosted: Tue Mar 02, 2004 9:26 pm   Post subject: (No subject)

For intergers
code:

View.Set ("title:"+intstr(roundNumberVar)+" the rest")
shorthair




PostPosted: Tue Mar 02, 2004 9:43 pm   Post subject: (No subject)

Catalyst , im not sure if i understand his question , does he not want to output a number on hte screen, would nt font do it really well and look nice
Catalyst




PostPosted: Tue Mar 02, 2004 9:48 pm   Post subject: (No subject)

to me it seems he says he wants to put a round number in the title of the window
jonos




PostPosted: Tue Mar 02, 2004 9:51 pm   Post subject: (No subject)

yeah, i think that's what he want. just put catalyst's in the loop you are using for the game (if you are using a loop)
recneps




PostPosted: Wed Mar 03, 2004 3:51 pm   Post subject: (No subject)

Yep What they said, and you can do it with setscreen too cant you?
guttface




PostPosted: Wed Mar 03, 2004 4:02 pm   Post subject: (No subject)

thanks. by the way i was trying to use setscreen to put a variable in the window title bar. sorry i wasnt clear enough.
Sponsor
Sponsor
Sponsor
sponsor
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  [ 8 Posts ]
Jump to:   


Style:  
Search: