In such a situation you should:
1. insert some prints between the NewObjects to check the pointers.
2. create and look at the assembler output.
The code with [1] = NewObject([0]) ist right. But your assumption that [1] should point to
- is not. The GA_Previous tag inserts the new pointer into the NextGadget field of the given Gadget structure., so that after the call
- points to [1] (it should at least).
Bye,
Thomas