char$

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 4.
To post in this forum you must have a registered copy of Flowcode 4 or higher. To sign up for this forum topic please use the "Online Resources" link in the Flowcode Help Menu.

Moderator: Benj

Post Reply
brunoflow
Posts: 24
Joined: Mon Dec 19, 2011 4:24 pm
Been thanked: 1 time

char$

Post by brunoflow »

Hello
What good command char$?

User avatar
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$

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

brunoflow
Posts: 24
Joined: Mon Dec 19, 2011 4:24 pm
Been thanked: 1 time

Re: char$

Post 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

User avatar
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$

Post by Benj »

Hello,

Not really sure what the problem is here but should it be like this instead?

string = "0123"

Post Reply