Welcome, Guest. Please login or register.

Author Topic: Do i have more logic than my compiler?  (Read 1031 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline Thomas

Re: Do i have more logic than my compiler?
« on: July 20, 2003, 09:11:48 AM »

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