hidrau
asked on
What is the advantage to have a function or procedure created inside another function or procedure?
Hello Guys,
This is an example:
Is there any advantage using that way? Or would it be better to have it in a unit library or even create it for all my unit?
Is it only concept?
Thanks
Alexandre
This is an example:
procedure SumAllValue: Integer;
Function Sum_A_B(a, b : integer): Integer;
Begin
End;
Begin
My code here calls the Sum_A_B(x,y)
End;
Is there any advantage using that way? Or would it be better to have it in a unit library or even create it for all my unit?
Is it only concept?
Thanks
Alexandre
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER