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
Combination Circuits/Schematics
Re: Combination Circuits/Schematics
CONVERT NUMBER "N" TO THE BASE "A" TO A DECIMAL NUMBER BASE (10) - RUBY
Examples included in the Comment attached to the Schematic.
Examples included in the Comment attached to the Schematic.
- Attachments
-
- Convert Number - n to the Base - a to a Decimal Number Base 10 - Ruby.fsm
- (1.45 KiB) Downloaded 972 times
-
tiffy - Posts: 400
- Joined: Wed May 08, 2013 12:14 pm
Re: Combination Circuits/Schematics
Thanks Tiffy !
- RJHollins
- Posts: 1571
- Joined: Thu Mar 08, 2012 7:58 pm
Re: Combination Circuits/Schematics
Hi Tiffy,
Another nice one, keep them coming.
Cheers, BobF.....
Another nice one, keep them coming.
Cheers, BobF.....
- BobF
- Posts: 598
- Joined: Mon Apr 20, 2015 9:54 pm
Re: Combination Circuits/Schematics
OBJECT ORIENTED PROGRAMMING (OOP) IN THE RUBY LANGUAGE.
This Anatomy in *.pdf format of how Objects and Methods works, together with the attached DSP Flowstone Ruby Examples 1 through 21, provided me with a better understanding of Object Oriented Programming (OOP) in the Ruby language and I thought that I should share this since maybe it could help other newcomers to OOP as well. This does not cover everything on Objects, Methods, or Classes but it gave me a solid starting point.
I have updated this document so it now contains 20 typed pages and 21 tested Examples that works in Flowstone. I have also corrected some typo's, coloured the headings and added some short notes of value to the original as well.
The document is not yet completed to that point where I would say stop, but I am giving it out in the meantime as it could take some time to get to that point where I say halt...I think I will stop the lorry with Ruby Classes.
Also read tulamide's written documents on the Guru website as mine is only meant for an absolute Flowstone Ruby noob like myself...still learning.
This Anatomy in *.pdf format of how Objects and Methods works, together with the attached DSP Flowstone Ruby Examples 1 through 21, provided me with a better understanding of Object Oriented Programming (OOP) in the Ruby language and I thought that I should share this since maybe it could help other newcomers to OOP as well. This does not cover everything on Objects, Methods, or Classes but it gave me a solid starting point.
I have updated this document so it now contains 20 typed pages and 21 tested Examples that works in Flowstone. I have also corrected some typo's, coloured the headings and added some short notes of value to the original as well.
The document is not yet completed to that point where I would say stop, but I am giving it out in the meantime as it could take some time to get to that point where I say halt...I think I will stop the lorry with Ruby Classes.
Also read tulamide's written documents on the Guru website as mine is only meant for an absolute Flowstone Ruby noob like myself...still learning.
- Attachments
-
- OBJECT ORIENTED PROGRAMMING (OOP) in RUBY v1.2.rar
- Updated and Corrected version 1.2 - with 21-Ruby Examples that works in Flowstone.
- (368.67 KiB) Downloaded 974 times
Last edited by tiffy on Tue Aug 15, 2017 9:29 pm, edited 3 times in total.
-
tiffy - Posts: 400
- Joined: Wed May 08, 2013 12:14 pm
Re: Combination Circuits/Schematics
Thanks for the OOP sharing.
It's presented in an easy to follow way [for those of us with no formal].
Thanks
It's presented in an easy to follow way [for those of us with no formal].
Thanks
- RJHollins
- Posts: 1571
- Joined: Thu Mar 08, 2012 7:58 pm
Re: Combination Circuits/Schematics
This looks SO good Tiffy!
Thank you very much for doing this for us.
Spogg
Thank you very much for doing this for us.
Spogg
-
Spogg - Posts: 3358
- Joined: Thu Nov 20, 2014 4:24 pm
- Location: Birmingham, England
Re: Combination Circuits/Schematics
Tiffy, in your pdf you encourage other Rubyists to improve or add. So I do.
While you are right in your descriptions, the resulting code is considered bad writing. On-the-fly creation should be an exception for certain specific cases. In all other cases there's a better style. Objects are classes. You can use them as synonyms. In fact, 'Object' in Ruby is the root class, where all other classes derive from.
I made a three part series, called "Ruby Stripped" a few years ago on Flowstone Guru. It introduces the terms object, class, method, etc. It also provides graphics of applications within Flowstone, and fsm-files. Maybe it helps getting a better view over the concept of class creation/management?
Ruby Stripped, Part 1: Introduction to classes
Ruby Stripped, Part 2: Objects
Ruby Stripped, Part 3: Arrays
While you are right in your descriptions, the resulting code is considered bad writing. On-the-fly creation should be an exception for certain specific cases. In all other cases there's a better style. Objects are classes. You can use them as synonyms. In fact, 'Object' in Ruby is the root class, where all other classes derive from.
I made a three part series, called "Ruby Stripped" a few years ago on Flowstone Guru. It introduces the terms object, class, method, etc. It also provides graphics of applications within Flowstone, and fsm-files. Maybe it helps getting a better view over the concept of class creation/management?
Ruby Stripped, Part 1: Introduction to classes
Ruby Stripped, Part 2: Objects
Ruby Stripped, Part 3: Arrays
"There lies the dog buried" (German saying translated literally)
- tulamide
- Posts: 2714
- Joined: Sat Jun 21, 2014 2:48 pm
- Location: Germany
Re: Combination Circuits/Schematics
tulamide, thank you for all this info on Ruby. Much appreciated.
Ruby Stripped, Part 1: Introduction to classes
Ruby Stripped, Part 2: Objects
Ruby Stripped, Part 3: Arrays
Ruby Stripped, Part 1: Introduction to classes
Ruby Stripped, Part 2: Objects
Ruby Stripped, Part 3: Arrays
-
tiffy - Posts: 400
- Joined: Wed May 08, 2013 12:14 pm
Re: Combination Circuits/Schematics
You're welcome
"There lies the dog buried" (German saying translated literally)
- tulamide
- Posts: 2714
- Joined: Sat Jun 21, 2014 2:48 pm
- Location: Germany
Who is online
Users browsing this forum: Google [Bot] and 63 guests