3.3.2.44 OGSFileName.SectionName

This is an outdated way to run scripts and it SHOULD NOT BE USED. To run script files or portions of script files, use the run object.

Execute a LabTalk section in a script file (.OGS) which is located in the current working directory. It can take up to five arguments. (The current working directory can be changed by cd X-Function command.)

Syntax:

OGSFileName.SectionName [arg1 arg2 ... arg5]

Examples:

The following example runs [MySection] section in MyScripts.OGS in the current directory with two arguments, aa and bb that are passed to the script as strings and received as %1 and %2:

MyScripts.MySection aa bb;

See Also:

OGSFileName (command), Run (object)

Run (command)