Adding parameters to functions

You need some new stunning features ? Tell us here.
Neil
Enthusiast
Enthusiast
Posts: 198
Joined: Wed Feb 29, 2012 8:04 am
Location: Melbourne, AUS

Adding parameters to functions

Post by Neil »

Hi Polo,

Is it possible to add parameters to functions/procedures ??

e.g. to include "XXXXXX"
Procedure OpenWindow_Select_Directory(XXXXXXX)
OpenWindow(#Window_Select_Directory, 0, 0, 450, 320, "Select directory:", #PB_Window_SystemMenu)
ExplorerTreeGadget(#ExplorerTree_0, 10, 10, 430, 260, "XXXXXXX")
ButtonGadget(#Button_OK, 390, 280, 50, 30, "OK")
Button_1 = ButtonGadget(#PB_Any, 430, 0, 20, 30, "")
EndProcedure
Thanks

Neil
jassing
Addict
Addict
Posts: 1885
Joined: Wed Feb 17, 2010 12:00 am

Re: Adding parameters to functions

Post by jassing »

Yes, but you'd have to re-add it any time you regenerated code.
Post Reply