[comp.lang.pascal] For Sale: Borland Turbo Pascal Toolboxes

bobb@vice.ICO.TEK.COM (Bob Beauchaine) (04/05/91)

  In an earlier post I made a glaring error.  I posted a function
  called pressedkey to replace the crt keypressed function.  The
  last line of the function read

    pressedkey := (regs.flags and fzero) <> 0;

  It should read

    pressedkey := (regs.flags and fzero) = 0;

  I have subsequently coded and tested both functions.  The pressedkey
  function behaves identically to the crt keypressed function, and
  does *not* remove the keystroke from the keyboard buffer as I
  thought it might.

/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\ 

Bob Beauchaine bobb@vice.ICO.TEK.COM 

C: The language that combines the power of assembly language with the 
   flexibility of assembly language.