Sep 1, 2004 #1 xuenylom Programmer Aug 24, 2004 7 FR i need to check variables from a array (they are set as index) i know how to proceed when the variable is index in the array, but what is the syntax for variables NOT index in the array? is it: -------------- for !(var in tab) --------------- ? thx a lot
i need to check variables from a array (they are set as index) i know how to proceed when the variable is index in the array, but what is the syntax for variables NOT index in the array? is it: -------------- for !(var in tab) --------------- ? thx a lot
Sep 1, 2004 #2 Ygor Programmer Feb 21, 2003 623 GB No, all arrays in awk are associative. See Sed & Awk Chapter 8.4 Arrays Upvote 0 Downvote
Sep 1, 2004 Thread starter #3 xuenylom Programmer Aug 24, 2004 7 FR thx a lot this is a usefull link Upvote 0 Downvote