scripts
Date Submitted: 04/04/2004 00:50:40
3.0 Variables
Scripts may contain variables. Variable names must begin with a letter or an underscore ('_'), and may contain any sequence of upper- or lower-case letters, digits, and underscores. You cannot use a reserved word as a variable name. For more information, see the list of reserved words at the end of this document.
You must declare variables before you use them. When you declare a variable, you must also define its type. A
Is this Essay helpful? Join now to read this particular paper
and access over 480,000 just like this GET BETTER GRADES
and access over 480,000 just like this GET BETTER GRADES
indicated by their position in the table.
The unary operators are:
Operator Type of Operation
- Unary minus
! One's complement
The binary operators are listed in the following table in their order of precedence. Operators with higher precedence are listed first:
Operators Type of Operation Type Restrictions
* / Multiplicative Integers
+ - Additive integers Strings (+ only)
< > <= >= Relational Integers
== != Equality Integers, strings, booleans
and Logical AND Booleans
or Logical OR Booleans
Examples:
count = 3 + 5 * 40
transmit "Hello" + " there"
delay 24 / (7 - 1)
Need a custom written paper? Let our professional writers save your time.