bug-gawk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: unassigned/untyped behaviour


From: arnold
Subject: Re: unassigned/untyped behaviour
Date: Tue, 21 Nov 2023 22:03:42 -0700
User-agent: Heirloom mailx 12.5 7/5/10

Hi All.

I wrote:

> I may be able to have
>
>       a[1]
>       printf("%d", a[1])
>       print typeof(a[1])
>
> print "unassigned" instead of "numeric". That would make it
> become exactly parallel to the scalar case:
>
>       a
>       printf("%d", a)
>       print typeof(a)
>
> I'm going to try it.

Please see the attached patch. It passes the test suite.
I still need to work on the doc.

Talk about subtle code!!!

Thanks,

Arnold

Attachment: typing-fix.diff
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]