Difference between revisions of "Manual:DIL Manual/Operators"

From DikuMUD Wiki
Jump to navigation Jump to search
(XML import)
 
m
 
Line 2: Line 2:
  
 
<span id="ops"></span>
 
<span id="ops"></span>
  <h3>'''Operators:'''</h3>
+
  <h3>Operators:</h3>
  
 
   DIL features many other operators. For integers,
 
   DIL features many other operators. For integers,

Latest revision as of 14:14, 29 June 2020


Operators:

  DIL features many other operators. For integers,
  '<', '>', '<=', '>=', '!=' '==' signify less than,
  greater than, less or equal, greater or equal, not equal,
  and equality operators. Furthermore, you can compare
  strings with '==' or '$=' for equality test, and '!='
  for non equality. Pointers may also use '==' and '!='
  and you may force DIL to compare pointers, even for
  strings with the '#=' pointer-equality operator.
  The '$=' and '#=' is considered obsolete, and only
  used for backward compatibility.
---~---~---~---~---~---~---~---~---