Use the declare function to allocate an array of a given size.
declare( week[7] ) => array[7]:9780700
week => array[7]:9780700
type( week ) => array
arrayp( week ) => t
days = '(monday tuesday wednesday
thursday friday saturday sunday)
for( day 0 length(week)-1
week[day] = nth(day days))
The declare function returns the reference to the array storage and stores it as the value of week.