|
VADELIA |
SADELIA |
WADELIA |
MADELIA |
CLASS |
|
(I/B) (C/S) |
(B) (S) |
(I/B) (C/S) |
(I) (C/S) |
(B) (C) |
Section for use
DECLARATION
Syntax
ALPHA(Length) VarOrArray
Description
Declaration of an alphanumeric variable or array, named VarOrArray , of length Length .
The length must range from 1 to 8386552.
The length can also be indicated:
- in kilobytes (* 1024) by adding the suffix "K" to the value (up to 8189K), or
- in megabytes (* 1048576) by adding the suffix "M" to the value (up to 7M).
Example
ALPHA(5) EmployeeId |
|
ALPHA(6) A1(8) |
/* Declaration of an array with 8 positions |
|
/*Alpha 6 long |
|
|
ALPHA(100K) |
/* Declaration of a variable 102400 long |
ALPHA(1M) |
/* Declaration of a variable 1048576 long |
|