Difference between revisions of "Result"

From Wiki
Jump to: navigation, search
 
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
__NOTOC__
+
{{header|result|rw|holds the value from the last [[return]] statement executed.}}
== #tileType ==
+
'''Result System Variables'''
+
=== Description ===
+
{{rw}}
+
 
+
holds the value from the last [[return]] statement executed.
+
  
 
==== Example ====
 
==== Example ====
Line 20: Line 14:
  
 
</pre>
 
</pre>
==== See Also ====
+
== Related Commands ==
{|
+
{| style="background:gainsboro; color:black; border: 2px #aaa solid;"
| Width=200px | [[result]]
+
| Width=250px align=center | [[Return]]  
|}
+
----
+
{|
+
| Width=200px | [[Main_Page]] || Width=200px | [[Documentation]] || Width=200px | [[Documentation#Result|Result System Variables]]
+
 
|}
 
|}
 +
=See Also=
 +
{{result}}

Latest revision as of 10:13, 13 September 2007

holds the value from the last return statement executed.

Example


gosub xor 1875 618 
display #result 
halt 
 
sub xor
{ 
  return %1 && ! %2 || ! %1 && %2 
}

Related Commands

Return

See Also

Result

  • Result variables hold values that are the direct by-product of actions taken by commands in a script. The exact details of what they contain is determined by the command and variable.
#menuButton Returns the name of the last clicked menu Button
#menuRes Returns the result of the last menu Get or menu GetNum command
#sendHeader Holds HTTP header information for the send command
#strRes Returns the result of the last str command
#property Returns the result of the last event Property command
#result Returns the result of the last return command
#opts Determines which EasyUO configuration options are active
#lpc Determines the number of lines that are executed per cycle