The ordinal number of the currently running block.
object.name.currentBlockNumber
Read Only
integer
This value increments each time a block is run. This number also includes blocks run via branch commands.
The following displays the value of currentBlockNumber in a text stimulus:
<text myText>
/ items= ("currentBlockNumber = <% expt.currentBlockNumber %>")
</text>
The following displays the value of currentBlockNumber in an instruction page:
<page myPage>
currentblocknumber = <% expt.currentBlockNumber %>
</page>