Visara Master Console Center Scripting Guide Manuel d'utilisateur Page 103

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 262
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 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
Vue de la page 102
1 2 ... 98 99 100 101 102 103 104 105 106 107 108 ... 261 262

Commentaires sur ces manuels

Pas de commentaire