3.2 Variable name
Variable names may be as long as the user wants, but only the rst 24 characters are taken into
account in Scilab. For consistency, we should consider only variable names which are not made
of more than 24 characters. All ASCII letters from "a" to "z", from "A" to "Z" and from "0" to
"9" are allowed, with the additional letters "%", " ", "#", "!", "$", "?". Notice though that variable
names which rst letter is "%" have a special meaning in Scilab, as we will see in section 3.5,
which presents the mathematical pre-dened variables.
Scilab is case sensitive, which means that upper and lower case letters are considered to be
dierent by Scilab. In the following script, we dene the two variables A and a and check that
these two variables are considered to be dierent by Scilab.
-->A = 2
A =
2.
-->a = 1
a =
1.
-->A
A =
2.
-->a
a =
1.
===================
MY COMMENT
in the languages I am familiar with BASIC, VBS (ms excel 2003) variables need to be declared as to TYPE (single precision , double, text, integer)
to make it easier to work with SET A STARTING VALUE FOR EACH VARIABLE