Jan Gundtofte-Bruun commented on Mar 10, 2010

Creating an instanceof function in LotusScript

Line-wrapped a looong code comment to 80 chars because it broke the layout frame for the rest of the plain text.

Ernest Leyva commented on Jul 4, 2009


Hi Tim

Thanks for the comment I overlooked the IsA operator anyway It was a good exercise to create the instanceof function

Tim Tripcony commented on Jul 2, 2009

LotusScript has a built-in IsA operator

Here's an alternate approach:

equivalence = (x IsA "DOCUMENT")

The result of the IsA operator is true if x is of the specified class or a descendant of it.