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

function to return an array

Status
Not open for further replies.

minckle

Programmer
Mar 17, 2004
142
GB
Hi

how do i return an Array from a function?? by usnig the following code i get the error below

function Test: Array of TButtons;

Error:
Identifier expected but 'Array' found

i want to run a function and get an array as the result

 

Code:
type TButtonArray = Array of TButtons;

function test : TButtonArray;

cheers

--------------------------------------
What You See Is What You Get
 
and it is "array of TButton"

--------------------------------------
What You See Is What You Get
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top