On 14 Oct 2011 at 16:46, Tedd Sperling wrote:
> On Oct 13, 2011, at 11:37 AM, Tim Streater wrote:
>> On 13 Oct 2011 at 16:25, Tedd Sperling wrote:
>>> So, if you want a main script variable (i.e., $myVar) to be accessed by a
>>> function, you can do it by stating:
>>>
>>> myFunction
>>> {
>>>
On 13 Oct 2011 at 16:25, Tedd Sperling wrote:
> So, if in your main script you have the statement:
>
> $myVar = 'test';
>
> Then the $GLOBAL['myVar'] has also been created and will hold the value of
> 'test' without any additional coding.
>
> While many of you will say "But of course, that's the
2 matches
Mail list logo