Macro: GET$FIELD$VALUE$HELP

Module location: FMAC line 8085 (view source)

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Command: GET_FIELD_VALUE fileNum fieldNum "TO" destVariable; {"LENGTH" iLength {"OFFSET" iOffset}} Description: Gets the value of a field into the destVariable doing any type conversion necessary. Parameters: fileNum: The number used to open the file. fieldNum: The number of the field. destVariable: Where the fields value will be put. iLength: The length of the data to be used. By default, all data (or as much as can be) is written into the field. A length of 0 causes all data to be written. iOffset: The first byte in the field where data will be written, from 0. Default is that data will be written into the field starting at byte 0. =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

  SET_FILE_FIELD !1 !2
  SET_LENGTH_OFFSET !6 !8
  !A [] $510 !4