[DGD] **array *array index issues.

Felix A. Croes felix at dworkin.nl
Tue Mar 30 14:38:05 CEST 2004


Michael McKiel <crashnbrn71 at yahoo.ca> write:

>[...]
> which makes result something like:
>     ({ bool, file, {{ subs }) })
>
>
> Testing using the code command, and using mixed **result or mixed *result.
>
> I can't index into result[2][#] when result is: mixed *result;

    > code mixed *R; R = ({ 1, "file", ({ "foo", "bar" }) }); return R[2][0];
    $0 = "foo"


> I can't index into result[0] or result[1] when result is: mixed **result;

That's because integers and strings are not of type "mixed *".

Regards,
Dworkin
_________________________________________________________________
List config page:  http://list.imaginary.com/mailman/listinfo/dgd



More information about the DGD mailing list