User Tools

Site Tools


press_put_characters_in_the_buffer_.htm
Navigation:  Language Reference > 13 - Built-in Functions >====== PRESS (put characters in the buffer) ====== Previous pageReturn to chapter overviewNext page

PRESS(string)

blk2blue.jpg

PRESS Places characters in the keyboard input buffer.
string A string constant, variable, or expression.

PRESS places characters in the Windows keyboard input buffer. The entire string is placed in the buffer. Once placed in the keyboard buffer, the string is processed just as if the user had typed in the data.

Example:

IF LocalRequest = AddRecord       !On the way into a memo on adding a record

TempString = FORMAT(TODAY(),@D1) & ' ' & FORMAT(CLOCK(),@T4)

PRESS(TempString)                !Pre-load first line of memo with date and time

END

See Also:

PRESSKEY

press_put_characters_in_the_buffer_.htm.txt · Last modified: 2021/04/15 15:57 (external edit)