function square1(nVal) local n, nVal, aArray aArray = new array() for n = nVal to nVal + 4 aArray.add(n*n) next return aArray