Visara Master Console Center Scripting Guide Manuale Utente Pagina 103

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 262
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 102
Chapter 5 Script Commands
Scripting Guide 103
FCLOSE
Syntax:
FCLOSE( %FileNum)
Description:
Closes an open file.
Action:
Closes a file opened with FOPEN().
Parameters:
%FileNum. Numeric expression. The file handle obtained from
FOPEN(). The file to close.
Returns:
Numeric value. 0 (zero) when the file is successfully closed. This maps
to manifest ERR_NONE.
Notes:
If FCLOSE is passed a bad file handle, an execution-time error is
generated.
Example:
%Handle := FOPEN( “SYS5”, OVERWRITE)
// ... file processing commands
FCLOSE( %Handle)
See Also:
FDELETE, FEXISTS, FOPEN, FREAD, FRENAME, FREWIND,
FWRITE
Vedere la pagina 102
1 2 ... 98 99 100 101 102 103 104 105 106 107 108 ... 261 262

Commenti su questo manuale

Nessun commento