mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-17 18:49:15 +02:00
* high() gives upper bound, not lower bound
This commit is contained in:
parent
867f468b21
commit
29b8547a59
@ -5806,7 +5806,7 @@ Function High (Type identifier or variable reference) : Ordinal;
|
|||||||
\Description
|
\Description
|
||||||
The return value of \var{High} depends on it's argument:
|
The return value of \var{High} depends on it's argument:
|
||||||
\begin{enumerate}
|
\begin{enumerate}
|
||||||
\item If the argument is an ordinal type, \var{High} returns the lowest
|
\item If the argument is an ordinal type, \var{High} returns the highest
|
||||||
value in the range of the given ordinal type.
|
value in the range of the given ordinal type.
|
||||||
\item If the argument is an array type or an array type variable then
|
\item If the argument is an array type or an array type variable then
|
||||||
\var{High} returns the highest possible value of it's index.
|
\var{High} returns the highest possible value of it's index.
|
||||||
|
Loading…
Reference in New Issue
Block a user