On Sat, Mar 7, 2015 at 10:08 PM, Les Koehler <vmr...@tampabay.rr.com> wrote:
> This snippet of THE code works just fine under ooRexx 4.1.2:
>
> Do l=1 To lines
> c '+1'
> Parse Value curline.3() With dt tm fl sz zsz filename
> filename=Strip(filename)
> fid=path||filename
> fid.l=fid
> zipfile.l=dt tm Right(sz,8) fid
> Call sysfiletree fid,'file.'l,'FL'
>
> but under 4.2.0 I get:
>
> *-* Compiled routine SYSFILETREE
> 109 *-* Call sysfiletree fid,'file.'l,'FL'
> Error 40 running C:\MyTHEstuff\ckzip.the line 109: Incorrect call to
> routine
> Error 40.919: Argument 2 must have a stem object or stem name value;
> found "file.1"
>
> Is it a bug in 4.2.0 that I should report on SF?
>
It was actually a bug that this worked in 4.1.2. The definition for
SysFileTree has always been that the target argument had to be a stem. It
was only due to some poor argument checking in the original that his
worked. In 4.2.0, SysFileTree was rewritten to use the new APIs, which
seriously improved the performance and reliability. As a result, the
argument checking has also been tightened up. This has already been
reported as a bug and answered with a "Won't fix" answer.
Rick
>
> Btw: Many thanks to Gil for chgrexx.bat! Indispensable for changing
> versions of ooRexx, even for me!!
>
> Les
>
>
>
> ------------------------------------------------------------------------------
> Dive into the World of Parallel Programming The Go Parallel Website,
> sponsored
> by Intel and developed in partnership with Slashdot Media, is your hub for
> all
> things parallel software development, from weekly thought leadership blogs
> to
> news, videos, case studies, tutorials and more. Take a look and join the
> conversation now. http://goparallel.sourceforge.net/
> _______________________________________________
> Oorexx-users mailing list
> Oorexx-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/oorexx-users
>
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Oorexx-users mailing list
Oorexx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-users