bug-gawk
[Top][All Lists]
Advanced

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

Name "index" for variable - syntax error


From: pavel_mendl
Subject: Name "index" for variable - syntax error
Date: Tue, 21 Mar 2023 10:30:31 +0100

Hi,

will be brief as writing from work:

as simple as 'END { index = 0 }' program shows syntax error on equal sign, 
while this should be valid assignment. Neither in Reserved words on gawk site 
nor through Google I have found anything about "index" to be a reserved word. 
However renaming to "indexa" works as expected...

Please take a look about this.

Pavel



reply via email to

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