Search Results

Search: Posts Made By: jgilot
2,733
Posted By binlib
for (i=1; i<=length(T); i++) printf(T[i]); ...
for (i=1; i<=length(T); i++) printf(T[i]);
caused the array T to be filled with many null values. At the beginning, length(T) was 6. When i was incremented to 4, it created new array element T[4],...
2,733
Posted By fpmurphy
In AWK, arrays are associative and array...
In AWK, arrays are associative and array subscripts are always strings. Arrays can be sparse as in your example. If you use an array subscript (expression index) to refer to an array element that...
Showing results 1 to 2 of 2

 
All times are GMT -4. The time now is 01:59 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy