Button

The mode - by pressing a button on the main or the chart panel, or by starting Zorro with a command line - in which the current code is running.
 
2 Test
3 Train
4 Trade
5 Result
8 Single Step (see debugging)
10 Replay (see debugging)
 

Type:

int

Remarks:

Example:

 if(Button == 8) // single step
  updateMyPanel() // display variables in a panel

See also:

Command line, visual debugger, Test, Train
Latest version online