[DGD]NILs and Mappings in extensions...
Felix A. Croes
felix at dworkin.nl
Thu Jun 21 22:06:14 CEST 2001
"Michael J. Bacon" <mj.bacon at gte.net> wrote:
> Howdy folks. Having a bit of a problem with returning nil values to match
> specific indexes in a mapping that is being built in an extension and
> returned to DGD. Everything seems to work fine, but the mapping returned is
> truncated and shows only the last item added to the mapping.
>
> The code I am using to assign the NIL value is as follows:
>
>
> case FT_NULL:
> DGD_MAPPING_ASSIGN(data, map, nameval, DGD_NIL_VALUE);
> break;
>
>
> Any idea what I am doing wrong?
In DGD LPC, map[nameval] = nil; is the way to remove index `nameval' from
the mapping. Is that what you intended?
Regards,
Dworkin
List config page: http://list.imaginary.com/mailman/listinfo/dgd
More information about the DGD
mailing list