There are several problems in the code:
First reported error message. I assume in full it says:
MessageNotUnderstood: ThreadSafeTranscript -> show: at: at:
So this means that you have to set some brackets to get the right messages in the right objects. Try:
Transcript show: ((testArr at:a) at:b).
Now there is a problem with your array assignments.
Smalltalk/Pharo/Squeak, at:put: , , , at:put:, . , testArr , "Y".
;, yourself .
:
testArr := (Array new: 2).
testArr at: 1 put: ((Array new: 2) at: 1 put: '0'; at: 2 put: 'X'; yourself).
testArr at: 2 put: ((Array new: 2) at: 1 put: 'P'; at: 2 put: 'Y'; yourself).