If you have a problem or need to report a bug please email : support@dsprobotics.com
There are 3 sections to this support area:
DOWNLOADS: access to product manuals, support files and drivers
HELP & INFORMATION: tutorials and example files for learning or finding pre-made modules for your projects
USER FORUMS: meet with other users and exchange ideas, you can also get help and assistance here
NEW REGISTRATIONS - please contact us if you wish to register on the forum
Users are reminded of the forum rules they sign up to which prohibits any activity that violates any laws including posting material covered by copyright
array from text
4 posts
• Page 1 of 1
array from text
i have several lines of text, separated by end of line (enter) in flowstone text module.
can i turn each line to an array string value?
can i turn each line to an array string value?
-
aombk - Posts: 34
- Joined: Tue May 24, 2016 2:44 pm
- Location: athens, greece
Re: array from text
yes m8 you just attach your txt to the assign input on whichever array type you are using and read out the lines you want with a get at primitive
ive attached an example
ive attached an example
- Jay
- Posts: 276
- Joined: Tue Jul 13, 2010 5:42 pm
Re: array from text
oh thanks Jay, just saw your answer. (maybe this "Notify me when a reply is posted" should be on by default)
i solved it using this in ruby:
is any solution better than the other?
i solved it using this in ruby:
- Code: Select all
a = @text.split("\r\n")
output "array", a
is any solution better than the other?
-
aombk - Posts: 34
- Joined: Tue May 24, 2016 2:44 pm
- Location: athens, greece
Re: array from text
Under high load in ruby routines within schematic - ruby may shut down. Greens are more stable. Plus - if your schematic contains hunderts of ruby modules - the schematic may get slower in some aspects.
But I guess in your case - it's a matter of taste.
But I guess in your case - it's a matter of taste.
Need to take a break? I have something right for you.
Feel free to donate. Thank you for your contribution.
Feel free to donate. Thank you for your contribution.
- tester
- Posts: 1786
- Joined: Wed Jan 18, 2012 10:52 pm
- Location: Poland, internet
4 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 55 guests