Skip to content

Commit

Permalink
Merge pull request #484 from Don-Ward/ready-doc
Browse files Browse the repository at this point in the history
Clarify the behaviour of ready() in the Language Reference.
  • Loading branch information
Jafaral authored Oct 22, 2024
2 parents 7544e2e + 3e83002 commit 124fcbc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions doc/book/langref.tex
Original file line number Diff line number Diff line change
Expand Up @@ -3091,10 +3091,10 @@ \subsection*{Built-in functions}

\noindent
\index{ready(f,i)}\texttt{ready(f,i)} reads up to \texttt{i} characters
from file \texttt{f}. It returns immediately with available data and
from file \texttt{f}. If \texttt{i} is positive it returns immediately with available data or
fails if no data is available. If \texttt{i} is 0, \texttt{ready()}
returns all available input. It is not currently implemented for window
values.
returns all available input or an empty string if no data is available.
It is not currently implemented for window values.

\bigskip\hrule\vspace{0.1cm}
\index{real}
Expand Down

0 comments on commit 124fcbc

Please sign in to comment.