Support

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

Ruby.Array.Problem.(Solved)

For general discussion related FlowStone

Ruby.Array.Problem.(Solved)

Postby Parki » Sun Mar 08, 2015 10:58 am

Look to the file.
Attachments
Ruby.Array.Problem..fsm
(1.22 KiB) Downloaded 743 times
Last edited by Parki on Tue Mar 10, 2015 2:47 pm, edited 1 time in total.
I hope my english was understeandable.
Skype id - parkidesu
User avatar
Parki
 
Posts: 20
Joined: Fri Feb 27, 2015 11:12 am

Re: Ruby.Array.Problem.

Postby Nubeat7 » Sun Mar 08, 2015 11:31 am

User avatar
Nubeat7
 
Posts: 1347
Joined: Sat Apr 14, 2012 9:59 am
Location: Vienna

Re: Ruby.Array.Problem.

Postby Parki » Sun Mar 08, 2015 1:46 pm

I won't be rude but...
Any work code which add an array to array?
I hope my english was understeandable.
Skype id - parkidesu
User avatar
Parki
 
Posts: 20
Joined: Fri Feb 27, 2015 11:12 am

Re: Ruby.Array.Problem.

Postby Nubeat7 » Sun Mar 08, 2015 10:33 pm

you can find all you can do with arrays in the link above
http://ruby-doc.org/core-2.2.0/Array.html#method-i-2B

to add an array to another just "add" them,
so if you want to add arrayB to arrayA:

arrayA = arrayA + arrayB

or shorter

arrayA += arrayB
User avatar
Nubeat7
 
Posts: 1347
Joined: Sat Apr 14, 2012 9:59 am
Location: Vienna

Re: Ruby.Array.Problem.

Postby tulamide » Tue Mar 10, 2015 1:35 am

Nubeat7 wrote:http://ruby-doc.org/core-2.2.0/Array.html#method-i-2B

I propose to link to core 1.9.3 instead, because that's what Flowstone uses. It has no influence on this particular question, since nothing has changed for arrays. But this might not always be the case. :)
"There lies the dog buried" (German saying translated literally)
tulamide
 
Posts: 2714
Joined: Sat Jun 21, 2014 2:48 pm
Location: Germany

Re: Ruby.Array.Problem.

Postby Parki » Tue Mar 10, 2015 12:13 pm

I almost pray for it would be last.
Attachments
5.fsm
(1.19 KiB) Downloaded 731 times
I hope my english was understeandable.
Skype id - parkidesu
User avatar
Parki
 
Posts: 20
Joined: Fri Feb 27, 2015 11:12 am

Re: Ruby.Array.Problem.

Postby TheOm » Tue Mar 10, 2015 12:47 pm

Take a look at this:
5.fsm
(1.3 KiB) Downloaded 735 times
TheOm
 
Posts: 103
Joined: Tue Jan 28, 2014 7:35 pm
Location: Germany

Re: Ruby.Array.Problem.

Postby Parki » Tue Mar 10, 2015 2:46 pm

Thank you guys for your help me with my idiotic problems with syntax.
I hope my english was understeandable.
Skype id - parkidesu
User avatar
Parki
 
Posts: 20
Joined: Fri Feb 27, 2015 11:12 am


Return to General

Who is online

Users browsing this forum: No registered users and 58 guests