Code Comments
Programming Forum and web based access to our favorite programming groups.To change KEYSIZE (the keyboard buffer size) from 15 to 30. Can anybody help me with this statement? i cant use Doskey /keysize, need another way to increase the keyboard buffer... Much appreciated !!! C.
Post Follow-up to this messageIn article <AvGdnW6a0flIWF3dRVn-iQ@is.co.za> cbreez@webmail.co.za "chantal" writes: > To change KEYSIZE (the keyboard buffer size) from 15 to 30. > Can anybody help me with this statement? i cant use Doskey /keysize, need > another way to increase the keyboard buffer... > Much appreciated !!! > C. Check SET TYPEAHEAD in your manual... Pete -- "We have not inherited the earth from our ancestors, we have borrowed it from our descendants."
Post Follow-up to this message"chantal" <cbreez@webmail.co.za> wrote in message news:<AvGdnW6a0flIWF3dRVn-iQ@is.co.za>... > To change KEYSIZE (the keyboard buffer size) from 15 to 30. > Can anybody help me with this statement? i cant use Doskey /keysize, need > another way to increase the keyboard buffer... > Much appreciated !!! > C. chantal, You could try increasing the keyboard buffer size directly in the application first, that may help. FUNCTION MAIN() // ... SET TYPEAHEAD TO 85 // ... RETURN NIL Regards, Bob From the clipx.net norton guide library: ----------------------------------------- SET TYPEAHEAD Set the size of the keyboard buffer ---------------------------------------------------------------------------- -- Syntax SET TYPEAHEAD TO <nKeyboardSize> Arguments TO <nKeyboardSize> specifies the number of keystrokes the keyboard buffer can hold from a minimum of zero to a maximum of 4096. The default size of the keyboard buffer is machine-dependent but 16 is the minimum size. Description SET TYPEAHEAD defines the size of the CA-Clipper keyboard buffer that caches keystrokes input directly by the user. SET TYPEAHEAD, however, does not affect the number of characters that can be stuffed programmatically using the KEYBOARD command. When executed, SET TYPEAHEAD clears the keyboard buffer and sets the size to <nKeyboardSize>. When TYPEAHEAD is SET TO zero, keyboard polling is suspended. An explicit request for keyboard input, however, will temporarily enable the keyboard and read any pending keystrokes from the BIOS buffer. Calling NEXTKEY() constitutes such an explicit request. NEXTKEY() reads any pending keystrokes from the BIOS buffer and returns the INKEY() value of the first keystroke read, or zero if no keystrokes are pending. Files: Library is CLIPPER.LIB.
Post Follow-up to this messageThanks , the TYPEAHEAD setting worked like a charm. :) "Robert Haley" <r_haley_3rd@email.com> wrote in message news:951d144f.0406041747.726043d1@posting.google.com... > "chantal" <cbreez@webmail.co.za> wrote in message news:<AvGdnW6a0flIWF3dRVn-iQ@is.co.za>... need > > chantal, > > You could try increasing the keyboard buffer size directly in the > application first, that may help. > > FUNCTION MAIN() > // ... > SET TYPEAHEAD TO 85 > // ... > RETURN NIL > > > Regards, > Bob > > From the clipx.net norton guide library: > ----------------------------------------- > SET TYPEAHEAD > Set the size of the keyboard buffer > -------------------------------------------------------------------------- ---- > Syntax > > SET TYPEAHEAD TO <nKeyboardSize> > > Arguments > > TO <nKeyboardSize> specifies the number of keystrokes the > keyboard > buffer can hold from a minimum of zero to a maximum of 4096. The > default size of the keyboard buffer is machine-dependent but 16 > is the > minimum size. > > Description > > SET TYPEAHEAD defines the size of the CA-Clipper keyboard buffer > that > caches keystrokes input directly by the user. SET TYPEAHEAD, > however, > does not affect the number of characters that can be stuffed > programmatically using the KEYBOARD command. When executed, SET > TYPEAHEAD clears the keyboard buffer and sets the size to > <nKeyboardSize>. > > When TYPEAHEAD is SET TO zero, keyboard polling is suspended. An > explicit request for keyboard input, however, will temporarily > enable > the keyboard and read any pending keystrokes from the BIOS > buffer. > Calling NEXTKEY() constitutes such an explicit request. > NEXTKEY() reads > any pending keystrokes from the BIOS buffer and returns the > INKEY() > value of the first keystroke read, or zero if no keystrokes are > pending. > > Files: Library is CLIPPER.LIB.
Post Follow-up to this messagePowered by vBulletin
Copyright 2000-2006 Jelsoft Enterprises Limited.