Macro: SET$FIELD$VALUE$HELP$2

Module location: FMAC line 8136 (view source)

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Command: SET_FIELD_VALUE fileNum fieldNum "TO" newValue; {"LENGTH" iLength {"OFFSET" iOffset {noTruncateFlag}}} Description: Sets the value of a field to newValue doing any type conversion necessary. Parameters: fileNum: The number used to open the file. fieldNum: The number of the field. newValue: The value to be put into the field. 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. noTruncateFlag: Flag which signifies whether existing data in the field following data that is edited will be truncated or not. By default, all old data following new data written is truncated. =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

    SET_LENGTH_OFFSET !2 !4