Page 1 of 1
char$
Posted: Fri Jan 20, 2012 10:15 pm
by brunoflow
Hello
What good command char$?
Re: char$
Posted: Mon Jan 23, 2012 11:51 am
by Benj
Hello,
Basically this pulls out a byte from the string.
i.e.
String = "Hello World"
Byte = char$(String, 3)
or
Byte = String[3]
Byte equals 'l'
These functions are all fully detailed in the help file.
Re: char$
Posted: Mon Jan 23, 2012 6:30 pm
by brunoflow
thank you
More where this command help explaining the non-spotted char $ pos toString found the others if you can help me.
Only one question when I create
cont = byte
cont2 = byte
number string
and do the command
as
string = "0,1,2,3"
count = count + 1
cont2 = char (number, count)
and try to connect the led by 7segm I can not get ported number in the string?
thanks for the help
Re: char$
Posted: Tue Jan 24, 2012 12:31 pm
by Benj
Hello,
Not really sure what the problem is here but should it be like this instead?
string = "0123"