Method | Description |
---|---|
ToString:String() | Converts an object to a string. By default, this method returns the address of the object in memory, but user defined types can override this method to perform their own function. |
Compare:Int( otherObject:Object ) | Returns a value less than 0 if an object is less than another object, a value greater than 0 if an object is greater than another object or the value 0 if an object equals another object. By default, the address of the objects in memory is compared, which is not very useful. However, user defined types can override this method to provide a more meaningful comparison. |
Print "Hello".Compare( "Goodbye" )