READ LINE - result

Syntax

... [LINE VALUE INTO wa]
    [FIELD VALUE dobj1 [INTO wa1] dobj2 [INTO wa2] ...].


Extras:

1. ... LINE VALUE INTO wa

2. ... FIELD VALUE dobj1 [INTO wa1] dobj2 [INTO wa2] ...

Effect

Specification of target fields for READ LINE.

Addition 1

... LINE VALUE INTO wa

Effect

The addition LINE VALUE assigns the formatted content of the complete list row in the list buffer to the data object wa.

Addition 2

... FIELD VALUE dobj1 [INTO wa1] dobj2 [INTO wa2] ...

Effect

The addition FIELD VALUE assigns the output areas
of single data objects dobj1 dobj2... which have been output to the list buffer to these data objects, or -if specified- to the data objects wa1 wa2 .... For wa resp. wa1 wa2 ..., character-type (before release 6.10 flat) data objects are expected. The list row resp. data objects dobj1 dobj2 ... are treated as if they had the data type c, so that closing blanks are not accepted.

With data objects dobj1 dobj2... that have been put out multiple times to a row, only the first one is read out. If a data object dobj1 dobj2 ... is not found at all, the specification is ignored.

If the output area of a data object is to be read which was addressed in the WRITE statement via a field symbol and there is no longer the same data object assigned to the field symbol, then the name of the data object and not the name of the field sysmbol must be specified.

Note

The content of the row resp. of single output areas is of character-type and prepared according to the rules for the WRITE-statement. At assignment, the usual conversion rules apply. This fact can lead to incompatibilities with the target fields dobj1 dobj2 ... resp. wa1 wa2 ... , especially if these are numeric and the output contains separators. Due to this, the usage of READ LINE is mainly recommended for analysis of fields ready-for-input, whereas for other analyses, you can save values type-related with HIDE.