Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

reading old delphi code

Status
Not open for further replies.

deluser

MIS
Jul 28, 2011
1
LK
Hi, I am reading old delphi code for re-engineering purpose.

i found this

MainForm.FmainChain.sendasync(cmd)

1. I can understand MainForm is a form, but what is this FmainChan ?

2. sendasync() ,is this a function of FmainChan ?

Thanks
 
1. FMainChain is some kind of thing that is defined as a part of whatever MainForm is, specifically. If you want to know more, you need to figure out what MainForm is defined as.

2. yes.



It is not possible for anyone to acknowledge truth when their salary depends on them not doing it.
 
MainForm may be a unit name. It's possible FmainChain is a global variable declared in the unit MainForm.

MainForm may be a class object, which contains FmainChain as a public variable reference to another object (of unknown type) which contains sendasync as a method.

Control+Click is your friend. Control+Click anything in the Delphi IDE to jump to it's declaration.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top