Archive

Posts Tagged ‘Arrays’

Lotus Notes Removing Invalid Subordinate Keyword Values

Yes, I know the title of this tip doesn’t mean much. But I couldn’t come up with a meaningful title in just a few words. So let me describe the situation. Let’s say you have a multi-value keyword fields that contains state names. And another multi-value keyword field that contains city names. The choices for the city names come from the selected state names. If you choose some cities, and then go back and remove a state, how do you eliminate those selected cities that are no longer choices?
Read more…

Viewed 8491 times by 2220 viewers

Missing From Lotus Notes Array

After using the Are Arrays Equal function in LotusScript for a while, a comment came from one of our developers: “This is good and all, but how do I know what is different about the two arrays?” The other function simply exits when finding a difference. So it makes sense to just keep track of the differences and then return those differences somehow. But there’s two types of differences:

Read more…

Viewed 5698 times by 1467 viewers

Check Lotus Notes Arrays Equal

In a recent project, we had the need to compare two arrays to see if all the elements in one array were in the other array and vice versa. The elements didn’t have to appear in the same order in the arrays to be equal. So that prompted a generic “AreArraysEqual” function.
Read more…

Viewed 6342 times by 1938 viewers