OpenAmiga (494/959)

From:Jesse McClusky
Date:22 Aug 2000 at 00:13:24
Subject:Re: AMIOPEN: Speaking of types in VP...

...has anyone noticed this?

VP seems to group passed-in / returned values by type and in type order when
compiling and calling.
Thus:

qcall tool, (i0, p3, d0, i1, l0 : -)

actually becomes:

qcall tool, (p3, i0, i1, l0, d0 : -)

Additionally, each type will only map to args of that type.
For instance:

func:
ent p0 : p0-p3, i0-i4
cpy 17, i0
ret
...
gos func, (NULL:i5)

will put the value 17 into i5.
This is good sometimes, but bad when you've put a variable
into the wrong def statement... (:

Just some interesting behavior to be aware of....

Jesse

Subscribe/Unsubscribe: open-request@amiga.com
Amiga FAQ: http://www.amiga.com/faq.html