When you say it "doesn't want to work" or that "mason tells me that this
variable in undefined and i cant use it" what exactly happens?  Send us a
copy of the message you're getting in your error log.

-- 
Ben

2009/3/18 Tomek Wałaszek <tmwalas...@gmail.com>

> Hello,
> When i restarted apache every thing works fine but im just curious why i
> didnt have access to array variable before restart.
>
> The situation was like this:
>
> <%init>
> my @tab;
> </%init>
>
> <some html code>
> % @tab = (1, 2, 3);
> <some html code>
>
>
> This code doesnt want to work but when i restart apache every thing is ok.
> Im just curious why is that?
> I didnt note my exact code ;/, code is working so i dont have a chance to
> write it down.
>
> Best regards
> 2009/3/18 Jonathan Swartz <swa...@pobox.com>
>
>> Post your exact code, instead of describing it. :)
>> -----Original Message-----
>> From: =?ISO-8859-2?Q?Tomek_Wa=B3aszek?= <tmwalas...@gmail.com>
>> Date: Wednesday, Mar 18, 2009 7:03 am
>> Subject: [Mason] Problem with variable declaration
>> To: mason-users@lists.sourceforge.net
>>
>> Hello,
>> >
>> >
>> >I`m having a problem, when i declarate array variable in <%init> section
>> and trying to use it somewhere else in my component mason tells me that this
>> variable in undefined and i cant use it. When i restart apache the problem
>> disappears and code works fine. Does anyone know whats going on?
>> >
>> >
>> >Best regards
>> >Tomek Wałaszek
>> >
>>
>>
>
>
> --
> Tomek Wałaszek
>
>
> ------------------------------------------------------------------------------
> Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
> powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
> easily build your RIAs with Flex Builder, the Eclipse(TM)based development
> software that enables intelligent coding and step-through debugging.
> Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
> _______________________________________________
> Mason-users mailing list
> Mason-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mason-users
>
>
------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Mason-users mailing list
Mason-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mason-users

Reply via email to