Jeff Horwitz <[EMAIL PROTECTED]> wrote:

[ Please don't top post ]

> this would be great -- i'm currently pulling the return values of my
> called subs directly out of I5, and it would be nice to have that bit
> taken care of for me, especially if calling conventions change somewhere
> down the line (but i certainly hope they don't).  :)

Calling conventions don't change. But trying the get I5 or such from a
void function will not work anymore, because arguments and return values
are copied now.

E.g. when you have a sub that ends with:

  set P5, 100 # ret value
  set I0, 0   # non-prototyped
  set I3, 0   # no return value
  invoke P1   # return

then P5 will not be passed to the caller.

> -jeff

leo

Reply via email to