From: Jason M. <agr...@gm...> - 2022-01-20 02:42:47
|
-- NetRexx 4.01-GA Language Reference -- example at top of page 54 -- changed 'foo' to null on line two -- nrc does compile it -- running it causes Exception in thread "main" java.lang.NullPointerException -- I ask because some methods can return null whether as Rexx or as Object -- should docs warn about this? x='?' x[null, 'bar']='OK' say x['foo', 'bar'] y=x['foo'] say y['bar'] |