[Swift-devel] multiple arguments
Yong Zhao
yongzh at cs.uchicago.edu
Wed May 2 10:28:43 CDT 2007
That's strange. I used @filenames a lot a while ago and never had any
problems. Check the kml translation, maybe you added the getfieldvalue
stuff to getFilenames, which should not happen. i.e.
It needs to be
<vdl:getFilenames var="{sliced}">
<argument name="path"> ....</...>
</...>
not
<vdl:getFilenames><vdl:getFieldvalue ....>
Yong.
On Wed, 2 May 2007, Ben Clifford wrote:
>
>
> On Wed, 2 May 2007, Yong Zhao wrote:
>
> > use @filenames(sliced[*].img).
>
> I get this:
>
> Execution failed:
> org.griphyn.vdl.mapping.InvalidPathException: Invalid path (*.img)
> for type volume
>
>
> I tried something a little simpler:
>
>
> type file;
>
> (file out) echo(file n[])
> {
> app {
> echo @filenames(n) stdout=out;
> }
> }
>
>
> file f[] <fixed_array_mapper;files="a b c">;
>
> file out;
>
> out=echo(f);
>
>
> but that hangs...
>
> oof.
>
> --
>
More information about the Swift-devel
mailing list