VAR

Top  Previous  Next

Keyword Description

Declare a User-named variable

Class

Directive

Where Legal

Resources

Entry Logic

Exit Logic

Initial Size

Resize

(Pre-Category)

Resize

(Category-Level)

l

l

l

l

l

 

Syntax

VAR

 

Example

Sample code

VAR = DAILY_MIDPOINT

COL1 = HIGH

COL2 = LOW

DAILY_MIDPOINT = (COL1 - COL2) / 2

 

ThumbTack white

Having meaningful variable names makes code more readable. User-named variables provide storage for numerical values.

Once a user-named VAR is declared in SIG code, it is legal and accessible from SIG code page. Once a user-named VAR is declared in SIZ code, it is legal and accessible from Initial  Size page and pre-Category on the Resize page.

See also:

User-named variables (discussion)