On Tue, Jun 15, 2010 at 01:21:51PM +0200, Rainer Rehak wrote: > Hey there, > is it a bug, that the declaration of an associative array within a > function does not survive till after the function, with primitive > variables on the other hand that concept works well.
`declare' has the side effect of making things local to a function, if it is used within a function. There is currently no way to create a global associative array while inside a function; you'd have to do it outside the function. Chet has said, I think, that he might consider a `global' (or similar) keyword at some point in the future.