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

From DikuMUD Wiki
Jump to navigation Jump to search
(XML import of LLM wiki pages)
(XML import)
 
Line 1: Line 1:
 +
<span id="ops"></span>
 +
<h3>'''Operators:'''</h3>
  
 +
  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.
  
 +
---~---~---~---~---~---~---~---~---
 
<span id="ops"></span>
 
<span id="ops"></span>
 
  <h3>'''Operators:'''</h3>
 
  <h3>'''Operators:'''</h3>

Latest revision as of 22:30, 4 December 2025

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.
---~---~---~---~---~---~---~---~---

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.
---~---~---~---~---~---~---~---~---