Hello
What good command char$?
char$
Moderator: Benj
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: char$
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.
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.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Re: char$
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
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
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: char$
Hello,
Not really sure what the problem is here but should it be like this instead?
string = "0123"
Not really sure what the problem is here but should it be like this instead?
string = "0123"
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel