ENTRY$

This command will return the string currently held by the windows system.

  Syntax
Return String=ENTRY$()
Return String=ENTRY$(Auto Backspace Mode)
  Parameters
Auto Backspace Mode
Integer
This value is an integer number such as 1.

  Returns

Will return the string currently held by the windows system

  Description

This string is maintained by the windows message pump and ensures you do not miss characters typed at speed in your application. You can clear this string using the CLEAR ENTRY BUFFER command. The entry buffer command automatically handles the collection of text typed in by the end user. By proving the extra parameter in the command ENTRY$(1) the system will automatically delete characters if the backspace key is pressed.

  Example Code
clear entry buffer
do
cls
a$=entry$(1)
print "entry$(1) = "+a$
loop
  See also

INPUT Commands Menu
Index