It is a bug in your code. NULL is not a valid item value. Rick
On Thu, Jun 7, 2012 at 7:14 AM, Rony G. Flatscher <[email protected]> wrote: > To make a long story (two days of debugging) short: in native code a > directory object gets created. > > Then using: > > SendMessage2(dir, "PUT", item, index) > > where item is NULL/NULLOBJECT works without an error and an entry in the > directory gets created. > > From this moment on it is not possible to use successfully: > > SendMessage1(dir, "REMOVE", index) > > this returns .nil (The Nil object), but does not remove the entry from the > directory object. E.g. doing a do...over afterwards will return 'index' > showing .nil as its entry. > > Is this a bug or a feature? > > If a bug which part should be blamed, the "PUT" method of the directory > class or SendMessage2() for accepting NULL as an argument? > > ---rony > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Oorexx-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/oorexx-devel > ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Oorexx-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/oorexx-devel
