Hi.

--- In [email protected], "dleidinger" <[EMAIL PROTECTED]> wrote:
> My proposal to Bruce contains the option to run a script as now 
> (let's say only one default-instance) or as a new instance of the 
> script.
> In my case i have a script using Alan's dialog-plugin supporting 
> multilingualism. All texts are defined in language-files as static 
> variables - so they are visible all over the script. Also some 
> control-flags are defined as static-variables - so i can remember 
> informations of the last dialog-step.  
> The problem is: the user could run this script more than once at 
the 
> same time
> But if i could have a new instance of the script with a new 
> set of static variables, there wouldn't be any problem, if PowerPro 
> can remember the script-instance related to the current dialog.

Maybe you should take a look at classes and objects.
Might be a solution to your problem...

Mockey


Reply via email to