neq()

btmux-0.6-rc4/game/text/help/cat_mux/cat_functions/neq() · 452 B

From the archive btonline-btechmux-0.6-rc4.tbz2

Download the archive   « Back to the archive contents

& neq()
 
  Syntax: neq(<integer1>,<integer2>)
 
  Takes two integers, and returns 1 if they are not equal and 0 if 
  they are equal.
 
	Warning: Passing anything but integers will produce unexpected 
	results, as non-numeric strings usually are treated as numeric 0.
 
  Example:
 
  > say neq(1,-1)
  You say "1"
  > say neq(5,5)
  You say "0"
  > say neq(foo, bar)
  You say "0"
 
	See Also: lt(), lte(), gte(), gt(), eq(), not()

Site Stats

Snippets: 1791
Codebases: 571