In the new native API this code:

RexxObjectPtr o = context->DirectoryAt(constDir, symbol);

returns NULLOBJECT when the RexxDirectoryObject 'constDir' does not
have the index 'symbol'

I expected it to return context->Nil().

Returning NULL in the native API is fine for the DirectoryAt() method,
it is easier to test for NULL than context->Nil().  I just wanted to
check that this is the expected behavior.

--
Mark Miesfeld

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel

Reply via email to