next up previous contents index
Next: HEADER Up: LAS Language Internal Help Previous: FOLD   Contents   Index


GET

        LAS\GET [N [version]|FIRST|LAST|NEXT|PREVIOUS|ZERO]

    GET  copies  R into T, and loads the Observation number N in R. The cur-
    rent index initialized by FIND is first explored, then, if  needed,  the
    whole  input  file. If N is absent, the previous (last read) Observation
    is recovered.

    Instead of an observation number, several keywords can also be used:
      - FIRST:    the first Observation of the current index is loaded,
      - LAST:     the last Observation of the current index is loaded,
      - NEXT:     the next Observation in the current index is loaded,
      - PREVIOUS: the previous Observation in the current index is loaded,
      - ZERO:     the internal Observation counter is reset to  0,  so  that
                  next  GET  NEXT  will  get  the first observation. In this
                  unique case, R and T are not modified.


Gildas manager 2024-03-28