453
454
455
456
457
458
459
460
|
# File 'lib/tecsgen/core/value.rb', line 453
def neq(val) if val.is_a? BoolVal
return BoolVal.new(self.to_i != val.to_i)
else
cdl_error("V1015 comparing bool value with \'$1\'", val.class)
return BoolVal.new(false)
end
end
|