Hi,
I'm emulating a multidimensional array in awk and getting strange results from the length(arrayname) command.
What am I doing wrong? How do I fix it?
Here's my test code:
BEGIN {
TABLE["cfg",0]="0"
TABLE["cfg",1]="1"
TABLE["cfg",2]="2"
TABLE["cfg",3]="3"
TABLE["cfg",4]="4"...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.