News:

PlayBASIC2DLL V0.99 Revision I Commercial Edition released! - Convert PlayBASIC programs to super fast Machine Code. 

Main Menu

What is the syntax to convert integer to string?

Started by eatfishy, May 31, 2008, 09:02:34 AM

Previous topic - Next topic

eatfishy

What is the syntax to convert integer to string?

kevin

#1
 str$().. did you look in the help under strings ?



PlayBASIC Code: [Select]
   Score=1234

print "Score:"+str$(Score)
print "Score:"+Digits$(Score,8)

sync
waitkey




Also see:

  -->  PlayBASIC Documentation on STR$()
  -->  PlayBASIC Built In String Functions



eatfishy

No. I actually did a search in the help file on "convert" and also check all the core command out (because in DarkBasic it was under the core section) Thanks for the fast reponse.