Login
Search for:


Previous | Next

From: TM (all posts)
Date: 1999-06-24
Subject: Re: R: a=val(b$)
On Wed, 23 Jun 1999, Valentino wrote:

> 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
> "-".

If you want to get rid of this space then... mid$ can help you pretty much just take the lenght of string with len(b$) and so on... sorry... yesterday was a BIG party... and i have currently a problem with thinking. If you didn't catch the idea, then i can explain it sometimes later...

TM.

Copyright © Plus/4 World Team, 2001-2024