Page History
...
Code Block |
---|
Str1 = "27" Str2 = "27." // In BASIC+, thesereturns are0 (equal) IfIsNotEqual = (Str1 <> Str2 then Ans = "Not Equal Value" end else Ans = "Equal Value" end ) // Using the NE service, these strings are not equal IfIsNotEqual = SRP_String("NE", Str1, Str2) then Ans = "Not Equal Strings" end else Ans = "Equal Strings" end // Case insensitive comparison returns 1 (not equal) AnsIsNotEqual = SRP_String("NE", "HELLO", "hello") |
...