Visara Master Console Center Scripting Guide User Manual
Page 237
![background image](https://www.manualsdir.com/files/808700/content/doc237.png)
Appendix B Command Syntax
Scripting Guide
237
File
Returns an open file’s current
record pointer position.
FPOS(%FileNum)==>%Position
File
Reads values from an open file
into variables.
FREAD(%FielNum,var1[,var2,…,[varn]…])==>%QtyRe
ad
File
Renames a file.
FRENAME($CurrentName,$NewName)==>%Success
File
Moves an open file’s current
record pointer to the beginning.
FREWIND(%FileNum)
File
Moves an open file’s current
record pointer to a byte offset.
FSEEK(%FileNum,%Position)==>%Success
File
Writes expression to an open file.
FWRITE(%FileNum,expre[,%NEWLINE])==>%Success
File
Enters a message in a log. LOG(%LogType,$Message[,%Status])
File
Creates a unique temporary
directory for I/O access.
MKDTEMP($Pattern)==>$DirectoryName
File
Opens a unique temporary file for
I/O access.
MKSTEMP($Pattern)==>%FileHandle
File
Returns a unique file name
MKTEMP($Pattern)==>$FileName
Flow
Control
Ends the execution of the script
thread.
END
Flow
Control
Executes a script whose name s
stored in a string expression.
EXEC($ScriptName[,Parm1,Parm1,…])==>ReturnValu
e