SetM204Data command: Difference between revisions

From m204wiki
Jump to navigation Jump to search
(Created page with "__TOC__ {| |width="50%"| '''Action:''' |width="50%"| <span class="f_Para">Lets you set a SOUL</span><span class="f_Product"> 204</span><span class="f_Para"> %variable or glob...")
 
No edit summary
Line 4: Line 4:
|width="50%"| '''Action:'''
|width="50%"| '''Action:'''
|width="50%"|
|width="50%"|
<span class="f_Para">Lets you set a SOUL</span><span class="f_Product"> 204</span><span class="f_Para"> %variable or global variable as if you right clicked a </span><span class="f_GUIlabel">Watch Window</span><span class="f_Para"> item and selected </span><span class="f_GUIlabel">[[set_variable_value.html|Change Value]]</span><span class="f_Para">. The behavior and restrictions for this command are the same as the </span><span class="f_GUIlabel">Change Value</span><span class="f_Para"> option. </span>
<span class="f_Para">Lets you set a SOUL</span><var> 204</var><span class="f_Para"> %variable or global variable as if you right clicked a </span><var>Watch Window</var><span class="f_Para"> item and selected </span><var>[[Setting the value of a variable|Change Value]]</var><span class="f_Para">. The behavior and restrictions for this command are the same as the </span><var>Change Value</var><span class="f_Para"> option. </span>


'''Syntax:'''  
'''Syntax:'''  


<p class="syntax">setM204Data %xxx|[[watch_global_variables.html|g.xxx]]|[[watch_global_variables.html|g.'xxx']]
<p class="syntax">setM204Data %xxx|[[Watching global variables|g.xxx]]|[[Watching global variables|g.'xxx']]
     = &quot;string&quot;|[-]nnn|&amp;var|&amp;&amp;function[(args)]</p>
     = &quot;string&quot;|[-]nnn|&amp;var|&amp;&amp;function[(args)]</p>


Line 15: Line 15:
*''%xxx'' is a User Language variable.  
*''%xxx'' is a User Language variable.  


*g.''xxx'' or g.'xxx' is a [[watch_global_variables.html|global variable reference]].
*g.''xxx'' or g.'xxx' is a [[Watching global variables|global variable reference]].


*''string'' is a quoted string constant (double-quotes or single quotes are valid).  
*''string'' is a quoted string constant (double-quotes or single quotes are valid).  

Revision as of 23:15, 9 December 2022

Action:

Lets you set a SOUL 204 %variable or global variable as if you right clicked a Watch Window item and selected Change Value. The behavior and restrictions for this command are the same as the Change Value option.

Syntax:

setM204Data %xxx|g.xxx|g.'xxx' = "string"|[-]nnn|&var|&&function[(args)]

where:

  • %xxx is a User Language variable.
  • string is a quoted string constant (double-quotes or single quotes are valid).
  • [-]nnn is an integer constant with an optional leading minus sign.
  • &var is a previously defined macro variable.
  • &&function is a macro function.

Note: This command may only be issued while a request is being evaluated.

Client menu: --
Introduced: Build 50