Visara Master Console Center Scripting Guide Instrukcja Użytkownika Strona 103

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 262
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 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
Przeglądanie stron 102
1 2 ... 98 99 100 101 102 103 104 105 106 107 108 ... 261 262

Komentarze do niniejszej Instrukcji

Brak uwag