FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour variable amount of parameters
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM

variable amount of parameters

Posted: Thu Nov 27, 2014 08:28 AM

When you want to call a function and provide it a variable amount of params you can use:

function MyFunc( ... )

and then use hb_aparams() to get an array with all of them :-)

regards, saludos

Antonio Linares
www.fivetechsoft.com

Continue the discussion