July 20, 2011

{Lessons} Lesson Number Two: Let's learn about important words

Before we delve into the programming part, we first need to learn some important words in Ruby. These words will be mentioned a lot in the upcoming lessons so you will need to memorize them.
Method: Think of this as an agreed contract between you and Ruby- For example, if you use the print method you can display text onto the screen.




















Variable: Think of this as a box which you store data- numbers, text and such. You can always change a variable into another one. ex) If you type a = 1 and then type again a = 2 the variable a changes into a 2.






















Array: Think of this as a collection of variables.  An subscripted variable is a symbolic name for an array's element.


















These are the basic terms you need to know to program. If you know any more, please comment!
Sincerely yours, 
Admin

No comments:

Post a Comment

Free Website templatesFree Flash TemplatesRiad In FezFree joomla templatesSEO Web Design AgencyMusic Videos OnlineFree Wordpress Themes Templatesfreethemes4all.comFree Blog TemplatesLast NewsFree CMS TemplatesFree CSS TemplatesSoccer Videos OnlineFree Wordpress ThemesFree Web Templates