replying to myself, wrote a test...

(de test1 ()
   (if (not (num? "ctr"))
      (setq "ctr" 1)
      (inc '"ctr")
   )
   (prinl "ctr")
   (====)
)

(test1)
(test1)
(prinl "ctr")

did a face palm and tells myself "that's how a static behaves in C!".
did that explain that right?

what are other caveats?

On Wed, Apr 13, 2011 at 3:21 AM, Edwin Eyan Moragas <e...@yndy.org> wrote:
> Hi List,
>
> was reading thru the FAQ and came across:
>
> http://software-lab.de/doc/faq.html#problems (Are there no problems
> caused by dynamic binding?)
>
> if i understand correctly, (====) when called outside a method works
> only when a file is (load)ed?
>
> are there any other scenarios that would make this rule come into play?
>
> thanks much
>
> /e
>
-- 
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe

Reply via email to