Hi,
First post so hopefully it is in the right place.
I am used to PLC's and Microcontrollers in BASIC so this is a bit new to me.
I am just starting with the demo, I am trying to read a string in, I don't think I will have a problem there but then I need to split it into sections.
If I were using BASIC I would use something like Left$() or Mid$() to split the string but I cannot find anything similar in Flowcode.
Regards,
Bob
String manipulation
-
- Posts: 283
- http://meble-kuchenne.info.pl
- Joined: Sat Mar 19, 2022 4:53 pm
- Has thanked: 25 times
- Been thanked: 32 times
-
- Matrix Staff
- Posts: 1920
- Joined: Wed Dec 02, 2020 11:07 pm
- Has thanked: 622 times
- Been thanked: 645 times
Re: String manipulation
Hello.
Yes this is a good place for your question.
Take a look at this Wiki page
I would recommend Introduction to Microcontroller Programming for learning how to use Flowcode.
Yes this is a good place for your question.
Take a look at this Wiki page
I would recommend Introduction to Microcontroller Programming for learning how to use Flowcode.
Martin
-
- Matrix Staff
- Posts: 1920
- Joined: Wed Dec 02, 2020 11:07 pm
- Has thanked: 622 times
- Been thanked: 645 times
Re: String manipulation
That's great, thanks for letting us know.
If you want to find the string manipulation via flowcode help.
Double click on the calculation Command Icon. which will show the Properties.
Click on the ? bottom left.
Scroll down on the new window that opens.
Just below the Variable and Function Boxheading you will see a string function link.
There is also a mathematical function link as well.
Something that can catch beginners to Flowcode out.
If comparing variable values, don't use
use && for AND, || (pipe key next to Z on UK keyboards) for OR and ! for NOT
If you want to find the string manipulation via flowcode help.
Double click on the calculation Command Icon. which will show the Properties.
Click on the ? bottom left.
Scroll down on the new window that opens.
Just below the Variable and Function Boxheading you will see a string function link.
There is also a mathematical function link as well.
Something that can catch beginners to Flowcode out.
If comparing variable values, don't use
Code: Select all
AND OR NOT
Martin