Re: Trouble with variable persistance
Re: Trouble with variable persistance
- Subject: Re: Trouble with variable persistance
- From: "Romulus Barabas" <email@hidden>
- Date: Mon, 04 Jun 2001 18:45:56 -0400
> I have to declare a, b, c as
> global variables at the beginning of the script, otherwise subroutines
won't
> be able to do work on them and pass them on.
You don't have to declare variables as global or property, you can pass
local variables as parameters to your subroutine.
If you want to use globals or properties and don't want persistance you can
reset them when your script ends or using the "on quit" handler.
How do I reset the variables? I don't know the syntax.
Romy
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at
http://www.hotmail.com.