forums | blogs | polls | tutorials | downloads | rules | help

Error message

Deprecated function: The each() function is deprecated. This message will be suppressed on further calls in remember_me_form_alter() (line 78 of /var/www/siegetheday.org/sites/all/modules/contrib/remember_me/remember_me.module).

Explanation Of Variables

Ok , i used to get alot of people saying to me , what are variables what do they do? so i decided this explanation worked best.

the best way to think of memory on a computer is as a set of storage bins. when you write a computer program you reserve some storage bins, and you give each storage bin a name, you also say which type of thing can go into the storage bin, the c++ term for such a storage bin is a variable

Side Note : Variables can only hold one thing at a time

Just like normal storage bins you arent allowed to put two different types of things into it , for example in real life , you arent allowed to put plastic in a glass storage bin.

The Types of Data you can put in a variable :

1. String - Simply just a bunch of letters,numbers and symbols strung together, e.g. a1£

2. Integers - Positive whole numbers, negative whole numbers, and 0.

3. Floating Points Numbers - Numbers with a decimal place e.g. 6.12

Side Note : An Easy way to remember FPN ( floating points numbers ) is that remember the points means decimal point.

End Notes : hope this helped someone out there lol ill soon add to this and show you how to put all the types of data into variables and how to use them.