Page History
...
Code Block |
---|
Str1 = "27" Str2 = "27." // In BASIC+, thesereturns are equal If 1 IsEqual = (Str1 = Str2 then Ans = "Equal Value" end else Ans = "Not Equal Value" end // Using the ) // EQ service, thesereturns strings0 IsEqual are not equal If = SRP_String("EQ", Str1, Str2) then Ans = "Equal Strings" end else Ans = "Not Equal Strings" end // Case insensitive comparison returns 0 (not equal) Ans IsEqual = SRP_String("EQ", "HELLO", "hello") |
...