up Inquisit Language Reference

currentBlock property

The name of the currently running block.

Member of

<script>

Syntax

script.name.currentBlock

Read Only

Type

block

Remarks

This property indicates which block, if any, is currently running.

Examples

The following displays the value of currentBlock in a text stimulus:

<text myText>
/ items= ("currentBlock = <% script.currentBlock %>")
</text>

The following displays the value of currentBlock in an instruction page:

<page myPage>
currentblock = <% script.currentBlock %>
</page>

Copyright Millisecond Software, LLC. All rights reserved.