User Tools

Site Tools


crpl:docs:eq

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
crpl:docs:eq [2014/06/25 23:40] – Tip for comparing variable to string stewbasiccrpl:docs:eq [2025/02/14 14:57] (current) – external edit 127.0.0.1
Line 1: Line 1:
-~~DISCUSSION~~+
 <- [[crpl:crplreference| CRPL reference]] <- [[crpl:crplreference#comparators|Comparators]] <- [[crpl:crplreference| CRPL reference]] <- [[crpl:crplreference#comparators|Comparators]]
 =====  eq  ===== =====  eq  =====
Line 46: Line 46:
 # Then "MyScript" is coerced to 0 and the result is TRUE. # Then "MyScript" is coerced to 0 and the result is TRUE.
 Trace(GetScriptVar(<-core "Script.crpl" "name") "MyScript" eq) Trace(GetScriptVar(<-core "Script.crpl" "name") "MyScript" eq)
-This version returns TRUE only if core has Script.crpl attached with+The following version returns TRUE only if core has Script.crpl attached with
 # a variable "name" whose value is the string "MyScript". # a variable "name" whose value is the string "MyScript".
 +Trace(GetScriptVar(<-core "Script.crpl" "name") "" concat "MyScript" eq)
 </code> </code>
  
crpl/docs/eq.1403739618.txt.gz · Last modified: 2025/02/14 14:56 (external edit)