Login
Search for:


Previous | Next

From: SVS (all posts)
Date: 1999-06-23
Subject: R: a=val(b$)
Ciao Miv

> I have a problem. I'll try to explain it in this example:
> The value of variable A is 1234 (a=1234). I'd like to convert & put this value
> in B$ string variable (b$="1234"). Is there an already definied command that
> will do this conversion?

If you are using Plus4 BASIC 3.5 you should try:

B$=str$(a)

By this command b$ will result " 1234". Before the "1" there will be a space in place of the sign "+". If number is negative, the space is replaced by the sign
"-".
OK?

Bye

SVS /FIRE Italy

Copyright © Plus/4 World Team, 2001-2024