in reply to Adding element to Array?
If '0' (zero) can not be a valid element, you can try following code (append list element to array if it is "true" - not empty and not '0')