add_sys_vars

 

Description

This function adds one or more @ System Variables and their values to \User Files\SystemVariables.ogs and, simultaneously, adds the variable and its value to the Set System Variables dialog box. Multiple variables and values are separated using the pipe character ("|") - see Syntax.

This function must be used with run -oc.

Syntax

run -oc add_sys_vars var value;
run -oc add_sys_vars var1|var2 value1|value2;

Parameters

Return

Examples

EX1

run -oc add_sys_vars RCN 0;

EX2

string strVar = "RCN";
int nVal = 0;
string strLT;
strLT.Format("run -oc add_sys_vars %s %d", strVar, nVal);
LT_execute(strLT);

Remark

See Also

header to Include

origin.h

Reference