2.3.4.10 Display Last Response Time ($R
)
The Display Last Response Time writes the value of the last response to
the screen. It works in any video mode, and writes the value at the current
cursor position (and, in the case of the graphics modes, with the current
attributes).
- Name:
- Display Last Response Time
- Class:
- Display Text
- Code:
$R
- Syntax:
$R
- System:
- Displays the last response time on the screen.
- Requires:
- This command will work in any video mode.
- History:
- Before Cogsys 3,
$R
did not work in graphics modes.
- Test Files:
- `DRSP_T01.IN'
- tests basic operation
- Examples:
- input
Press the spacebar.#R You took $R milliseconds.
- cogsys
- Writes `Press the spacebar.'
- subject
- Press the spacebar after 100 ms.
- output
- ` 100' written to output.
- cogsys
- `You took 100 milliseconds' displayed.
This document was generated
by Usman Muzaffar on June, 28 2000
using texi2html