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 basic examples
5 posts
• Page 1 of 1
Ruby basic examples
Here I put a scheme with small Ruby examples for beginners (like me...). You can add anything related.
Thanks to @Tulamide by his help.
Thanks to @Tulamide by his help.
- Attachments
-
- Ruby basics fs3081.fsm
- (2.92 KiB) Downloaded 837 times
-
gvalletto - Posts: 117
- Joined: Fri Jul 09, 2010 10:15 pm
- Location: Argentina
Re: Ruby basic examples
Thanks gvalletto ... this one worked for me.
This is a helpful idea for many of us not experienced doing programing often.
With my latest little project, I leaned more to using RUBY for particular functions needed.
With that, I spent most my time scanning several RUBY sites for syntax details ... particularly those that relate to
FS version of RUBY. I get stuck on some of the basics, but once I get going, it gets better.
What's amazing is how powerful RUBY brings to the design compared to assembling PRIMITIVEs.
Maybe I can pull some of my basic RUBY routines to add to this.
Thanks again.
This is a helpful idea for many of us not experienced doing programing often.
With my latest little project, I leaned more to using RUBY for particular functions needed.
With that, I spent most my time scanning several RUBY sites for syntax details ... particularly those that relate to
FS version of RUBY. I get stuck on some of the basics, but once I get going, it gets better.
What's amazing is how powerful RUBY brings to the design compared to assembling PRIMITIVEs.
Maybe I can pull some of my basic RUBY routines to add to this.
Thanks again.
- RJHollins
- Posts: 1571
- Joined: Thu Mar 08, 2012 7:58 pm
Re: Ruby basic examples
Your wellcome. Any collaboration of anybody will be good for all of us... Another benefit of those schemes is to bring ready library so no to have to type code from scratch, so it save work time.
Also gurus are wellcome
Also gurus are wellcome
-
gvalletto - Posts: 117
- Joined: Fri Jul 09, 2010 10:15 pm
- Location: Argentina
Re: Ruby basic examples
Here is some more Ruby code snippets, i didn't write them but im sure some of you could find these useful.
- Attachments
-
- Schematic1.fsm
- (2.89 KiB) Downloaded 831 times
- Nickateenbeats
- Posts: 37
- Joined: Tue Jul 24, 2018 11:32 pm
Re: Ruby basic examples
Hi again!
This is the Ruby Sample and Hold found in the User Guide of FS (page 143):
And this is a simplification that I made:
It works fine here... what do you think about? Any risk to use it?
This is the Ruby Sample and Hold found in the User Guide of FS (page 143):
And this is a simplification that I made:
It works fine here... what do you think about? Any risk to use it?
-
gvalletto - Posts: 117
- Joined: Fri Jul 09, 2010 10:15 pm
- Location: Argentina
5 posts
• Page 1 of 1
Who is online
Users browsing this forum: Google [Bot] and 58 guests