I'm facing a problem with the following:
files=.File~new(myPath)~list
loop file over files~allitems
say file
end
Error 97.1: Object "The NIL object" does not understand message "ALLITEMS"
Looking in the doc I find the following strange sentence:
"If the receiver object is not a directory then the result is .nil."
To be honest I don't understand what this sentence means. The list method
is supposed to return an array but for some reason I get a .nil object.
Staffan
------------------------------------------------------------------------------
Infragistics Professional
Build stunning WinForms apps today!
Reboot your WinForms applications with our WinForms controls.
Build a bridge from your legacy apps to the future.
http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk
_______________________________________________
Oorexx-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oorexx-users