Web forum is in read-only mode. Login as active registered customer for write access
  Forum Search   New Posts New Posts

NEW: Un-used parameter

 Post Reply Post Reply
Nicholas Ring View Drop Down
New Member
New Member

Joined: 09 Sep 2016
Posts: 7
Post Options Post Options   Quote Nicholas Ring Quote  Post ReplyReply Direct Link To This Post Topic: NEW: Un-used parameter
    Posted: 10 Oct 2016 at 3:47am

function MyMethod(const AName : string; const AAge : integer) : string;
  Result := 'Hello ' + AName;

AAge isn't used, so as an optimisation, AAge could be removed (as there are stack pushing involved)
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down