Not the best title for this post ...

The question I want to ask is: can you compare a string object to the
null string and expect any string object to compare equal if that
string object is an empty string?

Like this

RexxMethodX(... RexxStringObject, str, ...)
{
    if ( str == context->NullString() )
    {
        // okay we have an empty string ""
        ...
    }

Would an arbitrary string object, that happened to equal "" compare
true to context->NullString()?

--
Mark Miesfeld

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Oorexx-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oorexx-devel

Reply via email to