|
From: | Hermann Peifer |
Subject: | [bug-gawk] Gawk manual: local variables are initialized to the empty string |
Date: | Wed, 18 Jun 2014 17:47:03 +0200 |
User-agent: | Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 |
Hi,I see that there is quite some update work done around the manual. One thing that confused me (and maybe only me) is the above statement mentioned in the context of user-defined Functions, in sections 6.4 and 9.2.1
"initialized to the empty string" made me believe that something like this happens in the background, which would make localvar a scalar inside the function:
localvar = ""This is obviously (luckily) not the case und local variables are "untyped variables", as the debugger tells me.
Hermann
[Prev in Thread] | Current Thread | [Next in Thread] |