I physically and mentally refuse to believe that this:
cellErrorMessage(1,2): when this.cellNumericValue(1,2) <0 "Enter a positive number." otherwise "" cellErrorMessage(2,2): when this.cellNumericValue(2,2) <0 "Enter a positive number." otherwise "" cellErrorMessage(3,2): when this.cellNumericValue(3,2) <0 "Enter a positive number." otherwise "" cellErrorMessage(4,2): when this.cellNumericValue(4,2) <0 "Enter a positive number." otherwise "" cellErrorMessage(5,2): when this.cellNumericValue(5,2) <0 "Enter a positive number." otherwise "" cellErrorMessage(6,2): when this.cellNumericValue(6,2) <0 "Enter a positive number." otherwise "" cellErrorMessage(7,2): when this.cellNumericValue(7,2) <0 "Enter a positive number." otherwise ""
Is the best way to make every cell in a table show a error message when the value is less than 0. What if I had 10 cells, or 20? That would be absolute torture. Are there loops in CL, like in python where:
for items in list:
print(items)
?
If so, please, please, please tell me!