[lazarus] Editor
Shane Miller
SMiller1 at stvgb.org
Tue Oct 19 14:08:24 EDT 1999
That would be the ADDRESS of the procedure.
Not sure why you would grab the address that way though. What you should do it set up a type
TSomeType = procedure (myint : integer); cdecl;
then in your class or var area, define a variable of type TSomeType and assign it to myproc.
You may be doing it that way for a reason I don't understand though....
Shane
>>> "Baeseman, Cliff" <Cliff.Baeseman at greenheck.com> 10/19/99 01:00PM >>>
Hi gents!
A little pascal question for you all..
If I declare a procedure like this.
procedure myproc(myint: integer);cdecl;
begin
end;
I then reference it like this @myproc what does this really stand for. It
is my assumption that it is a untyped pointer to the address of myproc. Is
this assumption
correct?
Cliff
_________________________________________________________________
To unsubscribe: mail lazarus-request at miraclec.com with
"unsubscribe" as the Subject
archives at http://www.miraclec.com/list_archives/lazarus
More information about the Lazarus
mailing list