Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Discussion / variables to strings

Author
Message
Battleaxe
22
Years of Service
User Offline
Joined: 4th Jan 2003
Location:
Posted: 26th Feb 2003 19:36
Does anyone know if there is a way to convert integer variables into strings? ie. variable$=variable# doesn't seem to work.
- Battleaxe
Richard Davey
Retired Moderator
23
Years of Service
User Offline
Joined: 30th Apr 2002
Location: On the Jupiter Probe
Posted: 26th Feb 2003 19:43
variable$ = str$(v#)

Cheers,

Rich

"Gentlemen, we are about to short-circuit the Universe!"
DB Team / Atari ST / DarkForge / Retro Gaming
Battleaxe
22
Years of Service
User Offline
Joined: 4th Jan 2003
Location:
Posted: 26th Feb 2003 19:44
sorry, i'm thick - what does that mean?

- Battleaxe
Battleaxe
22
Years of Service
User Offline
Joined: 4th Jan 2003
Location:
Posted: 26th Feb 2003 19:45
no its cool, i gettit now, thanks alot!

- Battleaxe
Benjamin
22
Years of Service
User Offline
Joined: 24th Nov 2002
Location: France
Posted: 27th Feb 2003 03:18
nice one rich (i knew it anyway but nice one)

xxxpetratxxx
B. R. W

Login to post a reply

Server time is: 2025-05-15 22:48:03
Your offset time is: 2025-05-15 22:48:03