Visara Master Console Center Scripting Guide Manual de usuario Pagina 103

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 262
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de 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
Vista de pagina 102
1 2 ... 98 99 100 101 102 103 104 105 106 107 108 ... 261 262

Comentarios a estos manuales

Sin comentarios