!= (not equal to)


If the numbers val1 and val2 are not equal, the function returns 1; otherwise, it returns 0.


$(!=, val1, val2)

Examples


Code Returns Remark
$(!=,30,30.0) 0

 

$(!=,10,9.9999999) 1

 

$(!=,$(getvar,thickness),5) 0

when THICKNESS=5

$(!=,$(getvar,thickness),3) 1 when THICKNESS<>3

 

See also...

$(=,val1,val2)

$(getvar, varname)

DIESEL functions

 
© Bricsys NV. All rights reserved.