Macro: API_ZEROFILE

Module location: FMAC line 8510 (view source)

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Command: ZEROFILE {fileNum|logicalName} Description: Erases all data within the file. Parameters: logicalName: The name used to identify the file in a DataFlex program. fileNum: The number used to open the file. =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= see Old_open command for notes on this removal #COMMAND OLD_ZEROFILE $RT . #IFDEF !1.RECNUM #SET Q$ !1.RECNUM !A [] $308 |CI!q #ELSE #CHECK !1 _SG#L !A [] $308 !1 #ENDIF #ENDCOMMAND

  VARIABLE_FILE_COMMAND $308 !1