Gets a global variable from the participant's testing session.

get_global(key, state)

Arguments

key

The variable's key (character scalar).

state

The participant's state object.

Value

The global variable with key equal to key.