2006/2/15, Bobby Clarke <[EMAIL PROTECTED]>:

> I want to pass a function name (Y) as a procedure parameter. Can someone
> tell me how to do this?

you can define a new type:

type
    TProcedure= procedure of object;

and then use it as you would use any other type. You can do the same
with functions. Give a look at delphi's help about procedural types.

--
un saludo

Dario Guerrero
[EMAIL PROTECTED]
[EMAIL PROTECTED]


-----------------------------------------------------
Home page: http://groups.yahoo.com/group/delphi-en/
To unsubscribe: [EMAIL PROTECTED] 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/delphi-en/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to