fn: !=
[contents]

Contents

Syntax

The syntax for != calls is:

f++:  
!=(params)

n++:  
@!=(params)

Description

!= is the relational not equals operator, it takes a non-zero number of input parameter, if all of the input parameters are not equal it returns 1, otherwise it returns 0.

Note: It is typically faster to use exprtk for relational operators, plus the syntax is nicer.

f++ example

Example of != being used with f++:

for(int i=0; !=(i, 10); i+=1)
	console("i: ", i)

n++ example

Example of != being used with n++:

@for(int i=0; !=(i, 10); i+=1)
	@console("i: ", i)