View Single Post
  #5  
Old 07-24-2005, 07:41 AM
Rick Rick is offline
PipBoy Extraordinaire!
Rick's Avatar
Join Date: Jul 2004
Location: Long Beach, California.
Posts: 831
Rick is on a distinguished road
Quote:
Originally Posted by Stefan
Like I said it's not required for equality operators since it is the same anyway if you do 123==123 or if you do "123"=="123". Graal script has variant variables so it's not required to have 4 different equality operators (for string, number, object, links). This is about greater/less operators.
[edit]Okay, it seems I misread this thread. Nevermind.[/edit]

[edit2]string.compare(otherstring) ?[/edit2]

Also:

If this is implemented. Will you raise a runtime script error if an attempt to compare a string that can't be converted to a number?
Reply With Quote