function secs = KbWait
% secs = KbWait
% 
% Waits until any key is down and returns the time (GetSecs). Command-Period 
% always causes an immediate exit.
%
% GetChar and CharAvail are character oriented (and slow), whereas KbCheck and
% KbWait are keypress oriented (and fast). 
% 
% See also: KbCheck, GetChar, CharAvail, KbDemo.

% 3/6/97  dhb  Wrote it.
% 8/2/97  dgp  Explain difference between key and character. See KbCheck.


