Set array code in input rep