Hello Erich,
> Bertram, you've got a typo in your code.
> The read loop uses * input_line*.i instead
> of input_line*s*.i = linein(fn);
> You might also want to check the returned status
> from stream() for errors,
> e. g.
> say stream(fn,'C','OPEN READ SHARED');
Thank you for the catch in my typing. The original code had the "s" in the
correct place, just when I was writing the reply I missed it. Sorry.
As for checking the return code, yup, you're 100% correct. When I write
code for others, I (try to) always include return code checking along with
code to process it in a verbal format. (It takes longer, but, hey, it
makes the code easier to understand plus if you're on an hourly rate it can
make you a bit more money.)
Again thanks for the catching the typo and pointing out the RC checking
shouldn't just be for others.
Bert.
------------------------------------------------------------------------------
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
_______________________________________________
Oorexx-users mailing list
Oorexx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-users