Qbasicnews.com

Full Version: Convert Integer to Stream
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
How can I convert an integer variable to a stream?
what's a stream?

if you mean "string", here: http://qbasicnews.com/qboho/qckstr$.shtml
im sorry string, yes Wink
no problem, then str$ oughta help

x = 9
a$ = str$(x + 1)

a$ should read:
" 10"

ltrim should get rid of the space in front.

a$ = ltrim$(str$(x + 1))