How to modify script parameters before running..

 
I have a script with some entry parameters ( ex 'extern string GridName = "Grid";') and would like to set these parameters before the script is run - like expert advisors - when u drag the expert advisor into a window, it pops up a dialogue allowing u to change settings.

Is this possible? Is this documented somewhere?

Thanks,
 
#property show_inputs
 
Thank-you Slawa... that works..

Is this documented somewhere?

Regards
 
of course. in the MetaEditor dictionary
 
Lol, thanks Slawa... The documentation is in a bit of an obtuce place and it was tough finding how to search for something in the doc.

Personally, I would put the documentation under the Help menu in MetaEditor and allow searching.. a la Windows...

So I did finally find the properties by searching for 'show_inputs' but this does not tell me how to access the variables on the first page of the 'property sheet'...

I assume the common functions like 'IsLibrariesAllowed()' and 'IsTradeAllowed()' are set in this property sheet, but how do I know whether the user selected longs only, shoers only or both longs and shorts? And the other property sheet variables?

Thanks for your help!
Reason: