Versions Compared

Key

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

...

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

// In BASIC+, thesereturns are equal
If Str1 = Str2 then
    Ans = "Equal Value"
end else
    Ans = "Not Equal Value"
end1
IsEqual = (Str1 _EQC Str2)

// Using the EQC service, thesereturns strings are not equal
If0
IsEqual = SRP_String("EQC", Str1, Str2) then
    Ans = "Equal Strings"
end else
    Ans = "Not Equal Strings"
end

// Case insensitive comparison returns 1 (equal)
AnsIsEqual = SRP_String("EQC", "HELLO", "hello")

...