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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Passing a Structure to a Function?

Status
Not open for further replies.

Delphiwhat

Programmer
Apr 1, 2003
74
EU
Hi all

Can someone outline to me the prefered way of passing a pb structure to a pb function?

thanks in advance
:)
 
Generally you should use a NVO instead of the structure but if you insist on the structure use something like:

1) define the method with the structure as a parameter

2) call the method with the instance of the structure as an argument.

"Nature forges everything on the anvil of time
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top