GetVariablesForClass 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">Displays a list of the names (not values) of the variable member...")
 
No edit summary
 
(One intermediate revision by the same user not shown)
Line 2: Line 2:


{|
{|
|width="50%"| '''Action:'''
|width="125px"| '''Action:'''
|width="50%"|
|width="575px"|
<span class="f_Para">[[displaying_class_variables.html|Displays]] a list of the names (not values) of the variable members in the system or user class that is specified as the command argument. </span>
<span class="f_Para">[[Displaying all Variables of an object's class|Displays]] a list of the names (not values) of the variable members in the system or user class that is specified as the command argument. </span>


<span class="f_Para">Similar to </span><span class="f_Monospace">[[expandobject_cmd.html|expandObject]]</span><span class="f_Para">, but does not scan the code for the values of a particular object instance. </span>
<span class="f_Para">Similar to </span><span class="f_Monospace">[[ExpandObject command|expandObject]]</span><span class="f_Para">, but does not scan the code for the values of a particular object instance. </span>


<span class="f_Para">For example: </span>
<span class="f_Para">For example: </span>
Line 14: Line 14:
<span class="f_Para">If the class in the command argument is not found, or if the class does not have member variables, you receive an error message. </span>
<span class="f_Para">If the class in the command argument is not found, or if the class does not have member variables, you receive an error message. </span>


<span class="f_Para">If issued by a macro, </span><span class="f_EmphItal">and</span><span class="f_Para"> the [[using_macro_console_cmdline.html#macro_console|Macro Console]] is open, then the value is displayed in the </span><span class="f_GUIlabel">Macro Console</span><span class="f_Para"> window. </span>
<span class="f_Para">If issued by a macro, </span>''and''<span class="f_Para"> the [[Using the console and command line#The Console|Macro Console]] is open, then the value is displayed in the </span><var>Macro Console</var><span class="f_Para"> window. </span>
|-
|-
| '''Client menu:'''
| '''Client menu:'''

Latest revision as of 21:23, 30 January 2023

Action:

Displays a list of the names (not values) of the variable members in the system or user class that is specified as the command argument.

Similar to expandObject, but does not scan the code for the values of a particular object instance.

For example:

getVariablesForClass cats 

If the class in the command argument is not found, or if the class does not have member variables, you receive an error message.

If issued by a macro, and the Macro Console is open, then the value is displayed in the Macro Console window.

Client menu: --
Introduced: Build 43