num-var = SPF_REP(line-ptr, col-num, data-str)


Operands:

line-ptr

the line pointer of the data line to be modified.



col-num

the column number at which the data-str contents are to be replaced.



data-str

the replacement text string


Returns:


Both num-var and RC will be 0 and Msg$ will be "" (Null) for successful completion

Both num-var and RC will be 8 and Msg$ set to an error message on failure (e.g. invalid line pointer)


Special Notes:


Will replace text in line-ptr with data-str starting at the indicated column col-num. Other text in the line is unaffected. If needed, the line's text will be extended with blanks to col-num - 1 before data-str is copied in.


The replacement operation consists of replacing characters from data-str into the same relative location in the line's original text.


Created with the Personal Edition of HelpNDoc: Create help files for the Qt Help Framework