怎样通过名称来调用function和procedure?
我要通过名称来调用function和procedure,请问应该怎样做?
比如 我有一个procedure和function
procedure myprocedure;
function myfunction():integer;
我要在程序里用他们的名字来调用他 要这样实现
var
s:string;
s1:string;
begin
s:='myprocedure';
s1:='myfunction';
以上是将procedure和function的名称赋给string变量,然后怎么通过s和s1来调用?
end;