I tried
cellContent(1,2): when table1.cellContent(1,1)= “(0,3)” “
” OTHERWISE “?”
But when I input (0,3) in the cell, it doesn’t work.
And if I write
cellContent(1,2): when table1.cellContent(1,1)= (0,3) “
” OTHERWISE “?”
It is not a good code.
Thank you!
(Note: You can always use this
instead of the name of the current component.)
checkX= numericValue(parseOrderedPair(this.cellContent(1,1)).x)=0
checkY= numericValue(parseOrderedPair(this.cellContent(1,1)).y)=3
cellContent(1,2): when checkX and checkY "✅" otherwise "?"
Yay! It works! So fun! Thank you!