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

  • 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 118
Chapter 5 Script Commands
Scripting Guide 119
FREWIND
Syntax:
FREWIND( %FileNum)
Description:
Moves an open file’s current record pointer to the beginning of the file.
Action:
The current record pointer for the file represented by the file handle
FileNum is repositioned to the beginning of the file. The next
FREAD() command reads the first entry in the file.
Parameters:
%FileNum. Numeric expression. The file handle obtained from
FOPEN(). The file for which to move the current record pointer.
Returns:
N/A
Notes:
Same as FSEEK( %Handle, 0).
Example:
%Handle := FOPEN( $FileName)
//FREAD() commands to advance the current record pointer
//through the data
FREWIND( %Handle) // to read from the beginning again
See Also:
FCLOSE, FEXISTS, FOPEN, FREAD, FWRITE
Vue de la page 118
1 2 ... 114 115 116 117 118 119 120 121 122 123 124 ... 261 262

Commentaires sur ces manuels

Pas de commentaire