P2Array

Holds a collection of Ponder2 objects. An array may be returned from sending a message to an object or ir may be created in PonderTalk with the

 #( obj1 obj2 obj3) 
syntax.

Factory Messages

Operational Messages

add: aP2Object

adds a aP2Object to the receiver

asHash

at: anIndex

returns the P2Object at anIndex

collate: aBlock

for each entry in the array executes aBlock with the entry given as an argument to the block. Answers an array of answers from each execution of the block.

do: aBlock

for each entry in the array executes aBlock with the entry given as an argument to the block. Answers the receiver