Example #1
0
 def execute(this, arguments, WORKINGMATRIX):
     col1 = arguments[0]
     row1 = arguments[1]
     col2 = arguments[2]
     row2 = arguments[3]
     try:
         MatrixUtils.printRange(row1, row2, col1, col2, WORKINGMATRIX)
     except IndexError as e:
        #print("ERROR: specified endpoint(s) are out of bounds")
        print(e)
     except ValueError as e:
         #print("ERROR: col1 > col2 or row1 > row2")
         print(e)