[comp.lang.pascal] Passing parameters on the stack in tp5.x

vvkmj@spica.lerc.nasa.gov (Keith Jackson) (06/19/91)

I am writing a program that will call a function via its
address (don't ask why trust me).  For example:

ptr:=addr(sin);
.
.
.
function sin(x:real) : real;
.
.
.
I think I know how to call the function, but HOW do I include
the parameters.  My idea is to place the parameters on the stack, 
then call the function.  

Any help would be appreciated!
--
-----------------------------------------------------------------------------
Keith Jackson                  |     phone: 216-433-5105 or
Sverdrup Technology, Inc       |            216-891-2946
NASA Lewis Research Center     |     email: vvkmj@spica.lerc.nasa.gov