Hmm, but variablen haven't to be assigned inside a function. If you want them global you "need" them outside.
But why doesn't this work as well with string arrays? Cause I need a global string array!