Generate code for 1-D input/output arrays.