Link to home
Start Free TrialLog in
Avatar of lewis_loo
lewis_loo

asked on

about the pascal syntax

Can you explain for me in simple English what do this mean about?

Construtor TNumField.Init(Fx,Fy,FLen :Integer;FName:string;FMin,FMax:Longint);  

{What Constructor Function in this Program, Can you explain more about "Constructor"?}
begin
  inherited Init(Fx,Fy,FLen,FName);
  {What Inherited function in this Program, Can you explain more about "Inherited"}
  Value:=0;
  Min:=FMin;
  Max:=FMax;
end;
Avatar of scrapdog
scrapdog
Flag of United States of America image

Constructor is a function that when called creates a new object (an instance of that class).

Inherited calls the Init procedure (in this example) in an ancestor class.
ASKER CERTIFIED SOLUTION
Avatar of jack_p50
jack_p50

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
So, are you trying to steal the point from me?
Avatar of jack_p50
jack_p50

I answered first. DO YOU REALLY NEED THIS BIG AMOUNG OF PTS?  ;)