Topics

03 Troubleshooting
Designer
StrCompare using case sensitivity

If the following code sample is run in an agent inside of Notes the result will be +1. If run outside of Notes the result will be -1

Sub Initialize
Print sSrCompare( "A", "a")
End Sub


The different behavior is the result of different versions of ccstr used in a Notes build versus a standalone LotusScript build. Now that both use the same version of ccStr, the behavior is the same - strcompare ("A", "a") == 1. This differs from previous versions of Notes.