Visara Master Console Center Scripting Guide Manual de usuario Pagina 119

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 262
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 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
Vista de pagina 118
1 2 ... 114 115 116 117 118 119 120 121 122 123 124 ... 261 262

Comentarios a estos manuales

Sin comentarios