On 18/12/11 5:07, David Emerson wrote:
1. Is it possible to make an alias to a function ... so rather than just
re-calling with the same parameters, it's actually the same thing? like the way
we can do, e.g., type natural = cardinal, or const GG = 6, but with a function?

There's always the simple-minded calling of identical code such as

function Name: string;
  begin
    result := 'Name';
  end;

  function NameAlias: string;
  begin
    Result := Name;
  end;

Perhaps you were looking for something more sophisticated?
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to