Posted by Jon Slaughter on 05/04/07 11:01
"Toby A Inkster" <usenet200703@tobyinkster.co.uk> wrote in message
news:na6rg4-8oj.ln1@ophelia.g5n.co.uk...
> Mohawk Moak wrote:
>
>> this method worked good, i did not realize to set the global twice.
>
> You don't -- you only need to use it inside the function. Jon's use of
> "global" outside the function is entirely redundant, though doesn't cause
> any harm.
>
Oh, lol... I didn't read is post very well. Yes it is redudant. Didn't mean
it to be there. In any case its probably best to use static. In this case
it might work but even redudancy can cause problems.
Navigation:
[Reply to this message]
|