When you use the STR$() command Qbasic automaticaly puts a space before (and after?) the number so, unless you want the space, use c$ = RTRIM$(LTRIM$(STR$(c)))
If a man says something in the forest and no woman hears it is he still wrong?
The space as qbasicking describes is reserved for the sign of the number. A space if it is positive or a "-" if it is negative. There is no space after the number.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.