3.3.2.43 OGSFileName.SectionName

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:

GSFileName (command), Run (object)

Run (command)