Global variable is any variable that starts with $ (like $my_global_variable).

Zeljko

2005/8/26, Ian Phillips <[EMAIL PROTECTED]>:
> Hi.
> 
> Just started using WATIR and have hit this problem.  I need to pass a
> variable or have a global variable so that all my scripts have access
> to it.  Is this possible?
> 
> I have a port number that can change each time I start my app so I
> want to be able to change this value in one place.
> 
> Any helps or links would be useful.
> 
> Thanks
> 
> Ian Phillips
> 
> _______________________________________________
> Wtr-general mailing list
> Wtr-general@rubyforge.org
> http://rubyforge.org/mailman/listinfo/wtr-general
>

_______________________________________________
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to