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;
LVL 1
lewis_looAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
jack_p50Connect With a Mentor Commented:
You have type structure like this
TSomething=class(Somethingelse);

Constructor is function that creates the Something:Tsomething.

inherited calls constructor of Somethingelse
and then you initialize or re-initialize vars of something.
Something have same vars and methods as somethingelse and some special vars/methods. Ask if you don't understand.
0
 
scrapdogCommented:
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.
0
 
scrapdogCommented:
So, are you trying to steal the point from me?
0
 
scrapdogCommented:
:)
0
 
jack_p50Commented:
I answered first. DO YOU REALLY NEED THIS BIG AMOUNG OF PTS?  ;)
0
All Courses

From novice to tech pro — start learning today.