[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug-gawk] On uninitialized variables
From: |
arnold |
Subject: |
Re: [bug-gawk] On uninitialized variables |
Date: |
Mon, 13 May 2019 13:11:03 -0600 |
User-agent: |
Heirloom mailx 12.5 7/5/10 |
Hi.
M <address@hidden> wrote:
> Hello! When rereading the manual (v5.0.0), I noticed an inexact statement
> in Chapter 1:
>
> 1.5 A More Complex Example
>
> "(This works because awk variables are automatically initialized to
> zero.)"
>
> It's true only in a numeric context.
> When used as strings, uninitialized variables are automatically
> initialized to an empty string.
> Although this peculiarity is emphasised throughout the rest of the manual,
> I think it would be useful to mention about it in the introduction
> chapter too (especially for novices).
Thanks for the note. Looking at the section as a whole, I think it
would be distracting to try to introduce information about initialization
to the empty string. Sometimes it's better not to be fully complete.
So, I appreciate your making the suggestion, but I think it better to
leave that section alone.
Thanks!
Arnold
- [bug-gawk] On uninitialized variables, M, 2019/05/12
- Re: [bug-gawk] On uninitialized variables,
arnold <=
- Re: [bug-gawk] On uninitialized variables, M, 2019/05/13
- Re: [bug-gawk] On uninitialized variables, M, 2019/05/13
- Re: [bug-gawk] On uninitialized variables, M, 2019/05/14
- Re: [bug-gawk] On uninitialized variables, arnold, 2019/05/14
- Re: [bug-gawk] On uninitialized variables, M, 2019/05/14
- Re: [bug-gawk] On uninitialized variables, arnold, 2019/05/14
- Re: [bug-gawk] On uninitialized variables, M, 2019/05/21
Re: [bug-gawk] On uninitialized variables, Manuel Collado, 2019/05/14