Ask

Purpose

The Ask command is the other command, apart from Apply, that will interact with the athlete. Its purpose is to literally ask the athlete to provide the value of an Input.

An example would be to ask his/her age or body_weight.

Definition

In order to issue an Ask command you have two options, either right-click and select New > Ask or press Space and then Q

Specify Definition

You must then select the Input that you want the athlete to provide its value and click Next. You will then be asked to define the name under which this value will be stored (creates a binding of the name to the value).

Specify

Later in the program you can use this name to refer to the provided value.

Execution

When an Ask command gets executed the athlete is presented with a form field that he/she has to fill with the asked value.