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 <= Str2)

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

// Case insensitive comparison returns 1 (uppercase is not less than or equal to lowercase)
IsLessThanOrEqual = SRP_String("LE", "HELLO", "hello")

...