Or a class variable @@var

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Zeljko Filipin
Sent: 26 August 2005 10:45
To: [email protected]
Subject: Re: [Wtr-general] Passing data between scirpts?

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
> [email protected]
> http://rubyforge.org/mailman/listinfo/wtr-general
>

_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general


_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to