public static IoObject slotGreaterThan(IoObject self, IoObject locals, IoObject message) { IoMessage m = message as IoMessage; IoObject o = m.localsValueArgAt(locals, 0); return(self.compare(o) > 0 ? self.state.ioTrue : self.state.ioFalse); }
// Published Slots public static IoObject slotCompare(IoObject self, IoObject locals, IoObject message) { IoMessage m = message as IoMessage; IoObject o = m.localsValueArgAt(locals, 0); return(IoNumber.newWithDouble(self.state, Convert.ToDouble(self.compare(o)))); }
public static IoObject slotNotEquals(IoObject self, IoObject locals, IoObject message) { IoMessage m = message as IoMessage; IoObject o = m.localsValueArgAt(locals, 0); return self.compare(o) != 0 ? self.state.ioTrue : self.state.ioFalse; }
// Published Slots public static IoObject slotCompare(IoObject self, IoObject locals, IoObject message) { IoMessage m = message as IoMessage; IoObject o = m.localsValueArgAt(locals, 0); return IoNumber.newWithDouble(self.state, Convert.ToDouble(self.compare(o))); }