mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-12 17:49:07 +02:00
+ Corrected errors pointed out by Marco van de voort
This commit is contained in:
parent
314127b513
commit
1ad7cbada4
14
docs/ref.tex
14
docs/ref.tex
@ -4141,6 +4141,16 @@ and marks the file as closed.}
|
||||
\latex{\inputlisting{refex/ex5.pp}}
|
||||
\html{\input{refex/ex5.tex}}
|
||||
|
||||
\function{Assigned}{(P : Pointer)}{Boolean}
|
||||
{ \var{Assigned} returns \var{True} if \var{P} is non-nil
|
||||
and retuns \var{False} of \var{P} is nil.
|
||||
|
||||
The main use of Assigned it that Procedural variables and
|
||||
class-type variables also can be passed to \var{Assigned}.
|
||||
}
|
||||
{None}{}
|
||||
|
||||
|
||||
\function{BinStr}{Value : longint; cnt : byte)}{String}
|
||||
{\var{BinStr} returns a string with the binary representation
|
||||
of \var{Value}. The string has at most \var{cnt} characters.
|
||||
@ -4498,8 +4508,8 @@ over its maximum value.}
|
||||
\latex{\inputlisting{refex/ex32.pp}}
|
||||
\html{\input{refex/ex32.tex}}
|
||||
|
||||
\procedure{Insert}{(Var Source : String;var S : String;Index : integer)}
|
||||
{\var{Insert} inserts string \var{S} in string \var{Source}, at position
|
||||
\procedure{Insert}{(Const Source : String;var S : String;Index : integer)}
|
||||
{\var{Insert} inserts string \var{Source} in string \var{S}, at position
|
||||
\var{Index}, shifting all characters after \var{Index} to the right. The
|
||||
resulting string is truncated at 255 characters, if needed.}
|
||||
{None.}
|
||||
|
Loading…
Reference in New Issue
Block a user