Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
Str1 = "27."
Str2 = "27"

// BASIC+ returns 1
IsLessThanOrEqual = (Str1 _LEC Str2)

// The LEC service returns 0 (Str1 is not less than or equal to Str2)
IsLessThanOrEqual = SRP_String("LEC", Str1, Str2)

// Case insensitive comparison returns 1 (str1 is equal to str2)
IsLessThanOrEqual = SRP_String("LEC", "hello", "HELLO")

...