WRITE
Reference
Syntax
WRITE {[AT] [/][pos][(len|*|**)]} dobj
[LEFT-JUSTIFIED|CENTERED|RIGHT-JUSTIFIED]
[NO-GAP]
[UNDER other_dobj]
{ { [EXPONENT exp]
[NO-GROUPING]
[NO-SIGN]
[NO-ZERO]
[CURRENCY cur]
{ { [DECIMALS dec]
[ROUND scale] }
| [UNIT unit] } }
| [TIME ZONE tz] }
[USING {{NO EDIT MASK}|{EDIT MASK mask}}]
[DD/MM/YY|MM/DD/YY|DD/MM/YYYY|MM/DD/YYYY|DDMMYY|MMDDYY|YYMMDD]
[COLOR { { { { COL_BACKGROUND
| {1 | COL_HEADING }
| {2 | COL_NORMAL }
| {3 | COL_TOTAL }
| {4 | COL_KEY }
| {5 | COL_POSITIVE }
| {6 | COL_NEGATIVE }
| {7 | COL_GROUP } } [ON] }
| OFF}
| {= col} }]
[INTENSIFIED [ {ON|OFF} | {= flag} ]]
[INVERSE [ {ON|OFF} | {= flag} ]]
[HOTSPOT [ {ON|OFF} | {= flag} ]]
[INPUT [ {ON|OFF} | {= flag} ]]
[FRAMES [ {ON|OFF} | {= flag} ]]
[RESET]
{ [AS CHECKBOX]
| [AS ICON]
| [AS SYMBOL]
| [AS LINE] }
[QUICKINFO info].
Effect
Writes the content of the data object dobj to the current list.
Additions
-
[AT] [/][pos][(len|*|**)]
Specifies line feed /, horizontal position
pos, and lengthlen|*|** of the output.
-
LEFT-JUSTIFIED|CENTERED|RIGHT-JUSTIFIED
Defines whether the output will be aligned - within the current output length - left-justified, centered, or right-justified.
-
NO-GAP
Positions the
list cursor directly after the output and not into the position of the lift buffer after the next one.
-
UNDER other_dobj
Positions the output in the current list at the position where - in a previous
WRITE statement - the data object other_dobj was output.
-
EXPONENT exp
Defines
the exponent for output of data objects of the data type f.
-
NO-GROUPING
In
the output of data objects of the data types i or p, suppresses the separation character for thousands.
-
NO-SIGN
In
the output of data objects of the data types i,
p, or f, suppresses the plus/minus sign.
-
NO-ZERO
Replaces zeroes by blanks.
-
CURRENCY cur
Creates currency-dependent
decimal places for the output
of data objects of the data types i or
p through a currency key cur from the database table TCURX.
-
DECIMALS dec
Defines
the displayed decimal places for the output of data objects of the data types
i, p, or f as dec.
-
ROUND scale
Multiplies
the value of a data object of the data type p before output with 10**(-scale).
-
UNIT unit
Cuts
off decimal places that have the value 0 and are outside of the precise area of a measuring unit
unit from the database table T006 during output of data objects of the data type p.
-
TIME ZONE tz
Edits a
time stamp in relation to a time zone tz.
-
USING {{NO EDIT MASK}|{EDIT MASK mask}}
NO EDIT MASK - Switches off the execution of an assigned conversion routine.
EDIT MASK - Either calls a different conversion routine
mask or defines an editing mask mask.
-
DD/MM/YY|MM/DD/YY|DD/MM/YYYY|MM/DD/YYYY|DDMMYY|MMDDYY|YYMMDD
Has the effect of an editing mask for the output of data objects of the data type d.
-
COLOR,
INTENSIFIED, INVERSE,
HOTSPOT, INPUT, FRAMES, RESET
Same as statement FORMAT, but relating to the current output.
-
AS CHECKBOX
Specifies a single-digit checkbox ready for input.
-
AS ICON
Outputs
an icon if the appropriate internal representation is contained in dobj.
-
AS SYMBOL
Outputs
a symbol if the appropriate internal representation is contained in dobj.
-
AS LINE
Specifies
a line element if the appropriate internal representation is contained in dobj.
-
QUICKINFO info
Assigns a quick info to the output.