AppCtrlScript

MAY Computer

Help

GETVALSASCMDLINE

Applies to  

AppCtrlScript (Module: wmACScr1.dll)

Group  

Primary

See also  

SETVALS, GETVALSASSTRING

Returns a set of script variables as a single content string of the following style:

{<Variable>="<Value>" }

Chr(13) (carriage return) in values is replaced with Chr(142).
Chr(10) (line feed) in values is replaced with Chr(143).

Syntax

GETVALSASCMDLINE <VariableName>[, <Prefix>][, <StripPrefix>]
GETVARSASCMDLINE <VariableName>[, <Prefix>][, <StripPrefix>]

Part

Description

<VariableName> String containing one or more variable assignments in a style matching the explanations above.
<Prefix> Optional search prefix for variable names. If specified only variables where their names begin with <Prefix> are added to the resulting content string.
<StripPrefix> 1|0; Optional flag if searched prefix should be stripped for variables in result string. Default is 1. Prefix is only

 

Sample

;Assuming the following script variables have been set previously:
;  My_Title=Test
;  My_ID=123

GETVALSASCMDLINE Result, "My_"

;Result will be:
;  Title="Test" ID="123"