ExpandObject 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 in a </span><span class="f_GUIlabel">Value</span><span...")
 
No edit summary
Line 4: Line 4:
|width="50%"| '''Action:'''
|width="50%"| '''Action:'''
|width="50%"|
|width="50%"|
<span class="f_Para">[[displaying_class_variables.html|Displays]] in a </span><span class="f_GUIlabel">Value</span><span class="f_Para"> window a list of the class Variable names and values of its required object instance argument. Same as the </span><span class="f_GUIlabel">Expand Object</span><span class="f_Para"> context menu option for </span><span class="f_GUIlabel">Watch Window</span><span class="f_Para"> items.</span>
<span class="f_Para">[[Displaying all Variables of an object's class|Displays]] in a </span><var>Value</var><span class="f_Para"> window a list of the class Variable names and values of its required object instance argument. Same as the </span><var>Expand Object</var><span class="f_Para"> context menu option for </span><var>Watch Window</var><span class="f_Para"> items.</span>


<span class="f_Para">For example: </span>
<span class="f_Para">For example: </span>
Line 12: Line 12:
<span class="f_Para">If the command argument does not reference an object, or if the object does not have class variables, you receive an error message. </span>
<span class="f_Para">If the command argument does not reference an object, or if the object does not have class variables, you receive an error message. </span>


<span class="f_Para">If the [[using_macro_console_cmdline.html#macro_console|Macro Console]] is open, 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 the [[Using the console and command line#The Console|Macro Console]] is open, the value is displayed in the </span><var>Macro Console</var><span class="f_Para"> window. </span>
|-
|-
| '''Client menu:'''
| '''Client menu:'''

Revision as of 15:27, 29 November 2022

Action:

Displays in a Value window a list of the class Variable names and values of its required object instance argument. Same as the Expand Object context menu option for Watch Window items.

For example:

expandObject %scout 

If the command argument does not reference an object, or if the object does not have class variables, you receive an error message.

If the Macro Console is open, the value is displayed in the Macro Console window.

Client menu: --
Introduced: Build 43