[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

2.3.2.5 Echo Keyboard to Output ($L)

The Echo Keyboard to Output command provides the user with an easy way enter data directly into the outfile at run time. To correct errors, use the "Back Space" key. Deleted characters appear inside slashes '/ /'. The string is written, with newline, into the output file. Only one line is written to the output file for each ($L).

This command was not designed to be used for subject response, and does not update the COGVAR_KEY or COGVAR_TIME Cogsys variables. It does not attempt to measure the time it takes to enter the string.

Name:
Echo Keyboard to Output
Class:
Direct Keyboard Input
Code:
$L
Syntax:
$L
System:
Collects a string from keyboard until the subject presses `<ENTER>'. The string may be no longer than 256 characters.
Output:
The string entered is written to output.
Requires:
Although this command will work in any mode, for the user to see the characters being typed, Cogsys must be in a text mode.
Breakout:
NO
Test Files:
KOUT_T01.IN: Tests basic operation

 
@C
Testing the Echo Keyboard to Output \$L command.
#W3000
Enter a string up to 256 characters long,
then press ENTER.

$L

Now check the output file to see your string.
#W4000
Done.  Press any key to exit.#R

Examples:

input
$L
subject
Enters hi there!
output
hi there!



This document was generated on November, 24 2008 using texi2html