AppCtrlScript

MAY Computer

Help

SETVALS

Applies to  

AppCtrlScript (Module: wmACScr1.dll)

Group  

Primary

See also  

SETVAL, GETVALSASSTRING, GETVALSASCMDLINE

Sets multiple script variables according to the given content string. The content string can be of the following styles:

Variables are always script global and NOT local for the subroutine.

Syntax

SETVALS <ContentString>[, <Prefix>]
SETVARS <ContentString>[, <Prefix>]

Part

Description

<ContentString> String containing one or more variable assignments in a style matching the explanations above.
<Prefix> Optional prefix for all variables added from content string.

 

Sample

SETVALS "Title=""Test"" ID=123", "My_"
;Will
set the following script variables:
;  My_Title=Test
;  My_ID=123