NH> I'm familiar with using the reserved word PASCAL to modify the order
NH> in which formal parameters are placed on the stack. Does anyone know
NH> if the PASCAL keyword also affects who is responsible (the caller or
NH> the called function) for cleaning up the stack after the called
NH> function exits?
Two points:
A) Not portable extention - often "PASCAL" will be #defined to something like
__pascal.
B) Yes - assuming it's not broken, it implies a Pascal calling convention,
which has the callee clean up the stack, IIRC.
---
---------------
* Origin: Tanktalus' Tower BBS (1:250/102)
|