Talk:Rosetta Code/(Strictly) equal in Rexx: Difference between revisions

Content added Content deleted
(Performance comparisons of Rexx' equal operators)
 
(fighting the edit)
Line 1: Line 1:
<pre>
Rexx has two comparison operators (for testing equality)
Rexx has two comparison operators (for testing equality)
strictly equal a==b tests the values byte for byte, so '1'==' 01e0 ' -> 0 (false)
strictly equal a==b tests the values byte for byte, so '1'==' 01e0 ' -> 0 (false)
Line 5: Line 6:
so '1'==' 01e0 ' -> 1 (true)
so '1'==' 01e0 ' -> 1 (true)
I performed a little performance test on TSO.
I performed a little performance test on TSO.
</pre>
<lang rexx>
<lang rexx>
/* REXX ***************************************************************
/* REXX ***************************************************************
Line 35: Line 37:
End
End
</lang>
</lang>
<pre>

The results:
The results:
Interpreter:
Interpreter:
Line 59: Line 61:


You are invited to test this on your platform with your Rexx!
You are invited to test this on your platform with your Rexx!
</pre>

--[[User:Walterpachl|Walterpachl]] 07:28, 5 July 2012 (UTC)
--[[User:Walterpachl|Walterpachl]] 07:28, 5 July 2012 (UTC)