Scripting Additions Guide

CHAPTER 2
Scripting Addition Commands
Scripting Addition Files 7
Load Script Load Script Loads a compiled script into the current
script as a script object.
New File New File Allows a user to create a new file.
Numerics Random Number Generates a random number.
Round Rounds a number to the nearest integer.
Read/Write
Commands
Close Access Closes a file opened with Open
for Access.
Get EOF Returns the offset, in bytes, of the end
of a specified file from the beginning
of the file.
Open for Access Opens a file for reading or writing using
Read or Write commands.
Read Reads data from file previously opened
with Open for Access command, or
opens file for access, reads data, and
closes file.
Set EOF Sets the end of a specified file.
Write Writes data to file previously opened
with Open for Access command, or
opens file for access, writes data, and
closes file.
Run Script Run Script Runs a specified script.
Scripting Components Scripting Components Returns a list of the scripting
components currently available.
Store Script Store Script Stores a specified script object in a
specified file.
continued
Table 2-1 Scripting addition commands described in this guide (continued)
Name of
scripting addition file Name of command Description of command