Difference between revisions of "StrRes"

From Wiki
Jump to: navigation, search
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{header|result|rw|Holds the value from the last [[str]] statement executed.}}
+
{{header|result|rw|Holds the value from the last [[Str (command)]] statement executed.}}
  
 
==== Example ====
 
==== Example ====
Line 5: Line 5:
  
 
finditem *
 
finditem *
if #findKind <> -1
+
if #FINDCNT > 0
 
{
 
{
 
   event Property #findID
 
   event Property #findID
Line 14: Line 14:
  
 
</pre>
 
</pre>
{{footer}}
+
=See Also=
 +
{{result}}

Latest revision as of 09:13, 13 September 2007

Holds the value from the last Str (command) statement executed.

Example


finditem *
if #FINDCNT > 0
{
  event Property #findID
  str len #property
  display ok the length if the string in the property variable is , #spc , #strRes
}
halt

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