
-----------------------------------
guttface
Tue Mar 02, 2004 9:20 pm

setscreen(&quot;title:&quot;)
-----------------------------------
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

-----------------------------------
shorthair
Tue Mar 02, 2004 9:23 pm


-----------------------------------
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
Tue Mar 02, 2004 9:26 pm


-----------------------------------
For intergers

View.Set ("title:"+intstr(roundNumberVar)+" the rest")


-----------------------------------
shorthair
Tue Mar 02, 2004 9:43 pm


-----------------------------------
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
Tue Mar 02, 2004 9:48 pm


-----------------------------------
to me it seems he says he wants to put a round number in the title of the window

-----------------------------------
jonos
Tue Mar 02, 2004 9:51 pm


-----------------------------------
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
Wed Mar 03, 2004 3:51 pm


-----------------------------------
Yep What they said, and you can do it with setscreen too cant you?

-----------------------------------
guttface
Wed Mar 03, 2004 4:02 pm


-----------------------------------
thanks. by the way i was trying to use setscreen to put a variable in the window title bar. sorry i wasnt clear enough.
