Thanks for the hint with the 1d .... it works!! Regarding the other code line there is something fundamentally wrong or at least strange! It's only doing it's job if I put a ! in front of the =0, so !=0 (or whatever other number), for example: if ( [(/interface wireless registration-table print as-v...