dominoGuru.com

Your Development & Design Resource

LotusScript @IsMember

Someone recently asked me if there was a simple @IsMember-like function in the LotusScript language... so I threw this at them.

Function isMember(tVal As String, vArray As Variant) As Boolean

For x = 0 To Ubound(vArray)
 If vArray(x) Like tVal Then
  isMember = True
  Exit Function
 End If
Next

isMember = False

End Function

Hopefully someone else finds it just as useful!


About the author: Chris Toohey

Thought Leadership, Web & Mobile Application Development, Solutions Integration, Technical Writing & Mentoring

A published developer and webmaster of dominoGuru.com, Chris Toohey specializes in platform application development, solutions integration, and evangelism of platform capabilities and best practices.



More from dominoGuru.com


dominoGuru.com is powered by IBM Notes Domino XPages & hosted by Prominic.NET

Contact Us

Use our Contact / Feedback form or one of these email addresses:

Creative Commons License

Except where otherwise noted, dominoGuru.com by Chris Toohey is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.