how to avoid error

For general discussion related FlowStone
Post Reply
tester
Posts: 1786
Joined: Wed Jan 18, 2012 10:52 pm
Location: Poland, internet

how to avoid error

Post by tester »

How to avoid error in this little fellow if two arrays are of different size? Different method? I don't know - either nil or trim larger array to smapler one? I'm having a dejavu that I asked these questions before, but can't find it.
Attachments
adding arrays.fsm
(412 Bytes) Downloaded 819 times
Need to take a break? I have something right for you.
Feel free to donate. Thank you for your contribution.
User avatar
Nubeat7
Posts: 1347
Joined: Sat Apr 14, 2012 9:59 am
Location: Vienna
Contact:

Re: how to avoid error

Post by Nubeat7 »

viewtopic.php?f=2&t=1787&start=20

you can use trogs fix arraysize methode for this or?
RJHollins
Posts: 1573
Joined: Thu Mar 08, 2012 7:58 pm

Re: how to avoid error

Post by RJHollins »

Thanks for reposting that thread, NuBeat.

I could read it a hundred times as I try to pound this knowledge in.

Also ....

If TROG ever wrote a FS/Ruby handbook ... it would be a 'Best Seller' !!!
8-)
tester
Posts: 1786
Joined: Wed Jan 18, 2012 10:52 pm
Location: Poland, internet

Re: how to avoid error

Post by tester »

Thanks for reminder.
I knew there was some talk on that before. :-)

A toolbox with all these small ruby goodies would be useful.
It would be also useful due to providing general ideas on what can be done in various situations.
Need to take a break? I have something right for you.
Feel free to donate. Thank you for your contribution.
Post Reply