Set command: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 2: | Line 2: | ||
{| | {| | ||
|width=" | |width="125px"| '''Action:''' | ||
|width=" | |width="775px"| | ||
<span class="f_Para">Lets you create and initialize [[Working with macro variables|macro variables]]. Variable names begin with a single ampersand (&), and variable values include constants, User Language variables, fields, and $list elements, and other macro variables and [[Working with Client functions (Debugger)|functions]]. </span> | <span class="f_Para">Lets you create and initialize [[Working with macro variables|macro variables]]. Variable names begin with a single ampersand (&), and variable values include constants, User Language variables, fields, and $list elements, and other macro variables and [[Working with Client functions (Debugger)|functions]]. </span> | ||
'''Syntax:''' | '''Syntax:''' | ||
<p class="syntax">set &''target''= ''string''|[-]''n''|&''var''|%''xxx''|[[Watching global variables|g.xxx]]|[[ | <p class="syntax">set &''target''= ''string''|[-]''n''|&''var''|%''xxx''|[[Watching global variables|g.xxx]]|[[Watching global variables|g.'xxx']]|f.''xxx'' | ||
|$listcnt(''x'')|$listinf(''x,y'') </span> | |$listcnt(''x'')|$listinf(''x,y'') </span> | ||
|&&''function''[(''args'')] </span></p> | |&&''function''[(''args'')] </span></p> |
Latest revision as of 18:37, 9 February 2023
Action: |
Lets you create and initialize macro variables. Variable names begin with a single ampersand (&), and variable values include constants, User Language variables, fields, and $list elements, and other macro variables and functions. Syntax: set &target= string|[-]n|&var|%xxx|g.xxx|g.'xxx'|f.xxx |$listcnt(x)|$listinf(x,y) |&&function[(args)] where:
Note: To set a macro variable or macro function in a Client mapping command, you need to XML entity encode each ampersand (&). For example, to map the command set &foo = %i, you specify it like this: <mapping command="set &foo = %i" button="button14"/> |
Client menu: | -- |
Introduced: | Build 28 |