# run

Executes the script s in the current session of the application. The script s either needs to contain the fully qualified path or must reside in the search paths for the current session of the application.

run('s')

## Inputs

s
Fully qualified script name or the script must reside in the search paths for the current session of the application.
Type: string

## Examples

Execute a script with the fully qualified path:
run('c:/testscripts/abs1.oml')
ans = 0.5
Execute a script which is in the search path of the current session of the application:
addpath('c:/testscripts')
run('abs1.oml')
ans = 0.5