Path: utzoo!utgpu!watmath!clyde!att!rutgers!uwvax!umn-d-ub!umn-cs!indermau
From: indermau@umn-cs.CS.UMN.EDU (Kurt Indermaur)
Newsgroups: comp.lang.pascal
Subject: pointers to functions in TP4???
Message-ID: <10316@umn-cs.CS.UMN.EDU>
Date: 3 Dec 88 18:20:27 GMT
Reply-To: indermau@umn-cs.cs.umn.edu (Kurt Indermaur)
Distribution: na
Organization: CSci Dept., University of Minnesota, Mpls.
Lines: 21


Is this possible?  I'd like to pass a pointer to a procedure (with its para-
meters, ideally) to another procedure, which would then execute the passed
procedure.  Something like:

procedure execute (proc1 : pointer);
begin
  .
  .
  .
  proc1^;
  .
  .
  .
end;

Do I have to resort to inline stements, or should I just give up on TP and
write it in C?


--Kurt Indermaur