7.25 DEFINE
The DEFINE command is used to define a field for local use within a function, form, reusable part or WAM.
Also See
Required
DEFINE ------- FIELD -------- field name --------------------->
-----------------------------------------------------------------
Optional
>-- TYPE --------- *REFFLD ------------------------>
*DEC
*PACKED
*CHAR
*NVARCHAR
*STRING
*SIGNED
*BIN
*DATE
*TIME
*DATETIME
*INT
*FLOAT
*BOOLEAN
>-- LENGTH ------- *REFFLD ------------------------>
numeric value
incr/decr *PLUS
*MINUS
*NONE
# to incr/decr *NONE
numeric value
>-- DECIMALS ----- *REFFLD ------------------------>
numeric value
incr/decr *PLUS
*MINUS
*NONE
# to incr/decr *NONE
numeric value
>-- REFFLD ------- *NONE -------------------------->
name of reference field
>-- LABEL -------- *DEFAULT ----------------------->
label name
>-- DESC --------- *DEFAULT ----------------------->
text description
>-- COLHDG ------- *DEFAULT ----------------------->
column heading
| |
- 3 maximum -
>-- EDIT_CODE ---- *DEFAULT ----------------------->
edit code
>-- EDIT_WORD ---- *DEFAULT ----------------------->
edit word
>-- INPUT_ATR ---- *DEFAULT ----------------------->
input attributes
>-- OUTPUT_ATR --- *DEFAULT ----------------------->
output attributes
>-- DEFAULT ------ *DEFAULT ----------------------->
default value
>-- TO_OVERLAY --- *NONE -------------- 1 --------->
#field name start position
>-- SHIFT -------- *DEFAULT -----------------------|
keyboard shift