Hi Larry,
Nothing is not just the equivalent of a null pointer. It means the default
value for the type in question.
In the case of an object that will be a null pointer. Strings, however,
while being objects, are treated as a special case.
|| if sSomeString = Nothing
The sSomeString in this context is the string contents and the Nothing is
the default for string contents, ie "".
|| if sSomeStringVar Is Nothing
The sSomeStringVar in this context is the pointer to string contents and
the Nothing is the default for objects which is null pointer.
To have understood this you would have had to have read the sections on
Nothing, Strings, Expressions and a couple of other topics, I'm sure. You may
well have read all these areas, but often an understanding of any one help
topic relies on making connections from other topics, plus a bit of fiddling
about with code, plus a bit of asking other people. Which you've just done.
Regards,
Fergus