mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-15 20:39:24 +02:00
+ Update to version 0.19 of listings package
This commit is contained in:
parent
3d445a8421
commit
5684c3ed28
@ -44,14 +44,14 @@ endif
|
||||
|
||||
# Latex2html conversion.
|
||||
ifndef LATEX2HTML
|
||||
LATEX2HTML = latex2html
|
||||
LATEX2HTML = /usr/local/bin/latex2html
|
||||
endif
|
||||
|
||||
# Options for converter
|
||||
ifndef LATEX2HTMLOPTS
|
||||
LATEX2HTMLOPTS = -no_reuse -up_url "../fpctoc.html"\
|
||||
-up_title "Free Pascal manuals" -contents_in_navigation\
|
||||
-html_version 3.2
|
||||
-html_version 3.1
|
||||
endif
|
||||
|
||||
# Ascii mode ? (i.e. no pics)
|
||||
@ -113,7 +113,7 @@ endif
|
||||
#####################################################################
|
||||
|
||||
.PHONY: clean dvi help html ps psdist htmldist pdfdist txtdist \
|
||||
htm txt pdf refex alldist messages
|
||||
htm txt pdf refex alldist messages onechap
|
||||
|
||||
.SUFFIXES: .dvi .tex .ps .txt .pdf
|
||||
|
||||
@ -162,6 +162,8 @@ help:
|
||||
clean:
|
||||
-rm -rf $(HTML)
|
||||
-rm -f $(TOC) $(LOG) $(DVI) $(PDF) $(AUX) $(OUT) $(PS) *.i* $(LOT) $(TXT) $(CHK)
|
||||
-rm -f onechap.dvi onechap.aux onechap.log
|
||||
|
||||
# Units
|
||||
-$(MAKE) -C crtex clean
|
||||
-$(MAKE) -C dosex clean
|
||||
@ -171,7 +173,7 @@ clean:
|
||||
-$(MAKE) -C linuxex clean
|
||||
-$(MAKE) -C mouseex clean
|
||||
-$(MAKE) -C objectex clean
|
||||
-$(MAKE) -C opclean clean
|
||||
-$(MAKE) -C optex clean
|
||||
-$(MAKE) -C printex clean
|
||||
-$(MAKE) -C sockex clean
|
||||
-$(MAKE) -C stringex clean
|
||||
@ -215,6 +217,8 @@ messages:
|
||||
date.inc:
|
||||
@echo \\date\{`date +'%B %Y'`\} > date.inc
|
||||
|
||||
onechap: onechap.dvi
|
||||
|
||||
units.dvi: units.tex date.inc $(CHAPTERS)
|
||||
|
||||
ref.dvi: ref.tex date.inc
|
||||
@ -428,7 +432,10 @@ linuxexamples: examples
|
||||
|
||||
#
|
||||
# $Log$
|
||||
# Revision 1.27 1999-06-15 13:53:16 peter
|
||||
# Revision 1.28 1999-06-25 22:12:10 michael
|
||||
# + Update to version 0.19 of listings package
|
||||
#
|
||||
# Revision 1.27 1999/06/15 13:53:16 peter
|
||||
# * htmlzip,htmzip,htmltar updates
|
||||
# * include search/ in distro
|
||||
# * fix paths under linux automaticly
|
||||
|
32
docs/crt.tex
32
docs/crt.tex
@ -118,7 +118,7 @@ None.
|
||||
\SeeAlso
|
||||
\seep{Window}
|
||||
\end{procedure}
|
||||
\latex{\inputlisting{crtex/ex1.pp}}
|
||||
\latex{\lstinputlisting{crtex/ex1.pp}}
|
||||
\html{\input{crtex/ex1.tex}}
|
||||
\begin{procedure}{BigCursor}
|
||||
\Declaration
|
||||
@ -144,7 +144,7 @@ None.
|
||||
\SeeAlso
|
||||
\seep{DelLine}, \seep{InsLine}, \seep{ClrScr}
|
||||
\end{procedure}
|
||||
\latex{\inputlisting{crtex/ex9.pp}}
|
||||
\latex{\lstinputlisting{crtex/ex9.pp}}
|
||||
\html{\input{crtex/ex9.tex}}
|
||||
\begin{procedure}{ClrScr}
|
||||
\Declaration
|
||||
@ -159,7 +159,7 @@ None.
|
||||
\SeeAlso
|
||||
\seep{Window}
|
||||
\end{procedure}
|
||||
\latex{\inputlisting{crtex/ex8.pp}}
|
||||
\latex{\lstinputlisting{crtex/ex8.pp}}
|
||||
\html{\input{crtex/ex8.tex}}
|
||||
\begin{procedure}{CursorOff}
|
||||
\Declaration
|
||||
@ -198,7 +198,7 @@ None
|
||||
\SeeAlso
|
||||
\seep{Sound}, \seep{NoSound}
|
||||
\end{procedure}
|
||||
\latex{\inputlisting{crtex/ex15.pp}}
|
||||
\latex{\lstinputlisting{crtex/ex15.pp}}
|
||||
\html{\input{crtex/ex15.tex}}
|
||||
\begin{procedure}{DelLine}
|
||||
\Declaration
|
||||
@ -213,7 +213,7 @@ None.
|
||||
\SeeAlso
|
||||
\seep{ClrEol}, \seep{InsLine}, \seep{ClrScr}
|
||||
\end{procedure}
|
||||
\latex{\inputlisting{crtex/ex11.pp}}
|
||||
\latex{\lstinputlisting{crtex/ex11.pp}}
|
||||
\html{\input{crtex/ex11.tex}}
|
||||
\begin{procedure}{GotoXY}
|
||||
\Declaration
|
||||
@ -229,7 +229,7 @@ None.
|
||||
\SeeAlso
|
||||
\seef{WhereX}, \seef{WhereY}, \seep{Window}
|
||||
\end{procedure}
|
||||
\latex{\inputlisting{crtex/ex6.pp}}
|
||||
\latex{\lstinputlisting{crtex/ex6.pp}}
|
||||
\html{\input{crtex/ex6.tex}}
|
||||
\begin{procedure}{HighVideo}
|
||||
\Declaration
|
||||
@ -245,7 +245,7 @@ None.
|
||||
\seep{TextColor}, \seep{TextBackground}, \seep{LowVideo},
|
||||
\seep{NormVideo}
|
||||
\end{procedure}
|
||||
\latex{\inputlisting{crtex/ex14.pp}}
|
||||
\latex{\lstinputlisting{crtex/ex14.pp}}
|
||||
\html{\input{crtex/ex14.tex}}
|
||||
\begin{procedure}{InsLine}
|
||||
\Declaration
|
||||
@ -261,7 +261,7 @@ None.
|
||||
\SeeAlso
|
||||
\seep{ClrEol}, \seep{DelLine}, \seep{ClrScr}
|
||||
\end{procedure}
|
||||
\latex{\inputlisting{crtex/ex10.pp}}
|
||||
\latex{\lstinputlisting{crtex/ex10.pp}}
|
||||
\html{\input{crtex/ex10.tex}}
|
||||
\begin{function}{KeyPressed}
|
||||
\Declaration
|
||||
@ -279,7 +279,7 @@ None.
|
||||
\SeeAlso
|
||||
\seef{ReadKey}
|
||||
\end{function}
|
||||
\latex{\inputlisting{crtex/ex2.pp}}
|
||||
\latex{\lstinputlisting{crtex/ex2.pp}}
|
||||
\html{\input{crtex/ex2.tex}}
|
||||
\begin{procedure}{LowVideo}
|
||||
\Declaration
|
||||
@ -324,7 +324,7 @@ None.
|
||||
\SeeAlso
|
||||
\seep{Sound}
|
||||
\end{procedure}
|
||||
\latex{\inputlisting{crtex/ex16.pp}}
|
||||
\latex{\lstinputlisting{crtex/ex16.pp}}
|
||||
\html{\input{crtex/ex16.tex}}
|
||||
\begin{function}{ReadKey}
|
||||
\Declaration
|
||||
@ -344,7 +344,7 @@ None.
|
||||
\SeeAlso
|
||||
\seef{KeyPressed}
|
||||
\end{function}
|
||||
\latex{\inputlisting{crtex/ex3.pp}}
|
||||
\latex{\lstinputlisting{crtex/ex3.pp}}
|
||||
\html{\input{crtex/ex3.tex}}
|
||||
\begin{procedure}{Sound}
|
||||
\Declaration
|
||||
@ -373,7 +373,7 @@ None.
|
||||
\seep{TextColor}, \seep{HighVideo}, \seep{LowVideo},
|
||||
\seep{NormVideo}
|
||||
\end{procedure}
|
||||
\latex{\inputlisting{crtex/ex13.pp}}
|
||||
\latex{\lstinputlisting{crtex/ex13.pp}}
|
||||
\html{\input{crtex/ex13.tex}}
|
||||
\begin{procedure}{TextColor}
|
||||
\Declaration
|
||||
@ -390,7 +390,7 @@ None.
|
||||
\seep{TextBackground}, \seep{HighVideo}, \seep{LowVideo},
|
||||
\seep{NormVideo}
|
||||
\end{procedure}
|
||||
\latex{\inputlisting{crtex/ex12.pp}}
|
||||
\latex{\lstinputlisting{crtex/ex12.pp}}
|
||||
\html{\input{crtex/ex12.tex}}
|
||||
\begin{function}{WhereX}
|
||||
\Declaration
|
||||
@ -407,7 +407,7 @@ None.
|
||||
\SeeAlso
|
||||
\seep{GotoXY}, \seef{WhereY}, \seep{Window}
|
||||
\end{function}
|
||||
\latex{\inputlisting{crtex/ex7.pp}}
|
||||
\latex{\lstinputlisting{crtex/ex7.pp}}
|
||||
\html{\input{crtex/ex7.tex}}
|
||||
\begin{function}{WhereY}
|
||||
\Declaration
|
||||
@ -424,7 +424,7 @@ None.
|
||||
\SeeAlso
|
||||
\seep{GotoXY}, \seef{WhereX}, \seep{Window}
|
||||
\end{function}
|
||||
\latex{\inputlisting{crtex/ex7.pp}}
|
||||
\latex{\lstinputlisting{crtex/ex7.pp}}
|
||||
\html{\input{crtex/ex7.tex}}
|
||||
\begin{procedure}{Window}
|
||||
\Declaration
|
||||
@ -444,5 +444,5 @@ None.
|
||||
\SeeAlso
|
||||
\seep{GotoXY}, \seef{WhereX}, \seef{WhereY}, \seep{ClrScr}
|
||||
\end{procedure}
|
||||
\latex{\inputlisting{crtex/ex5.pp}}
|
||||
\latex{\lstinputlisting{crtex/ex5.pp}}
|
||||
\html{\input{crtex/ex5.tex}}
|
||||
|
28
docs/dos.tex
28
docs/dos.tex
@ -241,7 +241,7 @@ These settings can be coded in \var{dos.pp}, in the initialization part.
|
||||
\SeeAlso
|
||||
\seef{DiskSize}, \seep{AddDisk}
|
||||
\end{function}
|
||||
\latex{\inputlisting{dosex/ex6.pp}}
|
||||
\latex{\lstinputlisting{dosex/ex6.pp}}
|
||||
\html{\input{dosex/ex6.tex}}
|
||||
\begin{function}{DiskSize}
|
||||
\Declaration
|
||||
@ -287,7 +287,7 @@ None.
|
||||
\SeeAlso
|
||||
\seep{Exec}
|
||||
\end{function}
|
||||
\latex{\inputlisting{dosex/ex5.pp}}
|
||||
\latex{\lstinputlisting{dosex/ex5.pp}}
|
||||
\html{\input{dosex/ex5.tex}}
|
||||
\begin{function}{DosVersion}
|
||||
\Declaration
|
||||
@ -303,7 +303,7 @@ None.
|
||||
|
||||
\end{function}
|
||||
|
||||
\latex{\inputlisting{dosex/ex1.pp}}
|
||||
\latex{\lstinputlisting{dosex/ex1.pp}}
|
||||
\html{\input{dosex/ex1.tex}}
|
||||
|
||||
\begin{function}{EnvCount}
|
||||
@ -331,7 +331,7 @@ The length is limited to 255 characters. This may cause problems under
|
||||
\SeeAlso
|
||||
\seef{EnvCount}, \seef{Dos:GetEnv}
|
||||
\end{function}
|
||||
\latex{\inputlisting{dosex/ex13.pp}}
|
||||
\latex{\lstinputlisting{dosex/ex13.pp}}
|
||||
\html{\input{dosex/ex13.tex}}
|
||||
\begin{procedure}{Exec}
|
||||
\Declaration
|
||||
@ -365,7 +365,7 @@ the name is left as it is. (filenames are case sensitive under Unix)
|
||||
\Errors
|
||||
\seep{FSplit}
|
||||
\SeeAlso
|
||||
\inputlisting{dosex/ex5.pp}
|
||||
\lstinputlisting{dosex/ex5.pp}
|
||||
\end{functionl}
|
||||
\html{\input{dosex/ex5.tex}}
|
||||
\begin{procedure}{FindClose}
|
||||
@ -416,7 +416,7 @@ Errors are reported in DosError.
|
||||
\seep{FindNext},
|
||||
\seep{FindClose}
|
||||
\end{procedure}
|
||||
\latex{\inputlisting{dosex/ex7.pp}}
|
||||
\latex{\lstinputlisting{dosex/ex7.pp}}
|
||||
\html{\input{dosex/ex7.tex}}
|
||||
\begin{procedure}{FindNext}
|
||||
\Declaration
|
||||
@ -451,7 +451,7 @@ None.
|
||||
\SeeAlso
|
||||
\seefl{FExpand}{Dos:FExpand}
|
||||
\end{functionl}
|
||||
\latex{\inputlisting{dosex/ex10.pp}}
|
||||
\latex{\lstinputlisting{dosex/ex10.pp}}
|
||||
\html{\input{dosex/ex10.tex}}
|
||||
|
||||
\begin{procedure}{FSplit}
|
||||
@ -471,7 +471,7 @@ None.
|
||||
\SeeAlso
|
||||
\seefl{FSearch}{Dos:FSearch}
|
||||
\end{procedure}
|
||||
\latex{\inputlisting{dosex/ex12.pp}}
|
||||
\latex{\lstinputlisting{dosex/ex12.pp}}
|
||||
\html{\input{dosex/ex12.tex}}
|
||||
\begin{procedure}{GetCBreak}
|
||||
\Declaration
|
||||
@ -503,7 +503,7 @@ None.
|
||||
\SeeAlso
|
||||
\seepl{GetTime}{Dos:GetTime},\seep{SetDate}
|
||||
\end{procedurel}
|
||||
\latex{\inputlisting{dosex/ex2.pp}}
|
||||
\latex{\lstinputlisting{dosex/ex2.pp}}
|
||||
\html{\input{dosex/ex2.tex}}
|
||||
\begin{functionl}{GetEnv}{Dos:GetEnv}
|
||||
\Declaration
|
||||
@ -520,7 +520,7 @@ None.
|
||||
\SeeAlso
|
||||
\seef{EnvCount}, \seef{EnvStr}
|
||||
\end{functionl}
|
||||
\latex{\inputlisting{dosex/ex14.pp}}
|
||||
\latex{\lstinputlisting{dosex/ex14.pp}}
|
||||
\html{\input{dosex/ex14.tex}}
|
||||
\begin{procedure}{GetFAttr}
|
||||
\Declaration
|
||||
@ -553,7 +553,7 @@ Errors are reported in \var{DosError}
|
||||
\SeeAlso
|
||||
\seep{SetFAttr}
|
||||
\end{procedure}
|
||||
\latex{\inputlisting{dosex/ex8.pp}}
|
||||
\latex{\lstinputlisting{dosex/ex8.pp}}
|
||||
\html{\input{dosex/ex8.tex}}
|
||||
\begin{procedure}{GetFTime}
|
||||
\Declaration
|
||||
@ -570,7 +570,7 @@ Errors are reported in \var{DosError}
|
||||
\SeeAlso
|
||||
\seep{SetFTime}, \seep{PackTime},\seep{UnPackTime}
|
||||
\end{procedure}
|
||||
\latex{\inputlisting{dosex/ex9.pp}}
|
||||
\latex{\lstinputlisting{dosex/ex9.pp}}
|
||||
\html{\input{dosex/ex9.tex}}
|
||||
\begin{procedure}{GetIntVec}
|
||||
\Declaration
|
||||
@ -601,7 +601,7 @@ None.
|
||||
\seepl{GetDate}{Dos:GetDate},
|
||||
\seep{SetTime}
|
||||
\end{procedurel}
|
||||
\latex{\inputlisting{dosex/ex3.pp}}
|
||||
\latex{\lstinputlisting{dosex/ex3.pp}}
|
||||
\html{\input{dosex/ex3.tex}}
|
||||
\begin{procedure}{GetVerify}
|
||||
\Declaration
|
||||
@ -674,7 +674,7 @@ None.
|
||||
\SeeAlso
|
||||
\seep{SetFTime}, \seep{FindFirst}, \seep{FindNext}, \seep{UnPackTime}
|
||||
\end{procedure}
|
||||
\latex{\inputlisting{dosex/ex4.pp}}
|
||||
\latex{\lstinputlisting{dosex/ex4.pp}}
|
||||
\html{\input{dosex/ex4.tex}}
|
||||
\begin{procedure}{SetCBreak}
|
||||
\Declaration
|
||||
|
@ -131,6 +131,6 @@ then gives the character which caused the error. If \var{OptErr} is
|
||||
\SeeAlso
|
||||
\seef{GetLongOpts}, \seem{getopt}{3}
|
||||
\end{function}
|
||||
\latex{\inputlisting{optex/optex.pp}}
|
||||
\latex{\lstinputlisting{optex/optex.pp}}
|
||||
\html{\input{optex/optex.tex}}
|
||||
|
||||
|
@ -155,7 +155,7 @@ interrupt) command to the responsible controller; this is acomplished by
|
||||
sending the value 20h to port 20h (for the first controller) or A0h (for the
|
||||
second controller).
|
||||
The following example shows how to redirect the keyboard interrupt.
|
||||
\latex{\inputlisting{go32ex/keyclick.pp}}
|
||||
\latex{\lstinputlisting{go32ex/keyclick.pp}}
|
||||
\html{\input{go32ex/keyclick.tex}}
|
||||
\subsection{Software interrupts}
|
||||
Ordinarily, a handler installed with
|
||||
@ -193,9 +193,9 @@ See also:
|
||||
\seefl{global\_dos\_free}{globaldosfree},
|
||||
\seef{realintr}
|
||||
The following examples illustrate the use of software interrupts.
|
||||
\latex{\inputlisting{go32ex/softint.pp}}
|
||||
\latex{\lstinputlisting{go32ex/softint.pp}}
|
||||
\html{\input{go32ex/softint.tex}}
|
||||
\latex{\inputlisting{go32ex/rmpmint.pp}}
|
||||
\latex{\lstinputlisting{go32ex/rmpmint.pp}}
|
||||
\html{\input{go32ex/rmpmint.tex}}
|
||||
\subsection{Real mode callbacks}
|
||||
The callback mechanism can be thought of as the converse of calling a real
|
||||
@ -387,7 +387,7 @@ function.
|
||||
\seefl{set\_segment\_base\_address}{setsegmentbaseaddress}
|
||||
|
||||
\end{functionl}
|
||||
\latex{\inputlisting{go32ex/seldes.pp}}
|
||||
\latex{\lstinputlisting{go32ex/seldes.pp}}
|
||||
\html{\input{go32ex/seldes.tex}}
|
||||
\begin{functionl}{allocate\_memory\_block}{allocatememoryblock}
|
||||
\Declaration
|
||||
@ -524,7 +524,7 @@ Notes: No range check is performed.
|
||||
\seepl{seg\_fillchar}{segfillchar},
|
||||
\seepl{seg\_fillword}{segfillword}
|
||||
\end{procedure}
|
||||
\latex{\inputlisting{go32ex/textmess.pp}}
|
||||
\latex{\lstinputlisting{go32ex/textmess.pp}}
|
||||
\html{\input{go32ex/textmess.tex}}
|
||||
\begin{procedure}{dosmemfillword}
|
||||
\Declaration
|
||||
@ -818,7 +818,7 @@ Check the \var{int31error} variable.
|
||||
\SeeAlso
|
||||
\seefl{get\_page\_size}{getpagesize}
|
||||
\end{functionl}
|
||||
\latex{\inputlisting{go32ex/meminfo.pp}}
|
||||
\latex{\lstinputlisting{go32ex/meminfo.pp}}
|
||||
\html{\input{go32ex/meminfo.tex}}
|
||||
\begin{functionl}{get\_next\_selector\_increment\_value}{getnextselectorincrementvalue}
|
||||
\Declaration
|
||||
@ -903,7 +903,7 @@ Check the \var{int31error} variable.
|
||||
\SeeAlso
|
||||
\seefl{free\_rm\_callback}{freermcallback}
|
||||
\end{functionl}
|
||||
\latex{\inputlisting{go32ex/callback.pp}}
|
||||
\latex{\lstinputlisting{go32ex/callback.pp}}
|
||||
\html{\input{go32ex/callback.tex}}
|
||||
\begin{functionl}{get\_rm\_interrupt}{getrminterrupt}
|
||||
\Declaration
|
||||
@ -942,7 +942,7 @@ None.
|
||||
\SeeAlso
|
||||
constants returned by \seefl{get\_run\_mode}{getrunmode}
|
||||
\end{functionl}
|
||||
\latex{\inputlisting{go32ex/getrunmd.pp}}
|
||||
\latex{\lstinputlisting{go32ex/getrunmd.pp}}
|
||||
\html{\input{go32ex/getrunmd.tex}}
|
||||
\begin{functionl}{get\_segment\_base\_address}{getsegmentbaseaddress}
|
||||
\Declaration
|
||||
@ -1035,7 +1035,7 @@ should only be freed by a \seefl{global\_dos\_free}{globaldosfree} call.
|
||||
\SeeAlso
|
||||
\seefl{global\_dos\_free}{globaldosfree}
|
||||
\end{functionl}
|
||||
\latex{\inputlisting{go32ex/buffer.pp}}
|
||||
\latex{\lstinputlisting{go32ex/buffer.pp}}
|
||||
\html{\input{go32ex/buffer.tex}}
|
||||
\begin{functionl}{global\_dos\_free}{globaldosfree}
|
||||
\Declaration
|
||||
@ -1200,7 +1200,7 @@ Return values: None.
|
||||
\SeeAlso
|
||||
\seef{inportb}, \seep{outportl}, \seep{outportw}
|
||||
\end{procedure}
|
||||
\latex{\inputlisting{go32ex/outport.pp}}
|
||||
\latex{\lstinputlisting{go32ex/outport.pp}}
|
||||
\html{\input{go32ex/outport.tex}}
|
||||
\begin{procedure}{outportl}
|
||||
\Declaration
|
||||
@ -1263,7 +1263,7 @@ executing an IRET.
|
||||
\SeeAlso
|
||||
|
||||
\end{function}
|
||||
\latex{\inputlisting{go32ex/flags.pp}}
|
||||
\latex{\lstinputlisting{go32ex/flags.pp}}
|
||||
\html{\input{go32ex/flags.tex}}
|
||||
\begin{procedurel}{seg\_fillchar}{segfillchar}
|
||||
\Declaration
|
||||
@ -1293,7 +1293,7 @@ Notes: No range check is done in any way.
|
||||
\seepl{dosmemput}{dosmemput},
|
||||
\seepl{dosmemmove}{dosmemmove}
|
||||
\end{procedurel}
|
||||
\latex{\inputlisting{go32ex/vgasel.pp}}
|
||||
\latex{\lstinputlisting{go32ex/vgasel.pp}}
|
||||
\html{\input{go32ex/vgasel.tex}}
|
||||
\begin{procedurel}{seg\_fillword}{segfillword}
|
||||
\Declaration
|
||||
@ -1431,7 +1431,7 @@ protected mode address.
|
||||
\seefl{set\_rm\_interrupt}{setrminterrupt},
|
||||
\seefl{get\_rm\_interrupt}{getrminterrupt}
|
||||
\end{functionl}
|
||||
\latex{\inputlisting{go32ex/intpm.pp}}
|
||||
\latex{\lstinputlisting{go32ex/intpm.pp}}
|
||||
\html{\input{go32ex/intpm.tex}}
|
||||
\begin{functionl}{set\_rm\_interrupt}{setrminterrupt}
|
||||
\Declaration
|
||||
|
@ -50,7 +50,7 @@ report.
|
||||
|
||||
The following example shows how to use the heaptrc unit.
|
||||
|
||||
\latex{\inputlisting{heapex/heapex.pp}}
|
||||
\latex{\lstinputlisting{heapex/heapex.pp}}
|
||||
\html{\input{heapex/heapex.tex}}
|
||||
|
||||
This is the memory dump shown when running this program:
|
||||
@ -96,20 +96,20 @@ Call trace for block 0x080528A0 size 4
|
||||
The \var{FillExtraInfoType} is a procedural type used in the
|
||||
\seep{SetExtraInfo} call.
|
||||
|
||||
\begin{listing}
|
||||
\begin{lstlisting}{}
|
||||
type
|
||||
FillExtraInfoType = procedure(p : pointer);
|
||||
\end{listing}
|
||||
\end{lstlisting}{}
|
||||
The following typed constants allow to fine-tune the standard dump of the
|
||||
memory usage by \seep{DumpHeap}:
|
||||
|
||||
\begin{listing}
|
||||
\begin{lstlisting}{}
|
||||
const
|
||||
tracesize = 8;
|
||||
quicktrace : boolean = true;
|
||||
HaltOnError : boolean = true;
|
||||
keepreleased : boolean = false;
|
||||
\end{listing}
|
||||
\end{lstlisting}{}
|
||||
|
||||
\var{Tracesize} specifies how many levels of calls are displayed of the
|
||||
call stack during the memory dump. If you specify \var{keepreleased:=True}
|
||||
@ -183,13 +183,16 @@ output, and a \seep{DumpHeap} is executed.
|
||||
\seep{DumpHeap}
|
||||
\end{procedure}
|
||||
|
||||
\latex{\inputlisting{heapex/setinfo.pp}}
|
||||
\latex{\lstinputlisting{heapex/setinfo.pp}}
|
||||
\html{\input{heapex/setinfo.tex}}
|
||||
|
||||
|
||||
%
|
||||
% $Log$
|
||||
% Revision 1.2 1998-12-15 23:50:52 michael
|
||||
% Revision 1.3 1999-06-25 22:12:16 michael
|
||||
% + Update to version 0.19 of listings package
|
||||
%
|
||||
% Revision 1.2 1998/12/15 23:50:52 michael
|
||||
% * Some updates
|
||||
%
|
||||
% Revision 1.1 1998/12/14 23:17:02 michael
|
||||
|
@ -401,7 +401,7 @@ On error, \var{False} is returned, and \var{IPCerror} is set accordingly.
|
||||
\seef{msgget}, \seef{msgsnd}, \seef{msgrcv}
|
||||
\end{function}
|
||||
|
||||
\latex{\inputlisting{ipcex/msgtool.pp}}
|
||||
\latex{\lstinputlisting{ipcex/msgtool.pp}}
|
||||
\html{\input{ipcex/msgtool.tex}}
|
||||
|
||||
\begin{function}{semget}
|
||||
@ -538,7 +538,7 @@ The function returns -1 on error, and \var{IPCerror} is set accordingly.
|
||||
\seef{semget}, \seef{semop}
|
||||
\end{function}
|
||||
|
||||
\latex{\inputlisting{ipcex/semtool.pp}}
|
||||
\latex{\lstinputlisting{ipcex/semtool.pp}}
|
||||
\html{\input{ipcex/semtool.tex}}
|
||||
|
||||
|
||||
@ -643,5 +643,5 @@ is set.
|
||||
\seef{shmget}, \seef{shmat}, \seef{shmdt}
|
||||
\end{function}
|
||||
|
||||
\latex{\inputlisting{ipcex/shmtool.pp}}
|
||||
\latex{\lstinputlisting{ipcex/shmtool.pp}}
|
||||
\html{\input{ipcex/shmtool.tex}}
|
||||
|
106
docs/linux.tex
106
docs/linux.tex
@ -409,7 +409,7 @@ dangling symbolic link.
|
||||
\SeeAlso
|
||||
\seef{Chown}, \seef{Chmod}, \seem{Access}{2}
|
||||
\end{function}
|
||||
\latex{\inputlisting{linuxex/ex26.pp}}
|
||||
\latex{\lstinputlisting{linuxex/ex26.pp}}
|
||||
\html{\input{linuxex/ex26.tex}}
|
||||
\begin{procedure}{AssignPipe}
|
||||
\Declaration
|
||||
@ -431,7 +431,7 @@ Reading and writing happens through the usual \var{Readln(Pipe\_in,...)} and
|
||||
\SeeAlso
|
||||
\seep{POpen}, \seef{MkFifo}, \seem{pipe}{2}
|
||||
\end{procedure}
|
||||
\latex{\inputlisting{linuxex/ex36.pp}}
|
||||
\latex{\lstinputlisting{linuxex/ex36.pp}}
|
||||
\html{\input{linuxex/ex36.tex}}
|
||||
\begin{procedure}{AssignStream}
|
||||
\Declaration
|
||||
@ -463,7 +463,7 @@ Other errors include the ones by the fork and exec programs
|
||||
\SeeAlso
|
||||
\seep{AssignPipe}, \seep{POpen},\seem{pipe}{2}
|
||||
\end{procedure}
|
||||
\latex{\inputlisting{linuxex/ex38.pp}}
|
||||
\latex{\lstinputlisting{linuxex/ex38.pp}}
|
||||
\html{\input{linuxex/ex38.tex}}
|
||||
\begin{function}{BaseName}
|
||||
\Declaration
|
||||
@ -482,7 +482,7 @@ None.
|
||||
\SeeAlso
|
||||
\seef{DirName}, \seef{FExpand}, \seem{Basename}{1}
|
||||
\end{function}
|
||||
\latex{\inputlisting{linuxex/ex48.pp}}
|
||||
\latex{\lstinputlisting{linuxex/ex48.pp}}
|
||||
\html{\input{linuxex/ex48.tex}}
|
||||
\begin{procedure}{CFMakeRaw}
|
||||
\Declaration
|
||||
@ -558,7 +558,7 @@ symbolic link, i.e. a symbolic link, whose expansion points to itself.
|
||||
\SeeAlso
|
||||
\seef{Chmod}, \seef{Access}, \seem{Chown}(2)
|
||||
\end{function}
|
||||
\latex{\inputlisting{linuxex/ex24.pp}}
|
||||
\latex{\lstinputlisting{linuxex/ex24.pp}}
|
||||
\html{\input{linuxex/ex24.tex}}
|
||||
\begin{function}{Chmod}
|
||||
\Declaration
|
||||
@ -607,7 +607,7 @@ symbolic link, i.e. a symbolic link, whose expansion points to itself.
|
||||
\SeeAlso
|
||||
\seef{Chown}, \seef{Access}, \seem{Chmod}(2)
|
||||
\end{function}
|
||||
\latex{\inputlisting{linuxex/ex23.pp}}
|
||||
\latex{\lstinputlisting{linuxex/ex23.pp}}
|
||||
\html{\input{linuxex/ex23.tex}}
|
||||
\begin{function}{CloseDir}
|
||||
\Declaration
|
||||
@ -639,7 +639,7 @@ None.
|
||||
\SeeAlso
|
||||
\seef{BaseName}, \seef{FExpand}, \seem{Dirname}{1}
|
||||
\end{function}
|
||||
\latex{\inputlisting{linuxex/ex47.pp}}
|
||||
\latex{\lstinputlisting{linuxex/ex47.pp}}
|
||||
\html{\input{linuxex/ex47.tex}}
|
||||
\begin{procedure}{Dup}
|
||||
\Declaration
|
||||
@ -665,7 +665,7 @@ fileposition in both files.
|
||||
\SeeAlso
|
||||
\seep{Dup2}, \seem{Dup}{2}
|
||||
\end{procedure}
|
||||
\latex{\inputlisting{linuxex/ex31.pp}}
|
||||
\latex{\lstinputlisting{linuxex/ex31.pp}}
|
||||
\html{\input{linuxex/ex31.tex}}
|
||||
\begin{procedure}{Dup2}
|
||||
\Declaration
|
||||
@ -693,7 +693,7 @@ fileposition in both files.
|
||||
\SeeAlso
|
||||
\seep{Dup}, \seem{Dup2}{2}
|
||||
\end{procedure}
|
||||
\latex{\inputlisting{linuxex/ex32.pp}}
|
||||
\latex{\lstinputlisting{linuxex/ex32.pp}}
|
||||
\html{\input{linuxex/ex32.tex}}
|
||||
\begin{procedure}{EpochToLocal}
|
||||
\Declaration
|
||||
@ -709,7 +709,7 @@ None
|
||||
\SeeAlso
|
||||
\seef{GetEpochTime}, \seef{LocalToEpoch}, \seep{GetTime},\seep{GetDate}
|
||||
\end{procedure}
|
||||
\latex{\inputlisting{linuxex/ex3.pp}}
|
||||
\latex{\lstinputlisting{linuxex/ex3.pp}}
|
||||
\html{\input{linuxex/ex3.tex}}
|
||||
\begin{procedure}{Execl}
|
||||
\Declaration
|
||||
@ -740,7 +740,7 @@ A compononent of the path has no search permission.
|
||||
\seep{Execve}, \seep{Execv}, \seep{Execvp}, \seep{Execle},
|
||||
\seep{Execlp}, \seef {Fork}, \seem{execvp}{3}
|
||||
\end{procedure}
|
||||
\latex{\inputlisting{linuxex/ex10.pp}}
|
||||
\latex{\lstinputlisting{linuxex/ex10.pp}}
|
||||
\html{\input{linuxex/ex10.tex}}
|
||||
\begin{procedure}{Execle}
|
||||
\Declaration
|
||||
@ -772,7 +772,7 @@ A compononent of the path has no search permission.
|
||||
\seep{Execve}, \seep{Execv}, \seep{Execvp},
|
||||
\seep{Execl}, \seep{Execlp}, \seef {Fork}, \seem{execvp}{3}
|
||||
\end{procedure}
|
||||
\latex{\inputlisting{linuxex/ex11.pp}}
|
||||
\latex{\lstinputlisting{linuxex/ex11.pp}}
|
||||
\html{\input{linuxex/ex11.tex}}
|
||||
\begin{procedure}{Execlp}
|
||||
\Declaration
|
||||
@ -804,7 +804,7 @@ A compononent of the path has no search permission.
|
||||
\seep{Execve}, \seep{Execv}, \seep{Execvp}, \seep{Execle},
|
||||
\seep{Execl}, \seef {Fork}, \seem{execvp}{3}
|
||||
\end{procedure}
|
||||
\latex{\inputlisting{linuxex/ex12.pp}}
|
||||
\latex{\lstinputlisting{linuxex/ex12.pp}}
|
||||
\html{\input{linuxex/ex12.tex}}
|
||||
\begin{procedure}{Execv}
|
||||
\Declaration
|
||||
@ -837,7 +837,7 @@ A compononent of the path has no search permission.
|
||||
\seep{Execve}, \seep{Execvp}, \seep{Execle},
|
||||
\seep{Execl}, \seep{Execlp}, \seef {Fork}, \seem{execv}{3}
|
||||
\end{procedure}
|
||||
\latex{\inputlisting{linuxex/ex8.pp}}
|
||||
\latex{\lstinputlisting{linuxex/ex8.pp}}
|
||||
\html{\input{linuxex/ex8.tex}}
|
||||
\begin{procedure}{Execve}
|
||||
\Declaration
|
||||
@ -869,7 +869,7 @@ A compononent of the path has no search permission.
|
||||
\seep{Execve}, \seep{Execv}, \seep{Execvp} \seep{Execle},
|
||||
\seep{Execl}, \seep{Execlp}, \seef {Fork}, \seem{execve}{2}
|
||||
\end{procedure}
|
||||
\latex{\inputlisting{linuxex/ex7.pp}}
|
||||
\latex{\lstinputlisting{linuxex/ex7.pp}}
|
||||
\html{\input{linuxex/ex7.tex}}
|
||||
\begin{procedure}{Execvp}
|
||||
\Declaration
|
||||
@ -902,7 +902,7 @@ A compononent of the path has no search permission.
|
||||
\seep{Execve}, \seep{Execv}, \seep{Execle},
|
||||
\seep{Execl}, \seep{Execlp}, \seef {Fork}, \seem{execvp}{3}
|
||||
\end{procedure}
|
||||
\latex{\inputlisting{linuxex/ex9.pp}}
|
||||
\latex{\lstinputlisting{linuxex/ex9.pp}}
|
||||
\html{\input{linuxex/ex9.tex}}
|
||||
|
||||
\begin{procedurel}{FD\_ZERO}{FDZero}
|
||||
@ -1027,7 +1027,7 @@ Errors are returned in LinuxError
|
||||
\seef{fdClose}, \seef{fdRead}, \seef{fdWrite},\seef{fdTruncate},
|
||||
\seef{fdFlush}, \seef{fdSeek}
|
||||
\end{function}
|
||||
\latex{\inputlisting{linuxex/ex19.pp}}
|
||||
\latex{\lstinputlisting{linuxex/ex19.pp}}
|
||||
\html{\input{linuxex/ex19.tex}}
|
||||
\begin{function}{fdRead}
|
||||
\Declaration
|
||||
@ -1046,7 +1046,7 @@ Errors are returned in LinuxError.
|
||||
\seef{fdOpen}, \seef{fdClose}, \seef{fdWrite},\seef{fdTruncate},
|
||||
\seef{fdFlush}, \seef{fdSeek}
|
||||
\end{function}
|
||||
\latex{\inputlisting{linuxex/ex20.pp}}
|
||||
\latex{\lstinputlisting{linuxex/ex20.pp}}
|
||||
\html{\input{linuxex/ex20.tex}}
|
||||
\begin{function}{fdSeek}
|
||||
\Declaration
|
||||
@ -1115,7 +1115,7 @@ None
|
||||
\SeeAlso
|
||||
\seef{BaseName},\seef{DirName}
|
||||
\end{function}
|
||||
\latex{\inputlisting{linuxex/ex45.pp}}
|
||||
\latex{\lstinputlisting{linuxex/ex45.pp}}
|
||||
\html{\input{linuxex/ex45.tex}}
|
||||
\begin{procedure}{FLock}
|
||||
\Declaration
|
||||
@ -1164,7 +1164,7 @@ failed.
|
||||
\SeeAlso
|
||||
\seef{FStat}, \seef{LStat}, \seem{statfs}{2}
|
||||
\end{function}
|
||||
\latex{\inputlisting{linuxex/ex30.pp}}
|
||||
\latex{\lstinputlisting{linuxex/ex30.pp}}
|
||||
\html{\input{linuxex/ex30.tex}}
|
||||
\begin{function}{FSearch}
|
||||
\Declaration
|
||||
@ -1178,7 +1178,7 @@ An empty string if no such file was found.
|
||||
\SeeAlso
|
||||
\seef{BaseName}, \seef{DirName}, \seef{FExpand}
|
||||
\end{function}
|
||||
\latex{\inputlisting{linuxex/ex46.pp}}
|
||||
\latex{\lstinputlisting{linuxex/ex46.pp}}
|
||||
\html{\input{linuxex/ex46.tex}}
|
||||
\begin{function}{FStat}
|
||||
\Declaration
|
||||
@ -1200,7 +1200,7 @@ failed.
|
||||
\SeeAlso
|
||||
\seef{FSStat}, \seef{LStat}, \seem{stat}{2}
|
||||
\end{function}
|
||||
\latex{\inputlisting{linuxex/ex28.pp}}
|
||||
\latex{\lstinputlisting{linuxex/ex28.pp}}
|
||||
\html{\input{linuxex/ex28.tex}}
|
||||
\begin{function}{Fcntl}
|
||||
\Declaration
|
||||
@ -1280,7 +1280,7 @@ On error, -1 is returned to the parent, and no child is created.
|
||||
\SeeAlso
|
||||
\seep{Execve}, \seem{fork}{2}
|
||||
\end{function}
|
||||
\latex{\inputlisting{linuxex/ex14.pp}}
|
||||
\latex{\lstinputlisting{linuxex/ex14.pp}}
|
||||
\html{\input{linuxex/ex14.tex}}
|
||||
\begin{procedure}{GetDate}
|
||||
\Declaration
|
||||
@ -1295,7 +1295,7 @@ None
|
||||
\SeeAlso
|
||||
\seef{GetEpochTime}, \seep{GetTime}, \seep{EpochToLocal}
|
||||
\end{procedure}
|
||||
\latex{\inputlisting{linuxex/ex6.pp}}
|
||||
\latex{\lstinputlisting{linuxex/ex6.pp}}
|
||||
\html{\input{linuxex/ex6.tex}}
|
||||
\begin{function}{GetDomainName}
|
||||
\Declaration
|
||||
@ -1311,7 +1311,7 @@ None.
|
||||
\SeeAlso
|
||||
\seef{GetHostName},seem{Getdomainname}{2}
|
||||
\end{function}
|
||||
\latex{\inputlisting{linuxex/ex39.pp}}
|
||||
\latex{\lstinputlisting{linuxex/ex39.pp}}
|
||||
\html{\input{linuxex/ex39.tex}}
|
||||
\begin{function}{GetEGid}
|
||||
\Declaration
|
||||
@ -1324,7 +1324,7 @@ None.
|
||||
\SeeAlso
|
||||
\seef{GetGid}, \seem{getegid}{2}
|
||||
\end{function}
|
||||
\latex{\inputlisting{linuxex/ex18.pp}}
|
||||
\latex{\lstinputlisting{linuxex/ex18.pp}}
|
||||
\html{\input{linuxex/ex18.tex}}
|
||||
\begin{function}{GetEUid}
|
||||
\Declaration
|
||||
@ -1337,7 +1337,7 @@ None.
|
||||
\SeeAlso
|
||||
\seef{GetEUid}, \seem{geteuid}{2}
|
||||
\end{function}
|
||||
\latex{\inputlisting{linuxex/ex17.pp}}
|
||||
\latex{\lstinputlisting{linuxex/ex17.pp}}
|
||||
\html{\input{linuxex/ex17.tex}}
|
||||
\begin{function}{GetEnv}
|
||||
\Declaration
|
||||
@ -1355,7 +1355,7 @@ None.
|
||||
\SeeAlso
|
||||
\seem{sh}{1}, \seem{csh}{1}
|
||||
\end{function}
|
||||
\latex{\inputlisting{linuxex/ex41.pp}}
|
||||
\latex{\lstinputlisting{linuxex/ex41.pp}}
|
||||
\html{\input{linuxex/ex41.tex}}
|
||||
\begin{function}{GetEpochTime}
|
||||
\Declaration
|
||||
@ -1371,7 +1371,7 @@ no errors
|
||||
\SeeAlso
|
||||
\seep{EpochToLocal}, \seep{GetTime}, \seem{time}{2}
|
||||
\end{function}
|
||||
\latex{\inputlisting{linuxex/ex1.pp}}
|
||||
\latex{\lstinputlisting{linuxex/ex1.pp}}
|
||||
\html{\input{linuxex/ex1.tex}}
|
||||
\begin{function}{GetFS}
|
||||
\Declaration
|
||||
@ -1386,7 +1386,7 @@ In case the file was not opened, then -1 is returned.
|
||||
\SeeAlso
|
||||
\seef{Select}
|
||||
\end{function}
|
||||
\latex{\inputlisting{linuxex/ex34.pp}}
|
||||
\latex{\lstinputlisting{linuxex/ex34.pp}}
|
||||
\html{\input{linuxex/ex34.tex}}
|
||||
\begin{function}{GetGid}
|
||||
\Declaration
|
||||
@ -1399,7 +1399,7 @@ None.
|
||||
\SeeAlso
|
||||
\seef{GetEGid}, \seem{getgid}{2}
|
||||
\end{function}
|
||||
\latex{\inputlisting{linuxex/ex18.pp}}
|
||||
\latex{\lstinputlisting{linuxex/ex18.pp}}
|
||||
\html{\input{linuxex/ex18.tex}}
|
||||
\begin{function}{GetHostName}
|
||||
\Declaration
|
||||
@ -1415,7 +1415,7 @@ None.
|
||||
\SeeAlso
|
||||
\seef{GetDomainName},seem{Gethostname}{2}
|
||||
\end{function}
|
||||
\latex{\inputlisting{linuxex/ex40.pp}}
|
||||
\latex{\lstinputlisting{linuxex/ex40.pp}}
|
||||
\html{\input{linuxex/ex40.tex}}
|
||||
\begin{function}{GetPid}
|
||||
\Declaration
|
||||
@ -1428,7 +1428,7 @@ None.
|
||||
\SeeAlso
|
||||
\seef{GetPPid}, \seem{getpid}{2}
|
||||
\end{function}
|
||||
\latex{\inputlisting{linuxex/ex16.pp}}
|
||||
\latex{\lstinputlisting{linuxex/ex16.pp}}
|
||||
\html{\input{linuxex/ex16.tex}}
|
||||
\begin{function}{GetPPid}
|
||||
\Declaration
|
||||
@ -1441,7 +1441,7 @@ None.
|
||||
\SeeAlso
|
||||
\seef{GetPid}, \seem{getppid}{2}
|
||||
\end{function}
|
||||
\latex{\inputlisting{linuxex/ex16.pp}}
|
||||
\latex{\lstinputlisting{linuxex/ex16.pp}}
|
||||
\html{\input{linuxex/ex16.tex}}
|
||||
\begin{function}{GetPriority}
|
||||
\Declaration
|
||||
@ -1481,7 +1481,7 @@ None
|
||||
\SeeAlso
|
||||
\seef{GetEpochTime}, \seep{GetDate}, \seep{EpochToLocal}
|
||||
\end{procedure}
|
||||
\latex{\inputlisting{linuxex/ex5.pp}}
|
||||
\latex{\lstinputlisting{linuxex/ex5.pp}}
|
||||
\html{\input{linuxex/ex5.tex}}
|
||||
\begin{function}{GetUid}
|
||||
\Declaration
|
||||
@ -1494,7 +1494,7 @@ None.
|
||||
\SeeAlso
|
||||
\seef{GetEUid}, \seem{getuid}{2}
|
||||
\end{function}
|
||||
\latex{\inputlisting{linuxex/ex17.pp}}
|
||||
\latex{\lstinputlisting{linuxex/ex17.pp}}
|
||||
\html{\input{linuxex/ex17.tex}}
|
||||
\begin{function}{Glob}
|
||||
\Declaration
|
||||
@ -1517,7 +1517,7 @@ usual meaning.
|
||||
\SeeAlso
|
||||
\seep{GlobFree}, \seem{Glob}{3}
|
||||
\end{function}
|
||||
\latex{\inputlisting{linuxex/ex49.pp}}
|
||||
\latex{\lstinputlisting{linuxex/ex49.pp}}
|
||||
\html{\input{linuxex/ex49.tex}}
|
||||
\begin{procedure}{GlobFree}
|
||||
\Declaration
|
||||
@ -1553,7 +1553,7 @@ function, that's why we don't list them here
|
||||
\SeeAlso
|
||||
\seem{ioctl}{2}
|
||||
\end{procedure}
|
||||
\latex{\inputlisting{linuxex/ex54.pp}}
|
||||
\latex{\lstinputlisting{linuxex/ex54.pp}}
|
||||
\html{\input{linuxex/ex54.tex}}
|
||||
\begin{function}{IOperm}
|
||||
\Declaration
|
||||
@ -1694,7 +1694,7 @@ symbolic link. If so it returns \var{True}
|
||||
\seefl{S\_ISSOCK}{ISSOCK}
|
||||
|
||||
\SeeAlso
|
||||
\inputlisting{linuxex/ex53.pp}
|
||||
\lstinputlisting{linuxex/ex53.pp}
|
||||
\end{functionl}
|
||||
\html{\input{linuxex/ex53.tex}}
|
||||
\begin{functionl}{S\_ISREG}{ISREG}
|
||||
@ -1782,7 +1782,7 @@ failed.
|
||||
\SeeAlso
|
||||
\seef{FStat}, \seef{FSStat}, \seem{stat}{2}
|
||||
\end{function}
|
||||
\latex{\inputlisting{linuxex/ex29.pp}}
|
||||
\latex{\lstinputlisting{linuxex/ex29.pp}}
|
||||
\html{\input{linuxex/ex29.tex}}
|
||||
\begin{function}{Link}
|
||||
\Declaration
|
||||
@ -1822,7 +1822,7 @@ entry.
|
||||
\SeeAlso
|
||||
\seef{SymLink}, \seef{UnLink}, \seem{Link}{2}
|
||||
\end{function}
|
||||
\latex{\inputlisting{linuxex/ex21.pp}}
|
||||
\latex{\lstinputlisting{linuxex/ex21.pp}}
|
||||
\html{\input{linuxex/ex21.tex}}
|
||||
\begin{function}{LocalToEpoch}
|
||||
\Declaration
|
||||
@ -1838,7 +1838,7 @@ None
|
||||
\SeeAlso
|
||||
\seef{GetEpochTime}, \seep{EpochToLocal}, \seep{GetTime},\seep{GetDate}
|
||||
\end{function}
|
||||
\latex{\inputlisting{linuxex/ex4.pp}}
|
||||
\latex{\lstinputlisting{linuxex/ex4.pp}}
|
||||
\html{\input{linuxex/ex4.tex}}
|
||||
\begin{function}{MkFifo}
|
||||
\Declaration
|
||||
@ -1878,7 +1878,7 @@ do a priority increase.
|
||||
\SeeAlso
|
||||
\seef{GetPriority}, \seef{SetPriority}, \seem{Nice}{2}
|
||||
\end{procedure}
|
||||
\latex{\inputlisting{linuxex/ex15.pp}}
|
||||
\latex{\lstinputlisting{linuxex/ex15.pp}}
|
||||
\html{\input{linuxex/ex15.tex}}
|
||||
\begin{function}{OpenDir}
|
||||
\Declaration
|
||||
@ -1894,7 +1894,7 @@ Errors are returned in LinuxError.
|
||||
\seef{CloseDir}, \seef{ReadDir}, \seep{SeekDir}, \seef{TellDir},
|
||||
\seem{opendir}{3}
|
||||
\end{function}
|
||||
\latex{\inputlisting{linuxex/ex35.pp}}
|
||||
\latex{\lstinputlisting{linuxex/ex35.pp}}
|
||||
\html{\input{linuxex/ex35.tex}}
|
||||
\begin{function}{PClose}
|
||||
\Declaration
|
||||
@ -1934,7 +1934,7 @@ Execve, Dup and AssignPipe commands.
|
||||
\SeeAlso
|
||||
\seep{AssignPipe}, \seem{popen}{3}, \seef{PClose}
|
||||
\end{procedure}
|
||||
\latex{\inputlisting{linuxex/ex37.pp}}
|
||||
\latex{\lstinputlisting{linuxex/ex37.pp}}
|
||||
\html{\input{linuxex/ex37.tex}}
|
||||
\begin{function}{ReadDir}
|
||||
\Declaration
|
||||
@ -2020,7 +2020,7 @@ On error, the function returns -1, and Errors are reported in LinuxError :
|
||||
\seepl{FD\_Set}{FDSet},
|
||||
\seefl{FD\_IsSet}{FDIsSet}
|
||||
\end{function}
|
||||
\latex{\inputlisting{linuxex/ex33.pp}}
|
||||
\latex{\lstinputlisting{linuxex/ex33.pp}}
|
||||
\html{\input{linuxex/ex33.tex}}
|
||||
\begin{function}{SelectText}
|
||||
\Declaration
|
||||
@ -2083,7 +2083,7 @@ Errors are reported in LinuxError.
|
||||
\SeeAlso
|
||||
\seep{POpen}, \seef{Fork}, \seep{Execve}, \seem{system}{3}
|
||||
\end{function}
|
||||
\latex{\inputlisting{linuxex/ex56.pp}}
|
||||
\latex{\lstinputlisting{linuxex/ex56.pp}}
|
||||
\html{\input{linuxex/ex56.tex}}
|
||||
\begin{procedure}{SigAction}
|
||||
\Declaration
|
||||
@ -2127,7 +2127,7 @@ from within its own signal handler.
|
||||
\seem{Sigaction}{2}
|
||||
|
||||
\end{procedure}
|
||||
\latex{\inputlisting{linuxex/ex57.pp}}
|
||||
\latex{\lstinputlisting{linuxex/ex57.pp}}
|
||||
\html{\input{linuxex/ex57.tex}}
|
||||
\begin{function}{SigPending}
|
||||
\Declaration
|
||||
@ -2206,7 +2206,7 @@ The return value for Signal is the old signal handler, or nil on error.
|
||||
\SeeAlso
|
||||
\seep{SigAction},\seef{Kill}, \seem{Signal}{2}
|
||||
\end{function}
|
||||
\latex{\inputlisting{linuxex/ex58.pp}}
|
||||
\latex{\lstinputlisting{linuxex/ex58.pp}}
|
||||
\html{\input{linuxex/ex58.tex}}
|
||||
\begin{function}{SymLink}
|
||||
\Declaration
|
||||
@ -2246,7 +2246,7 @@ entry.
|
||||
\SeeAlso
|
||||
\seef{Link}, \seef{UnLink}, \seem{Symlink}{2}
|
||||
\end{function}
|
||||
\latex{\inputlisting{linuxex/ex22.pp}}
|
||||
\latex{\lstinputlisting{linuxex/ex22.pp}}
|
||||
\html{\input{linuxex/ex22.tex}}
|
||||
\begin{function}{TCDrain}
|
||||
\Declaration
|
||||
@ -2326,7 +2326,7 @@ Errors are reported in LinuxError
|
||||
\SeeAlso
|
||||
\seef{TCSetAttr}, \seem{termios}{2}
|
||||
\end{function}
|
||||
\latex{\inputlisting{linuxex/ex55.pp}}
|
||||
\latex{\lstinputlisting{linuxex/ex55.pp}}
|
||||
\html{\input{linuxex/ex55.tex}}
|
||||
\begin{function}{TCGetPGrp}
|
||||
\Declaration
|
||||
@ -2446,7 +2446,7 @@ None
|
||||
\SeeAlso
|
||||
\seef{Chmod}, \seem{Umask}{2}
|
||||
\end{function}
|
||||
\latex{\inputlisting{linuxex/ex27.pp}}
|
||||
\latex{\lstinputlisting{linuxex/ex27.pp}}
|
||||
\html{\input{linuxex/ex27.tex}}
|
||||
\begin{procedure}{Uname}
|
||||
\Declaration
|
||||
@ -2519,7 +2519,7 @@ Other errors may occur, but aren't documented.
|
||||
\SeeAlso
|
||||
\seef{GetEpochTime}, \seef{Chown}, \seef{Access}, \seem{utime}(2)
|
||||
\end{function}
|
||||
\latex{\inputlisting{linuxex/ex25.pp}}
|
||||
\latex{\lstinputlisting{linuxex/ex25.pp}}
|
||||
\html{\input{linuxex/ex25.tex}}
|
||||
\begin{function}{WaitPid}
|
||||
\Declaration
|
||||
|
@ -61,7 +61,7 @@ None.
|
||||
\SeeAlso
|
||||
\seef{GetLastButtonRelease}
|
||||
\end{function}
|
||||
\latex{\inputlisting{mouseex/mouse5.pp}}
|
||||
\latex{\lstinputlisting{mouseex/mouse5.pp}}
|
||||
\html{\input{mouseex/mouse5.tex}}
|
||||
\begin{function}{GetLastButtonRelease}
|
||||
\Declaration
|
||||
@ -103,7 +103,7 @@ None.
|
||||
\seef{LPressed}, \seef{MPressed}, \seef{RPressed},
|
||||
\seep{SetMousePos}
|
||||
\end{procedure}
|
||||
\latex{\inputlisting{mouseex/mouse3.pp}}
|
||||
\latex{\lstinputlisting{mouseex/mouse3.pp}}
|
||||
\html{\input{mouseex/mouse3.tex}}
|
||||
\begin{procedure}{HideMouse}
|
||||
\Declaration
|
||||
@ -139,7 +139,7 @@ None.
|
||||
\SeeAlso
|
||||
\var{MouseFound} variable.
|
||||
\end{procedure}
|
||||
\latex{\inputlisting{mouseex/mouse1.pp}}
|
||||
\latex{\lstinputlisting{mouseex/mouse1.pp}}
|
||||
\html{\input{mouseex/mouse1.tex}}
|
||||
\begin{function}{LPressed}
|
||||
\Declaration
|
||||
@ -204,7 +204,7 @@ None
|
||||
\SeeAlso
|
||||
\seep{SetMouseShape}
|
||||
\end{procedure}
|
||||
\latex{\inputlisting{mouseex/mouse8.pp}}
|
||||
\latex{\lstinputlisting{mouseex/mouse8.pp}}
|
||||
\html{\input{mouseex/mouse8.tex}}
|
||||
\begin{procedure}{SetMouseHideWindow}
|
||||
\Declaration
|
||||
@ -246,7 +246,7 @@ None.
|
||||
\SeeAlso
|
||||
\seep{GetMouseState}
|
||||
\end{procedure}
|
||||
\latex{\inputlisting{mouseex/mouse4.pp}}
|
||||
\latex{\lstinputlisting{mouseex/mouse4.pp}}
|
||||
\html{\input{mouseex/mouse4.tex}}
|
||||
\begin{procedure}{SetMouseShape}
|
||||
\Declaration
|
||||
@ -265,7 +265,7 @@ None.
|
||||
\SeeAlso
|
||||
\seep{SetMouseAscii}
|
||||
\end{procedure}
|
||||
\latex{\inputlisting{mouseex/mouse7.pp}}
|
||||
\latex{\lstinputlisting{mouseex/mouse7.pp}}
|
||||
\html{\input{mouseex/mouse7.tex}}
|
||||
\begin{procedure}{SetMouseSpeed}
|
||||
\Declaration
|
||||
@ -286,7 +286,7 @@ None.
|
||||
\SeeAlso
|
||||
|
||||
\end{procedure}
|
||||
\latex{\inputlisting{mouseex/mouse10.pp}}
|
||||
\latex{\lstinputlisting{mouseex/mouse10.pp}}
|
||||
\html{\input{mouseex/mouse10.tex}}
|
||||
\begin{procedure}{SetMouseWindow}
|
||||
\Declaration
|
||||
@ -326,7 +326,7 @@ None.
|
||||
\SeeAlso
|
||||
\seep{SetMouseYRange}, \seep{SetMouseWindow}
|
||||
\end{procedure}
|
||||
\latex{\inputlisting{mouseex/mouse6.pp}}
|
||||
\latex{\lstinputlisting{mouseex/mouse6.pp}}
|
||||
\html{\input{mouseex/mouse6.tex}}
|
||||
\begin{procedure}{SetMouseYRange}
|
||||
\Declaration
|
||||
@ -360,6 +360,6 @@ None.
|
||||
\SeeAlso
|
||||
\seep{HideMouse},\seep{SetMouseHideWindow}
|
||||
\end{procedure}
|
||||
\latex{\inputlisting{mouseex/mouse2.pp}}
|
||||
\latex{\lstinputlisting{mouseex/mouse2.pp}}
|
||||
\html{\input{mouseex/mouse2.tex}}
|
||||
|
||||
|
@ -157,7 +157,7 @@ If not enough memory is available, an 'out of memory' error will occur.
|
||||
\seep{DisposeStr}
|
||||
\end{function}
|
||||
|
||||
\latex{\inputlisting{objectex/ex40.pp}}
|
||||
\latex{\lstinputlisting{objectex/ex40.pp}}
|
||||
\html{\input{objectex/ex40.tex}}
|
||||
|
||||
\begin{procedure}{DisposeStr}
|
||||
@ -234,7 +234,7 @@ In case of error (if a object with the same \var{ObjType}) is already
|
||||
registered), run-time error 212 occurs.
|
||||
\end{procedure}
|
||||
|
||||
\latex{\inputlisting{objectex/myobject.pp}}
|
||||
\latex{\lstinputlisting{objectex/myobject.pp}}
|
||||
\html{\input{objectex/myobject.tex}}
|
||||
|
||||
\begin{function}{LongMul}
|
||||
@ -294,7 +294,7 @@ None.
|
||||
\seef{TRect.Equals}, \seef{TRect.Contains}
|
||||
\end{function}
|
||||
|
||||
\latex{\inputlisting{objectex/ex1.pp}}
|
||||
\latex{\lstinputlisting{objectex/ex1.pp}}
|
||||
\html{\input{objectex/ex1.tex}}
|
||||
|
||||
\begin{function}{TRect.Equals}
|
||||
@ -336,7 +336,7 @@ None.
|
||||
\seepl{Assign}{TRect.Assign}
|
||||
\end{procedure}
|
||||
|
||||
\latex{\inputlisting{objectex/ex2.pp}}
|
||||
\latex{\lstinputlisting{objectex/ex2.pp}}
|
||||
\html{\input{objectex/ex2.tex}}
|
||||
|
||||
\begin{procedure}{TRect.Union}
|
||||
@ -351,7 +351,7 @@ None.
|
||||
\seepl{Intersect}{TRect.Intersect}
|
||||
\end{procedure}
|
||||
|
||||
\latex{\inputlisting{objectex/ex3.pp}}
|
||||
\latex{\lstinputlisting{objectex/ex3.pp}}
|
||||
\html{\input{objectex/ex3.tex}}
|
||||
|
||||
\begin{procedure}{TRect.Intersect}
|
||||
@ -367,7 +367,7 @@ None.
|
||||
\seepl{Union}{TRect.Union}
|
||||
\end{procedure}
|
||||
|
||||
\latex{\inputlisting{objectex/ex4.pp}}
|
||||
\latex{\lstinputlisting{objectex/ex4.pp}}
|
||||
\html{\input{objectex/ex4.tex}}
|
||||
|
||||
\begin{procedure}{TRect.Move}
|
||||
@ -383,7 +383,7 @@ None.
|
||||
\seepl{Grow}{TRect.Grow}
|
||||
\end{procedure}
|
||||
|
||||
\latex{\inputlisting{objectex/ex5.pp}}
|
||||
\latex{\lstinputlisting{objectex/ex5.pp}}
|
||||
\html{\input{objectex/ex5.tex}}
|
||||
|
||||
\begin{procedure}{TRect.Grow}
|
||||
@ -405,7 +405,7 @@ None.
|
||||
\end{procedure}
|
||||
|
||||
|
||||
\latex{\inputlisting{objectex/ex6.pp}}
|
||||
\latex{\lstinputlisting{objectex/ex6.pp}}
|
||||
\html{\input{objectex/ex7.tex}}
|
||||
|
||||
\begin{procedure}{TRect.Assign}
|
||||
@ -462,7 +462,7 @@ the object is indeed allocated on the heap.
|
||||
\seepl{Init}{TObject.Init}, \seepl{Done}{TObject.Done}
|
||||
\end{procedure}
|
||||
|
||||
\latex{\inputlisting{objectex/ex7.pp}}
|
||||
\latex{\lstinputlisting{objectex/ex7.pp}}
|
||||
\html{\input{objectex/ex7.tex}}
|
||||
|
||||
\begin{procedure}{TObject.Done}
|
||||
@ -479,7 +479,7 @@ None.
|
||||
\seepl{Free}{TObject.Free}, \seepl{Init}{TObject.Init}
|
||||
\end{procedure}
|
||||
|
||||
\latex{\inputlisting{objectex/ex8.pp}}
|
||||
\latex{\lstinputlisting{objectex/ex8.pp}}
|
||||
\html{\input{objectex/ex8.tex}}
|
||||
|
||||
\section{TStream}
|
||||
@ -538,7 +538,7 @@ On error, \var{TStream.Status} is set, and NIL is returned.
|
||||
\seepl{Put}{TStream.Put}
|
||||
\end{function}
|
||||
|
||||
\latex{\inputlisting{objectex/ex9.pp}}
|
||||
\latex{\lstinputlisting{objectex/ex9.pp}}
|
||||
\html{\input{objectex/ex9.tex}}
|
||||
|
||||
\begin{function}{TStream.StrRead}
|
||||
@ -554,7 +554,7 @@ On error, \var{Nil} is returned.
|
||||
\seepl{StrWrite}{TStream.StrWrite}, \seefl{ReadStr}{TStream.ReadStr}
|
||||
\end{function}
|
||||
|
||||
\latex{\inputlisting{objectex/ex10.pp}}
|
||||
\latex{\lstinputlisting{objectex/ex10.pp}}
|
||||
\html{\input{objectex/ex10.tex}}
|
||||
|
||||
|
||||
@ -570,7 +570,7 @@ position in the stream. Otherwise it returns \var{-1}
|
||||
\seepl{Seek}{TStream.Seek}, \seefl{GetSize}{TStream.GetSize}
|
||||
\end{function}
|
||||
|
||||
\latex{\inputlisting{objectex/ex11.pp}}
|
||||
\latex{\lstinputlisting{objectex/ex11.pp}}
|
||||
\html{\input{objectex/ex11.tex}}
|
||||
|
||||
|
||||
@ -586,7 +586,7 @@ the size of the stream, otherwise it returns \var{-1}.
|
||||
\seepl{Seek}{TStream.Seek}, \seefl{GetPos}{TStream.GetPos}
|
||||
\end{function}
|
||||
|
||||
\latex{\inputlisting{objectex/ex12.pp}}
|
||||
\latex{\lstinputlisting{objectex/ex12.pp}}
|
||||
\html{\input{objectex/ex12.tex}}
|
||||
|
||||
|
||||
@ -603,7 +603,7 @@ On error (e.g. not enough memory), \var{Nil} is returned.
|
||||
\seefl{StrRead}{TStream.StrRead}
|
||||
\end{function}
|
||||
|
||||
\latex{\inputlisting{objectex/ex13.pp}}
|
||||
\latex{\lstinputlisting{objectex/ex13.pp}}
|
||||
\html{\input{objectex/ex13.tex}}
|
||||
|
||||
\begin{procedure}{TStream.Open}
|
||||
@ -774,7 +774,7 @@ No checking is done to see if \var{Buf} is large enough to contain
|
||||
\seefl{StrRead}{TStream.StrRead}
|
||||
\end{procedure}
|
||||
|
||||
\latex{\inputlisting{objectex/ex18.pp}}
|
||||
\latex{\lstinputlisting{objectex/ex18.pp}}
|
||||
\html{\input{objectex/ex18.tex}}
|
||||
|
||||
\begin{procedure}{TStream.Write}
|
||||
@ -809,7 +809,7 @@ None.
|
||||
\seepl{Read}{TStream.Read}, \seepl{Write}{TStream.Write}
|
||||
\end{procedure}
|
||||
|
||||
\latex{\inputlisting{objectex/ex19.pp}}
|
||||
\latex{\lstinputlisting{objectex/ex19.pp}}
|
||||
\html{\input{objectex/ex19.tex}}
|
||||
|
||||
\section{TDosStream}
|
||||
@ -912,7 +912,7 @@ If an error occurs, the stream's status is set to \var{stError} and
|
||||
\seep{TStream.Truncate}, \seefl{GetSize}{TStream.GetSize}
|
||||
\end{procedure}
|
||||
|
||||
\latex{\inputlisting{objectex/ex16.pp}}
|
||||
\latex{\lstinputlisting{objectex/ex16.pp}}
|
||||
\html{\input{objectex/ex16.tex}}
|
||||
|
||||
\begin{procedure}{TDosStream.Seek}
|
||||
@ -929,7 +929,7 @@ and the OS error code is stored in \var{ErrorInfo}.
|
||||
\seep{TStream.Seek}, \seefl{GetPos}{TStream.GetPos}
|
||||
\end{procedure}
|
||||
|
||||
\latex{\inputlisting{objectex/ex17.pp}}
|
||||
\latex{\lstinputlisting{objectex/ex17.pp}}
|
||||
\html{\input{objectex/ex17.tex}}
|
||||
|
||||
\begin{procedure}{TDosStream.Open}
|
||||
@ -946,7 +946,7 @@ to \var{stOpenError}, and the OS error code is stored in \var{ErrorInfo}
|
||||
\seep{TStream.Open}, \seepl{Close}{TDosStream.Close}
|
||||
\end{procedure}
|
||||
|
||||
\latex{\inputlisting{objectex/ex14.pp}}
|
||||
\latex{\lstinputlisting{objectex/ex14.pp}}
|
||||
\html{\input{objectex/ex14.tex}}
|
||||
|
||||
\begin{procedure}{TDosStream.Read}
|
||||
@ -1092,7 +1092,7 @@ see \seepl{Write}{TBufStream.Write} for more info on the errors.
|
||||
\seepl{Done}{TBufStream.Done}
|
||||
\end{procedure}
|
||||
|
||||
\latex{\inputlisting{objectex/ex15.pp}}
|
||||
\latex{\lstinputlisting{objectex/ex15.pp}}
|
||||
\html{\input{objectex/ex15.tex}}
|
||||
|
||||
\begin{procedure}{TBufStream.Truncate}
|
||||
@ -1259,7 +1259,7 @@ to \var{stError}
|
||||
\seep{TStream.Truncate}
|
||||
\end{procedure}
|
||||
|
||||
\latex{\inputlisting{objectex/ex20.pp}}
|
||||
\latex{\lstinputlisting{objectex/ex20.pp}}
|
||||
\html{\input{objectex/ex20.tex}}
|
||||
|
||||
\begin{procedure}{TMemoryStream.Read}
|
||||
@ -1380,7 +1380,7 @@ Errors returned can be those of \seefl{GetItem}{TCollection.GetItem}.
|
||||
\seepl{Done}{TCollection.Done}.
|
||||
\end{procedure}
|
||||
|
||||
\latex{\inputlisting{objectex/ex22.pp}}
|
||||
\latex{\lstinputlisting{objectex/ex22.pp}}
|
||||
\html{\input{objectex/ex22.tex}}
|
||||
|
||||
\begin{procedure}{TCollection.Done}
|
||||
@ -1413,7 +1413,7 @@ error.
|
||||
\seepl{Insert}{TCollection.Insert}
|
||||
\end{function}
|
||||
|
||||
\latex{\inputlisting{objectex/ex23.pp}}
|
||||
\latex{\lstinputlisting{objectex/ex23.pp}}
|
||||
\html{\input{objectex/ex23.tex}}
|
||||
|
||||
\begin{function}{TCollection.IndexOf}
|
||||
@ -1426,7 +1426,7 @@ If \var{Item} isn't present in the collection, -1 is returned.
|
||||
\SeeAlso
|
||||
\end{function}
|
||||
|
||||
\latex{\inputlisting{objectex/ex24.pp}}
|
||||
\latex{\lstinputlisting{objectex/ex24.pp}}
|
||||
\html{\input{objectex/ex24.pp}}
|
||||
|
||||
\begin{function}{TCollection.GetItem}
|
||||
@ -1455,7 +1455,7 @@ None.
|
||||
\seefl{FirstThat}{TCollection.FirstThat}
|
||||
\end{function}
|
||||
|
||||
\latex{\inputlisting{objectex/ex25.pp}}
|
||||
\latex{\lstinputlisting{objectex/ex25.pp}}
|
||||
\html{\input{objectex/ex25.tex}}
|
||||
|
||||
\begin{function}{TCollection.FirstThat}
|
||||
@ -1471,7 +1471,7 @@ None.
|
||||
\seefl{LastThat}{TCollection.LastThat}
|
||||
\end{function}
|
||||
|
||||
\latex{\inputlisting{objectex/ex26.pp}}
|
||||
\latex{\lstinputlisting{objectex/ex26.pp}}
|
||||
\html{\input{objectex/ex26.tex}}
|
||||
|
||||
\begin{procedure}{TCollection.Pack}
|
||||
@ -1488,7 +1488,7 @@ None.
|
||||
\seepl{SetLimit}{TCollection.SetLimit}
|
||||
\end{procedure}
|
||||
|
||||
\latex{\inputlisting{objectex/ex26.pp}}
|
||||
\latex{\lstinputlisting{objectex/ex26.pp}}
|
||||
\html{\input{objectex/ex26.tex}}
|
||||
|
||||
\begin{procedure}{TCollection.FreeAll}
|
||||
@ -1504,7 +1504,7 @@ does set \var{Count} to zero.
|
||||
\end{procedure}
|
||||
|
||||
|
||||
\latex{\inputlisting{objectex/ex28.pp}}
|
||||
\latex{\lstinputlisting{objectex/ex28.pp}}
|
||||
\html{\input{objectex/ex28.tex}}
|
||||
|
||||
|
||||
@ -1522,7 +1522,7 @@ None.
|
||||
\seepl{FreeAll}{TCollection.FreeAll}, \seepl{Delete}{TCollection.Delete}
|
||||
\end{procedure}
|
||||
|
||||
\latex{\inputlisting{objectex/ex29.pp}}
|
||||
\latex{\lstinputlisting{objectex/ex29.pp}}
|
||||
\html{\input{objectex/ex29.tex}}
|
||||
|
||||
|
||||
@ -1540,7 +1540,7 @@ If the \var{Item} is not in the collection, \var{Error} will be called with
|
||||
\end{procedure}
|
||||
|
||||
|
||||
\latex{\inputlisting{objectex/ex30.pp}}
|
||||
\latex{\lstinputlisting{objectex/ex30.pp}}
|
||||
\html{\input{objectex/ex30.tex}}
|
||||
|
||||
\begin{procedure}{TCollection.Insert}
|
||||
@ -1572,7 +1572,7 @@ If the \var{Item} is not in the collection, \var{Error} will be called with
|
||||
\end{procedure}
|
||||
|
||||
|
||||
\latex{\inputlisting{objectex/ex31.pp}}
|
||||
\latex{\lstinputlisting{objectex/ex31.pp}}
|
||||
\html{\input{objectex/ex31.tex}}
|
||||
|
||||
\begin{procedure}{TCollection.AtFree}
|
||||
@ -1588,7 +1588,7 @@ with \var{CoIndexError}.
|
||||
\seepl{Free}{TCollection.Free}, \seepl{AtDelete}{TCollection.AtDelete}
|
||||
\end{procedure}
|
||||
|
||||
\latex{\inputlisting{objectex/ex32.pp}}
|
||||
\latex{\lstinputlisting{objectex/ex32.pp}}
|
||||
\html{\input{objectex/ex32.tex}}
|
||||
|
||||
|
||||
@ -1621,7 +1621,7 @@ with \var{CoIndexError}.
|
||||
\end{procedure}
|
||||
|
||||
|
||||
\latex{\inputlisting{objectex/ex33.pp}}
|
||||
\latex{\lstinputlisting{objectex/ex33.pp}}
|
||||
\html{\input{objectex/ex33.tex}}
|
||||
|
||||
\begin{procedure}{TCollection.ForEach}
|
||||
@ -1640,7 +1640,7 @@ None.
|
||||
\end{procedure}
|
||||
|
||||
|
||||
\latex{\inputlisting{objectex/ex21.pp}}
|
||||
\latex{\lstinputlisting{objectex/ex21.pp}}
|
||||
\html{\input{objectex/ex21.tex}}
|
||||
|
||||
|
||||
@ -1704,7 +1704,7 @@ with \var{CoIndexError}. If the collection fails to expand, then
|
||||
\end{procedure}
|
||||
|
||||
|
||||
\latex{\inputlisting{objectex/ex34.pp}}
|
||||
\latex{\lstinputlisting{objectex/ex34.pp}}
|
||||
\html{\input{objectex/ex34.tex}}
|
||||
|
||||
\begin{procedure}{TCollection.Store}
|
||||
@ -1778,7 +1778,7 @@ TYPE
|
||||
In the subsequent examples, the following descendent of
|
||||
\var{TSortedCollection} is used:
|
||||
|
||||
\latex{\inputlisting{objectex/mysortc.pp}}
|
||||
\latex{\lstinputlisting{objectex/mysortc.pp}}
|
||||
\html{\input{objectex/mysortc.tex}}
|
||||
|
||||
\begin{procedure}{TSortedCollection.Init}
|
||||
@ -1882,7 +1882,7 @@ An 'abstract run-time error' will be generated if you call
|
||||
\seefl{Search}{TSortedCollection.Search}
|
||||
\end{function}
|
||||
|
||||
\latex{\inputlisting{objectex/mysortc.pp}}
|
||||
\latex{\lstinputlisting{objectex/mysortc.pp}}
|
||||
\html{\input{objectex/mysortc.tex}}
|
||||
|
||||
|
||||
@ -1906,7 +1906,7 @@ None.
|
||||
\seefl{IndexOf}{TCollection.IndexOf}.
|
||||
\end{function}
|
||||
|
||||
\latex{\inputlisting{objectex/ex36.pp}}
|
||||
\latex{\lstinputlisting{objectex/ex36.pp}}
|
||||
\html{\input{objectex/ex36.tex}}
|
||||
|
||||
\begin{procedure}{TSortedCollection.Insert}
|
||||
@ -1926,7 +1926,7 @@ None.
|
||||
\seepl{AtInsert}{TCollection.AtInsert}
|
||||
\end{procedure}
|
||||
|
||||
\latex{\inputlisting{objectex/ex35.pp}}
|
||||
\latex{\lstinputlisting{objectex/ex35.pp}}
|
||||
\html{\input{objectex/ex35.tex}}
|
||||
|
||||
\begin{procedure}{TSortedCollection.Store}
|
||||
@ -2002,7 +2002,7 @@ None.
|
||||
\seef{TSortedCollection.Compare}
|
||||
\end{function}
|
||||
|
||||
\latex{\inputlisting{objectex/ex37.pp}}
|
||||
\latex{\lstinputlisting{objectex/ex37.pp}}
|
||||
\html{\input{objectex/ex37.tex}}
|
||||
|
||||
\begin{procedure}{TStringCollection.FreeItem}
|
||||
@ -2091,7 +2091,7 @@ None.
|
||||
\end{function}
|
||||
|
||||
|
||||
\latex{\inputlisting{objectex/ex38.pp}}
|
||||
\latex{\lstinputlisting{objectex/ex38.pp}}
|
||||
\html{\input{objectex/ex38.tex}}
|
||||
|
||||
|
||||
@ -2154,7 +2154,7 @@ strings.
|
||||
\SeeAlso
|
||||
\end{procedure}
|
||||
|
||||
\latex{\inputlisting{objectex/ex39.pp}}
|
||||
\latex{\lstinputlisting{objectex/ex39.pp}}
|
||||
\html{\input{objectex/ex39.tex}}
|
||||
|
||||
\section{TResourceCollection}
|
||||
|
@ -63,5 +63,5 @@ Procedure AssignLst ( Var F : text; ToFile : string[255]);
|
||||
\SeeAlso
|
||||
\seem{lpr}{1}
|
||||
\end{procedure}
|
||||
\latex{\inputlisting{printex/printex.pp}}
|
||||
\latex{\lstinputlisting{printex/printex.pp}}
|
||||
\html{\input{printex/printex.tex}}
|
||||
|
220
docs/ref.tex
220
docs/ref.tex
@ -57,12 +57,11 @@
|
||||
%
|
||||
\usepackage{syntax}
|
||||
\input{syntax/diagram.tex}
|
||||
\latex{\usepackage{listings}\usepackage{lst017}\usepackage{lstdelphi}%
|
||||
\blankstringtrue
|
||||
\selectlisting{delphi}
|
||||
\stringstyle{\ttfamily}
|
||||
\keywordstyle{\bfseries}
|
||||
\prelisting{\sffamily\sloppy}
|
||||
\latex{
|
||||
\usepackage{listings}%
|
||||
\lstset{language=Delphi}%
|
||||
\lstset{pre=\sffamily}%
|
||||
\lstset{keywordstyle=\bfseries}%
|
||||
}
|
||||
%
|
||||
% Start of document.
|
||||
@ -584,7 +583,6 @@ the next enumerated value.
|
||||
When specifying such an enumeration type, it is important to keep in mind
|
||||
that you should keep the enumerated elements in ascending order. The
|
||||
following will produce a compiler error:
|
||||
\renewcommand{\prelisting}{\sffamily}
|
||||
\begin{verbatim}
|
||||
Type
|
||||
EnumType = (one, two, three, forty := 40, thirty := 30);
|
||||
@ -1750,14 +1748,14 @@ one. The \var{Inherited} keyword will not jup to the inhherited method, if
|
||||
virtual was used.
|
||||
|
||||
The following code is {\em wrong}:
|
||||
\begin{listing}
|
||||
\begin{lstlisting}{}
|
||||
Type ObjParent = Class
|
||||
Procedure MyProc; virtual;
|
||||
end;
|
||||
ObjChild = Class(ObjPArent)
|
||||
Procedure MyProc; virtual;
|
||||
end;
|
||||
\end{listing}
|
||||
\end{lstlisting}{}
|
||||
The compiler will produce a warning:
|
||||
\begin{verbatim}
|
||||
Warning: An inherited method is hidden by OBJCHILD.MYPROC
|
||||
@ -1766,14 +1764,14 @@ The compiler will compile it, but using \var{Inherited} can
|
||||
produce strange effects.
|
||||
|
||||
The correct declaration is as follows:
|
||||
\begin{listing}
|
||||
\begin{lstlisting}{}
|
||||
Type ObjParent = Class
|
||||
Procedure MyProc; virtual;
|
||||
end;
|
||||
ObjChild = Class(ObjPArent)
|
||||
Procedure MyProc; override;
|
||||
end;
|
||||
\end{listing}
|
||||
\end{lstlisting}{}
|
||||
This will compile and run without warnings or errors.
|
||||
|
||||
\subsection{Message methods}
|
||||
@ -1786,9 +1784,9 @@ identifiers.
|
||||
|
||||
Message methods that are declared with an integer constant can take only one
|
||||
var argument (typed or not):
|
||||
\begin{listing}
|
||||
\begin{lstlisting}{}
|
||||
Procedure TMyObject.MyHandler(Var Msg); Message 1;
|
||||
\end{listing}
|
||||
\end{lstlisting}{}
|
||||
The method implementation of a message function is no different from an
|
||||
ordinary method. It is also possible to call a message method directly,
|
||||
but you should not do this. Instead use the \var{TObject.Dispatch} method.
|
||||
@ -1797,7 +1795,7 @@ The \var{TOBject.Dispatch} method can be used to call a \var{message}
|
||||
handler. It is declared in the system unit will accept a var parameter
|
||||
which must have at the first position a cardinal with the message ID that
|
||||
should be called. For example:
|
||||
\begin{listing}
|
||||
\begin{lstlisting}{}
|
||||
Type
|
||||
TMsg = Record
|
||||
MSGID : Cardinal
|
||||
@ -1806,7 +1804,7 @@ Var
|
||||
Msg : TMSg;
|
||||
|
||||
MyObject.Dispatch (Msg);
|
||||
\end{listing}
|
||||
\end{lstlisting}{}
|
||||
In this example, the \var{Dispatch} method will look at the object and all
|
||||
it's ancestors (starting at the object, and searching up the class tree),
|
||||
to see if a message method with message \var{MSGID} has been
|
||||
@ -1817,15 +1815,15 @@ If no such method is found, \var{DefaultHandler} is called.
|
||||
\var{DefaultHandler} is a virtual method of \var{TObject} that doesn't do
|
||||
anything, but which can be overridden to provide any processing you might
|
||||
need. \var{DefaultHandler} is declared as follows:
|
||||
\begin{listing}
|
||||
\begin{lstlisting}{}
|
||||
procedure defaulthandler(var message);virtual;
|
||||
\end{listing}
|
||||
\end{lstlisting}{}
|
||||
|
||||
In addition to the message method with a \var{Integer} identifier,
|
||||
\fpc also supports a messae method with a string identifier:
|
||||
\begin{listing}
|
||||
\begin{lstlisting}{}
|
||||
Procedure TMyObject.MyStrHandler(Var Msg); Message 'OnClick';
|
||||
\end{listing}
|
||||
\end{lstlisting}{}
|
||||
|
||||
The working of the string message handler is the same as the ordinary
|
||||
integer message handler:
|
||||
@ -1834,7 +1832,7 @@ The \var{TOBject.DispatchStr} method can be used to call a \var{message}
|
||||
handler. It is declared in the system unit and will accept one parameter
|
||||
which must have at the first position a cardinal with the message ID that
|
||||
should be called. For example:
|
||||
\begin{listing}
|
||||
\begin{lstlisting}{}
|
||||
Type
|
||||
TMsg = Record
|
||||
MsgStr : String[10]; // Arbitrary length up to 255 characters.
|
||||
@ -1843,7 +1841,7 @@ Var
|
||||
Msg : TMSg;
|
||||
|
||||
MyObject.DispatchStr (Msg);
|
||||
\end{listing}
|
||||
\end{lstlisting}{}
|
||||
In this example, the \var{DispatchStr} method will look at the object and
|
||||
all it's ancestors (starting at the object, and searching up the class tree),
|
||||
to see if a message method with message \var{MsgStr} has been
|
||||
@ -1854,15 +1852,15 @@ If no such method is found, \var{DefaultHandlerStr} is called.
|
||||
\var{DefaultHandlerStr} is a virtual method of \var{TObject} that doesn't do
|
||||
anything, but which can be overridden to provide any processing you might
|
||||
need. \var{DefaultHandlerStr} is declared as follows:
|
||||
\begin{listing}
|
||||
\begin{lstlisting}{}
|
||||
procedure DefaultHandlerStr(var message);virtual;
|
||||
\end{listing}
|
||||
\end{lstlisting}{}
|
||||
|
||||
In addition to this mechanism, a string message method accepts a \var{self}
|
||||
parameter:
|
||||
\begin{listing}
|
||||
\begin{lstlisting}{}
|
||||
TMyObject.StrMsgHandler(Data : Pointer; Self : TMyObject);Message 'OnClick';
|
||||
\end{listing}
|
||||
\end{lstlisting}{}
|
||||
When encountering such a method, the compiler will generate code that loads
|
||||
the \var{Self} parameter into the object instance pointer. The result of
|
||||
this is that it is possible to pass \var{Self} as a parameter to such a
|
||||
@ -3636,13 +3634,13 @@ Const
|
||||
\end{verbatim}
|
||||
Further, the following non processor specific general-purpose constants
|
||||
are also defined:
|
||||
\begin{listing}
|
||||
\begin{lstlisting}{}
|
||||
const
|
||||
erroraddr : pointer = nil;
|
||||
errorcode : word = 0;
|
||||
{ max level in dumping on error }
|
||||
max_frame_dump : word = 20;
|
||||
\end{listing}
|
||||
\end{lstlisting}{}
|
||||
\emph{ Remark: } Processor specific global constants are named Testxxxx
|
||||
where xxxx represents the processor number (such as Test8086, Test68000),
|
||||
and are used to determine on what generation of processor the program
|
||||
@ -3699,7 +3697,7 @@ None.
|
||||
\SeeAlso
|
||||
\seef{Round}
|
||||
\end{function}
|
||||
\latex{\inputlisting{refex/ex1.pp}}
|
||||
\latex{\lstinputlisting{refex/ex1.pp}}
|
||||
\html{\input{refex/ex1.tex}}
|
||||
\begin{function}{Addr}
|
||||
\Declaration
|
||||
@ -3715,7 +3713,7 @@ None
|
||||
\SeeAlso
|
||||
\seef{SizeOf}
|
||||
\end{function}
|
||||
\latex{\inputlisting{refex/ex2.pp}}
|
||||
\latex{\lstinputlisting{refex/ex2.pp}}
|
||||
\html{\input{refex/ex2.tex}}
|
||||
\begin{procedure}{Append}
|
||||
\Declaration
|
||||
@ -3734,7 +3732,7 @@ If the file can't be created, a run-time error will be generated.
|
||||
\SeeAlso
|
||||
\seep{Rewrite},\seep{Append}, \seep{Reset}
|
||||
\end{procedure}
|
||||
\latex{\inputlisting{refex/ex3.pp}}
|
||||
\latex{\lstinputlisting{refex/ex3.pp}}
|
||||
\html{\input{refex/ex3.tex}}
|
||||
\begin{function}{Arctan}
|
||||
\Declaration
|
||||
@ -3748,7 +3746,7 @@ None
|
||||
\SeeAlso
|
||||
\seef{Sin}, \seef{Cos}
|
||||
\end{function}
|
||||
\latex{\inputlisting{refex/ex4.pp}}
|
||||
\latex{\lstinputlisting{refex/ex4.pp}}
|
||||
\html{\input{refex/ex4.tex}}
|
||||
\begin{procedure}{Assign}
|
||||
\Declaration
|
||||
@ -3763,7 +3761,7 @@ None.
|
||||
\SeeAlso
|
||||
\seep{Reset}, \seep{Rewrite}, \seep{Append}
|
||||
\end{procedure}
|
||||
\latex{\inputlisting{refex/ex5.pp}}
|
||||
\latex{\lstinputlisting{refex/ex5.pp}}
|
||||
\html{\input{refex/ex5.tex}}
|
||||
\begin{function}{Assigned}
|
||||
\Declaration
|
||||
@ -3796,7 +3794,7 @@ None.
|
||||
\SeeAlso
|
||||
\seep{Str},seep{Val},\seef{HexStr}
|
||||
\end{function}
|
||||
\latex{\inputlisting{refex/ex82.pp}}
|
||||
\latex{\lstinputlisting{refex/ex82.pp}}
|
||||
\html{\input{refex/ex82.tex}}
|
||||
\begin{procedure}{Blockread}
|
||||
\Declaration
|
||||
@ -3817,7 +3815,7 @@ than \var{count} records were read.
|
||||
\SeeAlso
|
||||
\seep{Blockwrite}, \seep{Close}, \seep{Reset}, \seep{Assign}
|
||||
\end{procedure}
|
||||
\latex{\inputlisting{refex/ex6.pp}}
|
||||
\latex{\lstinputlisting{refex/ex6.pp}}
|
||||
\html{\input{refex/ex6.tex}}
|
||||
\begin{procedure}{Blockwrite}
|
||||
\Declaration
|
||||
@ -3847,7 +3845,7 @@ If the directory \var{S} doesn't exist, a run-time error is generated.
|
||||
\SeeAlso
|
||||
\seep{Mkdir}, \seep{Rmdir}
|
||||
\end{procedure}
|
||||
\latex{\inputlisting{refex/ex7.pp}}
|
||||
\latex{\lstinputlisting{refex/ex7.pp}}
|
||||
\html{\input{refex/ex7.tex}}
|
||||
\begin{function}{Chr}
|
||||
\Declaration
|
||||
@ -3860,7 +3858,7 @@ None.
|
||||
\SeeAlso
|
||||
\seef{Ord},\seep{Str}
|
||||
\end{function}
|
||||
\latex{\inputlisting{refex/ex8.pp}}
|
||||
\latex{\lstinputlisting{refex/ex8.pp}}
|
||||
\html{\input{refex/ex8.tex}}
|
||||
\begin{procedure}{Close}
|
||||
\Declaration
|
||||
@ -3877,7 +3875,7 @@ None.
|
||||
\SeeAlso
|
||||
\seep{Assign}, \seep{Reset}, \seep{Rewrite}
|
||||
\end{procedure}
|
||||
\latex{\inputlisting{refex/ex9.pp}}
|
||||
\latex{\lstinputlisting{refex/ex9.pp}}
|
||||
\html{\input{refex/ex9.tex}}
|
||||
\begin{function}{Concat}
|
||||
\Declaration
|
||||
@ -3892,7 +3890,7 @@ None.
|
||||
\SeeAlso
|
||||
\seef{Copy}, \seep{Delete}, \seep{Insert}, \seef{Pos}, \seef{Length}
|
||||
\end{function}
|
||||
\latex{\inputlisting{refex/ex10.pp}}
|
||||
\latex{\lstinputlisting{refex/ex10.pp}}
|
||||
\html{\input{refex/ex10.tex}}
|
||||
\begin{function}{Copy}
|
||||
\Declaration
|
||||
@ -3909,7 +3907,7 @@ None.
|
||||
\SeeAlso
|
||||
\seep{Delete}, \seep{Insert}, \seef{Pos}
|
||||
\end{function}
|
||||
\latex{\inputlisting{refex/ex11.pp}}
|
||||
\latex{\lstinputlisting{refex/ex11.pp}}
|
||||
\html{\input{refex/ex11.tex}}
|
||||
\begin{function}{Cos}
|
||||
\Declaration
|
||||
@ -3922,7 +3920,7 @@ None.
|
||||
\SeeAlso
|
||||
\seef{Arctan}, \seef{Sin}
|
||||
\end{function}
|
||||
\latex{\inputlisting{refex/ex12.pp}}
|
||||
\latex{\lstinputlisting{refex/ex12.pp}}
|
||||
\html{\input{refex/ex12.tex}}
|
||||
\begin{function}{CSeg}
|
||||
\Declaration
|
||||
@ -3936,7 +3934,7 @@ None.
|
||||
\SeeAlso
|
||||
\seef{DSeg}, \seef{Seg}, \seef{Ofs}, \seef{Ptr}
|
||||
\end{function}
|
||||
\latex{\inputlisting{refex/ex13.pp}}
|
||||
\latex{\lstinputlisting{refex/ex13.pp}}
|
||||
\html{\input{refex/ex13.tex}}
|
||||
\begin{procedure}{Dec}
|
||||
\Declaration
|
||||
@ -3951,7 +3949,7 @@ below its minimum value.
|
||||
\SeeAlso
|
||||
\seep{Inc}
|
||||
\end{procedure}
|
||||
\latex{\inputlisting{refex/ex14.pp}}
|
||||
\latex{\lstinputlisting{refex/ex14.pp}}
|
||||
\html{\input{refex/ex14.tex}}
|
||||
\begin{procedure}{Delete}
|
||||
\Declaration
|
||||
@ -3967,7 +3965,7 @@ None.
|
||||
\SeeAlso
|
||||
\seef{Copy},\seef{Pos},\seep{Insert}
|
||||
\end{procedure}
|
||||
\latex{\inputlisting{refex/ex15.pp}}
|
||||
\latex{\lstinputlisting{refex/ex15.pp}}
|
||||
\html{\input{refex/ex15.tex}}
|
||||
\begin{procedure}{Dispose}
|
||||
\Declaration
|
||||
@ -3983,7 +3981,7 @@ heap.
|
||||
\SeeAlso
|
||||
\seep{New}, \seep{Getmem}, \seep{Freemem}
|
||||
\end{procedure}
|
||||
\latex{\inputlisting{refex/ex16.pp}}
|
||||
\latex{\lstinputlisting{refex/ex16.pp}}
|
||||
\html{\input{refex/ex16.tex}}
|
||||
\begin{function}{DSeg}
|
||||
\Declaration
|
||||
@ -3997,7 +3995,7 @@ None.
|
||||
\SeeAlso
|
||||
\seef{CSeg}, \seef{Seg}, \seef{Ofs}, \seef{Ptr}
|
||||
\end{function}
|
||||
\latex{\inputlisting{refex/ex17.pp}}
|
||||
\latex{\lstinputlisting{refex/ex17.pp}}
|
||||
\html{\input{refex/ex17.tex}}
|
||||
\begin{function}{Eof}
|
||||
\Declaration
|
||||
@ -4013,7 +4011,7 @@ None.
|
||||
\SeeAlso
|
||||
\seef{Eoln}, \seep{Assign}, \seep{Reset}, \seep{Rewrite}
|
||||
\end{function}
|
||||
\latex{\inputlisting{refex/ex18.pp}}
|
||||
\latex{\lstinputlisting{refex/ex18.pp}}
|
||||
\html{\input{refex/ex18.tex}}
|
||||
\begin{function}{Eoln}
|
||||
\Declaration
|
||||
@ -4031,7 +4029,7 @@ None.
|
||||
\SeeAlso
|
||||
\seef{Eof}, \seep{Assign}, \seep{Reset}, \seep{Rewrite}
|
||||
\end{function}
|
||||
\latex{\inputlisting{refex/ex19.pp}}
|
||||
\latex{\lstinputlisting{refex/ex19.pp}}
|
||||
\html{\input{refex/ex19.tex}}
|
||||
\begin{procedure}{Erase}
|
||||
\Declaration
|
||||
@ -4045,7 +4043,7 @@ A run-time error will be generated if the specified file doesn't exist.
|
||||
\SeeAlso
|
||||
\seep{Assign}
|
||||
\end{procedure}
|
||||
\latex{\inputlisting{refex/ex20.pp}}
|
||||
\latex{\lstinputlisting{refex/ex20.pp}}
|
||||
\html{\input{refex/ex20.tex}}
|
||||
\begin{procedure}{Exit}
|
||||
\Declaration
|
||||
@ -4062,7 +4060,7 @@ None.
|
||||
\SeeAlso
|
||||
\seep{Halt}
|
||||
\end{procedure}
|
||||
\latex{\inputlisting{refex/ex21.pp}}
|
||||
\latex{\lstinputlisting{refex/ex21.pp}}
|
||||
\html{\input{refex/ex21.tex}}
|
||||
\begin{function}{Exp}
|
||||
\Declaration
|
||||
@ -4076,7 +4074,7 @@ None.
|
||||
\SeeAlso
|
||||
\seef{Ln}, \seef{Power}
|
||||
\end{function}
|
||||
\latex{\inputlisting{refex/ex22.pp}}
|
||||
\latex{\lstinputlisting{refex/ex22.pp}}
|
||||
\html{\input{refex/ex22.tex}}
|
||||
\begin{function}{Filepos}
|
||||
\Declaration
|
||||
@ -4090,7 +4088,7 @@ None.
|
||||
\SeeAlso
|
||||
\seef{Filesize}
|
||||
\end{function}
|
||||
\latex{\inputlisting{refex/ex23.pp}}
|
||||
\latex{\lstinputlisting{refex/ex23.pp}}
|
||||
\html{\input{refex/ex23.tex}}
|
||||
\begin{function}{Filesize}
|
||||
\Declaration
|
||||
@ -4107,7 +4105,7 @@ None.
|
||||
\SeeAlso
|
||||
\seef{Filepos}
|
||||
\end{function}
|
||||
\latex{\inputlisting{refex/ex24.pp}}
|
||||
\latex{\lstinputlisting{refex/ex24.pp}}
|
||||
\html{\input{refex/ex24.tex}}
|
||||
\begin{procedure}{Fillchar}
|
||||
\Declaration
|
||||
@ -4122,7 +4120,7 @@ No checking on the size of \var{X} is done.
|
||||
\SeeAlso
|
||||
\seep{Fillword}, \seep{Move}
|
||||
\end{procedure}
|
||||
\latex{\inputlisting{refex/ex25.pp}}
|
||||
\latex{\lstinputlisting{refex/ex25.pp}}
|
||||
\html{\input{refex/ex25.tex}}
|
||||
\begin{procedure}{Fillword}
|
||||
\Declaration
|
||||
@ -4137,7 +4135,7 @@ No checking on the size of \var{X} is done.
|
||||
\SeeAlso
|
||||
\seep{Fillword}, \seep{Move}
|
||||
\end{procedure}
|
||||
\latex{\inputlisting{refex/ex76.pp}}
|
||||
\latex{\lstinputlisting{refex/ex76.pp}}
|
||||
\html{\input{refex/ex76.tex}}
|
||||
\begin{procedure}{Flush}
|
||||
\Declaration
|
||||
@ -4151,7 +4149,7 @@ If the disk is full, a run-time error will be generated.
|
||||
\SeeAlso
|
||||
\seep{Close}
|
||||
\end{procedure}
|
||||
\latex{\inputlisting{refex/ex26.pp}}
|
||||
\latex{\lstinputlisting{refex/ex26.pp}}
|
||||
\html{\input{refex/ex26.tex}}
|
||||
\begin{function}{Frac}
|
||||
\Declaration
|
||||
@ -4164,7 +4162,7 @@ None.
|
||||
\SeeAlso
|
||||
\seef{Round}, \seef{Int}
|
||||
\end{function}
|
||||
\latex{\inputlisting{refex/ex27.pp}}
|
||||
\latex{\lstinputlisting{refex/ex27.pp}}
|
||||
\html{\input{refex/ex27.tex}}
|
||||
\begin{procedure}{Freemem}
|
||||
\Declaration
|
||||
@ -4179,7 +4177,7 @@ An error will occur when \var{P} doesn't point to the heap.
|
||||
\SeeAlso
|
||||
\seep{Getmem}, \seep{New}, \seep{Dispose}
|
||||
\end{procedure}
|
||||
\latex{\inputlisting{refex/ex28.pp}}
|
||||
\latex{\lstinputlisting{refex/ex28.pp}}
|
||||
\html{\input{refex/ex28.tex}}
|
||||
\begin{procedure}{Getdir}
|
||||
\Declaration
|
||||
@ -4195,7 +4193,7 @@ An error is returned under \dos, if the drive requested isn't ready.
|
||||
\SeeAlso
|
||||
\seep{Chdir}
|
||||
\end{procedure}
|
||||
\latex{\inputlisting{refex/ex29.pp}}
|
||||
\latex{\lstinputlisting{refex/ex29.pp}}
|
||||
\html{\input{refex/ex29.tex}}
|
||||
\begin{procedure}{Getmem}
|
||||
\Declaration
|
||||
@ -4224,7 +4222,7 @@ None.
|
||||
\SeeAlso
|
||||
\seep{Exit}
|
||||
\end{procedure}
|
||||
\latex{\inputlisting{refex/ex30.pp}}
|
||||
\latex{\lstinputlisting{refex/ex30.pp}}
|
||||
\html{\input{refex/ex30.tex}}
|
||||
\begin{function}{HexStr}
|
||||
\Declaration
|
||||
@ -4242,7 +4240,7 @@ None.
|
||||
\SeeAlso
|
||||
\seep{Str},seep{Val},\seef{BinStr}
|
||||
\end{function}
|
||||
\latex{\inputlisting{refex/ex81.pp}}
|
||||
\latex{\lstinputlisting{refex/ex81.pp}}
|
||||
\html{\input{refex/ex81.tex}}
|
||||
\begin{function}{Hi}
|
||||
\Declaration
|
||||
@ -4258,7 +4256,7 @@ None
|
||||
\SeeAlso
|
||||
\seef{Lo}
|
||||
\end{function}
|
||||
\latex{\inputlisting{refex/ex31.pp}}
|
||||
\latex{\lstinputlisting{refex/ex31.pp}}
|
||||
\html{\input{refex/ex31.tex}}
|
||||
\begin{function}{High}
|
||||
\Declaration
|
||||
@ -4281,7 +4279,7 @@ None.
|
||||
\SeeAlso
|
||||
\seef{High}, \seef{Ord}, \seef{Pred}, \seef{Succ}
|
||||
\end{function}
|
||||
\latex{\inputlisting{refex/ex80.pp}}
|
||||
\latex{\lstinputlisting{refex/ex80.pp}}
|
||||
\html{\input{refex/ex80.tex}}
|
||||
\begin{procedure}{Inc}
|
||||
\Declaration
|
||||
@ -4296,7 +4294,7 @@ over its maximum value.
|
||||
\SeeAlso
|
||||
\seep{Dec}
|
||||
\end{procedure}
|
||||
\latex{\inputlisting{refex/ex32.pp}}
|
||||
\latex{\lstinputlisting{refex/ex32.pp}}
|
||||
\html{\input{refex/ex32.tex}}
|
||||
\begin{procedure}{Insert}
|
||||
\Declaration
|
||||
@ -4311,7 +4309,7 @@ None.
|
||||
\SeeAlso
|
||||
\seep{Delete}, \seef{Copy}, \seef{Pos}
|
||||
\end{procedure}
|
||||
\latex{\inputlisting{refex/ex33.pp}}
|
||||
\latex{\lstinputlisting{refex/ex33.pp}}
|
||||
\html{\input{refex/ex33.tex}}
|
||||
\begin{function}{Int}
|
||||
\Declaration
|
||||
@ -4324,7 +4322,7 @@ None.
|
||||
\SeeAlso
|
||||
\seef{Frac}, \seef{Round}
|
||||
\end{function}
|
||||
\latex{\inputlisting{refex/ex34.pp}}
|
||||
\latex{\lstinputlisting{refex/ex34.pp}}
|
||||
\html{\input{refex/ex34.tex}}
|
||||
\begin{function}{IOresult}
|
||||
\Declaration
|
||||
@ -4380,7 +4378,7 @@ None.
|
||||
\SeeAlso
|
||||
All I/O functions.
|
||||
\end{function}
|
||||
\latex{\inputlisting{refex/ex35.pp}}
|
||||
\latex{\lstinputlisting{refex/ex35.pp}}
|
||||
\html{\input{refex/ex35.tex}}
|
||||
\begin{function}{Length}
|
||||
\Declaration
|
||||
@ -4396,7 +4394,7 @@ None.
|
||||
\SeeAlso
|
||||
\seef{Pos}
|
||||
\end{function}
|
||||
\latex{\inputlisting{refex/ex36.pp}}
|
||||
\latex{\lstinputlisting{refex/ex36.pp}}
|
||||
\html{\input{refex/ex36.tex}}
|
||||
\begin{function}{Ln}
|
||||
\Declaration
|
||||
@ -4412,7 +4410,7 @@ An run-time error will occur when \var{X} is negative.
|
||||
\SeeAlso
|
||||
\seef{Exp}, \seef{Power}
|
||||
\end{function}
|
||||
\latex{\inputlisting{refex/ex37.pp}}
|
||||
\latex{\lstinputlisting{refex/ex37.pp}}
|
||||
\html{\input{refex/ex37.tex}}
|
||||
\begin{function}{Lo}
|
||||
\Declaration
|
||||
@ -4428,7 +4426,7 @@ None.
|
||||
\SeeAlso
|
||||
\seef{Ord}, \seef{Chr}
|
||||
\end{function}
|
||||
\latex{\inputlisting{refex/ex38.pp}}
|
||||
\latex{\lstinputlisting{refex/ex38.pp}}
|
||||
\html{\input{refex/ex38.tex}}
|
||||
\begin{procedure}{LongJmp}
|
||||
\Declaration
|
||||
@ -4484,7 +4482,7 @@ None.
|
||||
\SeeAlso
|
||||
\seef{Upcase}
|
||||
\end{function}
|
||||
\latex{\inputlisting{refex/ex73.pp}}
|
||||
\latex{\lstinputlisting{refex/ex73.pp}}
|
||||
\html{\input{refex/ex73.tex}}
|
||||
\begin{procedure}{Mark}
|
||||
\Declaration
|
||||
@ -4497,7 +4495,7 @@ None.
|
||||
\SeeAlso
|
||||
\seep{Getmem}, \seep{Freemem}, \seep{New}, \seep{Dispose}, \seef{Maxavail}
|
||||
\end{procedure}
|
||||
\latex{\inputlisting{refex/ex39.pp}}
|
||||
\latex{\lstinputlisting{refex/ex39.pp}}
|
||||
\html{\input{refex/ex39.tex}}
|
||||
\begin{function}{Maxavail}
|
||||
\Declaration
|
||||
@ -4513,7 +4511,7 @@ None.
|
||||
\SeeAlso
|
||||
\seep{Release}, \seef{Memavail},\seep{Freemem}, \seep{Getmem}
|
||||
\end{function}
|
||||
\latex{\inputlisting{refex/ex40.pp}}
|
||||
\latex{\lstinputlisting{refex/ex40.pp}}
|
||||
\html{\input{refex/ex40.tex}}
|
||||
\begin{function}{Memavail}
|
||||
\Declaration
|
||||
@ -4528,7 +4526,7 @@ None.
|
||||
\SeeAlso
|
||||
\seef{Maxavail},\seep{Freemem}, \seep{Getmem}
|
||||
\end{function}
|
||||
\latex{\inputlisting{refex/ex41.pp}}
|
||||
\latex{\lstinputlisting{refex/ex41.pp}}
|
||||
\html{\input{refex/ex41.tex}}
|
||||
\begin{procedure}{Mkdir}
|
||||
\Declaration
|
||||
@ -4555,7 +4553,7 @@ the compiler, a segmentation-fault will occur.
|
||||
\SeeAlso
|
||||
\seep{Fillword}, \seep{Fillchar}
|
||||
\end{procedure}
|
||||
\latex{\inputlisting{refex/ex42.pp}}
|
||||
\latex{\lstinputlisting{refex/ex42.pp}}
|
||||
\html{\input{refex/ex42.tex}}
|
||||
\begin{procedure}{New}
|
||||
\Declaration
|
||||
@ -4584,7 +4582,7 @@ None.
|
||||
\SeeAlso
|
||||
\seef{Abs}, \seef{Ord}
|
||||
\end{function}
|
||||
\latex{\inputlisting{refex/ex43.pp}}
|
||||
\latex{\lstinputlisting{refex/ex43.pp}}
|
||||
\html{\input{refex/ex43.tex}}
|
||||
\begin{function}{Ofs}
|
||||
\Declaration
|
||||
@ -4601,7 +4599,7 @@ None.
|
||||
\SeeAlso
|
||||
\seef{DSeg}, \seef{CSeg}, \seef{Seg}, \seef{Ptr}
|
||||
\end{function}
|
||||
\latex{\inputlisting{refex/ex44.pp}}
|
||||
\latex{\lstinputlisting{refex/ex44.pp}}
|
||||
\html{\input{refex/ex44.tex}}
|
||||
\begin{function}{Ord}
|
||||
\Declaration
|
||||
@ -4614,7 +4612,7 @@ None.
|
||||
\SeeAlso
|
||||
\seef{Chr}, \seef{Ord}, \seef{Pred}, \seef{High}, \seef{Low}
|
||||
\end{function}
|
||||
\latex{\inputlisting{refex/ex45.pp}}
|
||||
\latex{\lstinputlisting{refex/ex45.pp}}
|
||||
\html{\input{refex/ex45.tex}}
|
||||
\begin{function}{Paramcount}
|
||||
\Declaration
|
||||
@ -4629,7 +4627,7 @@ None.
|
||||
\SeeAlso
|
||||
\seef{Paramstr}
|
||||
\end{function}
|
||||
\latex{\inputlisting{refex/ex46.pp}}
|
||||
\latex{\lstinputlisting{refex/ex46.pp}}
|
||||
\html{\input{refex/ex46.tex}}
|
||||
\begin{function}{Paramstr}
|
||||
\Declaration
|
||||
@ -4660,7 +4658,7 @@ None.
|
||||
\SeeAlso
|
||||
\seef{Cos}, \seef{Sin}
|
||||
\end{function}
|
||||
\latex{\inputlisting{refex/ex47.pp}}
|
||||
\latex{\lstinputlisting{refex/ex47.pp}}
|
||||
\html{\input{refex/ex47.tex}}
|
||||
\begin{function}{Pos}
|
||||
\Declaration
|
||||
@ -4676,7 +4674,7 @@ None
|
||||
\SeeAlso
|
||||
\seef{Length}, \seef{Copy}, \seep{Delete}, \seep{Insert}
|
||||
\end{function}
|
||||
\latex{\inputlisting{refex/ex48.pp}}
|
||||
\latex{\lstinputlisting{refex/ex48.pp}}
|
||||
\html{\input{refex/ex48.tex}}
|
||||
\begin{function}{Power}
|
||||
\Declaration
|
||||
@ -4695,7 +4693,7 @@ None.
|
||||
\SeeAlso
|
||||
\seef{Exp}, \seef{Ln}
|
||||
\end{function}
|
||||
\latex{\inputlisting{refex/ex78.pp}}
|
||||
\latex{\lstinputlisting{refex/ex78.pp}}
|
||||
\html{\input{refex/ex78.tex}}
|
||||
\begin{function}{Pred}
|
||||
\Declaration
|
||||
@ -4714,7 +4712,7 @@ range.
|
||||
\seef{Ord}, \seef{Pred}, \seef{High}, \seef{Low}
|
||||
\end{function}
|
||||
for an example, see \seef{Ord}
|
||||
\latex{\inputlisting{refex/ex80.pp}}
|
||||
\latex{\lstinputlisting{refex/ex80.pp}}
|
||||
\html{\input{refex/ex80.tex}}
|
||||
\begin{function}{Ptr}
|
||||
\Declaration
|
||||
@ -4736,7 +4734,7 @@ None.
|
||||
\SeeAlso
|
||||
\seef{Addr}
|
||||
\end{function}
|
||||
\latex{\inputlisting{refex/ex59.pp}}
|
||||
\latex{\lstinputlisting{refex/ex59.pp}}
|
||||
\html{\input{refex/ex59.tex}}
|
||||
\begin{function}{Random}
|
||||
\Declaration
|
||||
@ -4752,7 +4750,7 @@ None.
|
||||
\SeeAlso
|
||||
\seep{Randomize}
|
||||
\end{function}
|
||||
\latex{\inputlisting{refex/ex49.pp}}
|
||||
\latex{\lstinputlisting{refex/ex49.pp}}
|
||||
\html{\input{refex/ex49.tex}}
|
||||
\begin{procedure}{Randomize}
|
||||
\Declaration
|
||||
@ -4787,7 +4785,7 @@ be controlled with the \var{\{\$i\}} compiler switch.
|
||||
\SeeAlso
|
||||
\seep{Readln}, \seep{Blockread}, \seep{Write}, \seep{Blockwrite}
|
||||
\end{procedure}
|
||||
\latex{\inputlisting{refex/ex50.pp}}
|
||||
\latex{\lstinputlisting{refex/ex50.pp}}
|
||||
\html{\input{refex/ex50.tex}}
|
||||
\begin{procedure}{Readln}
|
||||
\Declaration
|
||||
@ -4837,7 +4835,7 @@ or doesn't exist.
|
||||
\SeeAlso
|
||||
\seep{Erase}
|
||||
\end{procedure}
|
||||
\latex{\inputlisting{refex/ex77.pp}}
|
||||
\latex{\lstinputlisting{refex/ex77.pp}}
|
||||
\html{\input{refex/ex77.tex}}
|
||||
\begin{procedure}{Reset}
|
||||
\Declaration
|
||||
@ -4854,7 +4852,7 @@ generated. This behavior can be changed by the \var{\{\$i\} } compiler switch.
|
||||
\SeeAlso
|
||||
\seep{Rewrite}, \seep{Assign}, \seep{Close}
|
||||
\end{procedure}
|
||||
\latex{\inputlisting{refex/ex51.pp}}
|
||||
\latex{\lstinputlisting{refex/ex51.pp}}
|
||||
\html{\input{refex/ex51.tex}}
|
||||
\begin{procedure}{Rewrite}
|
||||
\Declaration
|
||||
@ -4875,7 +4873,7 @@ generated. This behavior can be changed by the \var{\{\$i\} } compiler switch.
|
||||
\SeeAlso
|
||||
\seep{Reset}, \seep{Assign}, \seep{Close}
|
||||
\end{procedure}
|
||||
\latex{\inputlisting{refex/ex52.pp}}
|
||||
\latex{\lstinputlisting{refex/ex52.pp}}
|
||||
\html{\input{refex/ex52.tex}}
|
||||
\begin{procedure}{Rmdir}
|
||||
\Declaration
|
||||
@ -4889,7 +4887,7 @@ If \var{S} doesn't exist, or isn't empty, a run-time error is generated.
|
||||
\SeeAlso
|
||||
\seep{Chdir}, \seep{Rmdir}
|
||||
\end{procedure}
|
||||
\latex{\inputlisting{refex/ex53.pp}}
|
||||
\latex{\lstinputlisting{refex/ex53.pp}}
|
||||
\html{\input{refex/ex53.tex}}
|
||||
\begin{function}{Round}
|
||||
\Declaration
|
||||
@ -4903,7 +4901,7 @@ None.
|
||||
\SeeAlso
|
||||
\seef{Frac}, \seef{Int}, \seef{Trunc}
|
||||
\end{function}
|
||||
\latex{\inputlisting{refex/ex54.pp}}
|
||||
\latex{\lstinputlisting{refex/ex54.pp}}
|
||||
\html{\input{refex/ex54.tex}}
|
||||
\begin{procedure}{Runerror}
|
||||
\Declaration
|
||||
@ -4917,7 +4915,7 @@ None.
|
||||
\SeeAlso
|
||||
\seep{Exit}, \seep{Halt}
|
||||
\end{procedure}
|
||||
\latex{\inputlisting{refex/ex55.pp}}
|
||||
\latex{\lstinputlisting{refex/ex55.pp}}
|
||||
\html{\input{refex/ex55.tex}}
|
||||
\begin{procedure}{Seek}
|
||||
\Declaration
|
||||
@ -4934,7 +4932,7 @@ the file, or the file isn't opened.
|
||||
\SeeAlso
|
||||
\seef{Eof}, \seef{SeekEof}, \seef{SeekEoln}
|
||||
\end{procedure}
|
||||
\latex{\inputlisting{refex/ex56.pp}}
|
||||
\latex{\lstinputlisting{refex/ex56.pp}}
|
||||
\html{\input{refex/ex56.tex}}
|
||||
\begin{function}{SeekEof}
|
||||
\Declaration
|
||||
@ -4955,7 +4953,7 @@ A run-time error is generated if the file \var{F} isn't opened.
|
||||
\SeeAlso
|
||||
\seef{Eof}, \seef{SeekEoln}, \seep{Seek}
|
||||
\end{function}
|
||||
\latex{\inputlisting{refex/ex57.pp}}
|
||||
\latex{\lstinputlisting{refex/ex57.pp}}
|
||||
\html{\input{refex/ex57.tex}}
|
||||
\begin{function}{SeekEoln}
|
||||
\Declaration
|
||||
@ -4976,7 +4974,7 @@ A run-time error is generated if the file \var{F} isn't opened.
|
||||
\SeeAlso
|
||||
\seef{Eof}, \seef{SeekEof}, \seep{Seek}
|
||||
\end{function}
|
||||
\latex{\inputlisting{refex/ex58.pp}}
|
||||
\latex{\lstinputlisting{refex/ex58.pp}}
|
||||
\html{\input{refex/ex58.tex}}
|
||||
\begin{function}{Seg}
|
||||
\Declaration
|
||||
@ -4992,7 +4990,7 @@ None.
|
||||
\SeeAlso
|
||||
\seef{DSeg}, \seef{CSeg}, \seef{Ofs}, \seef{Ptr}
|
||||
\end{function}
|
||||
\latex{\inputlisting{refex/ex60.pp}}
|
||||
\latex{\lstinputlisting{refex/ex60.pp}}
|
||||
\html{\input{refex/ex60.tex}}
|
||||
\begin{function}{SetJmp}
|
||||
\Declaration
|
||||
@ -5010,7 +5008,7 @@ None.
|
||||
\SeeAlso
|
||||
\seep{LongJmp}
|
||||
\end{function}
|
||||
\latex{\inputlisting{refex/ex79.pp}}
|
||||
\latex{\lstinputlisting{refex/ex79.pp}}
|
||||
\html{\input{refex/ex79.tex}}
|
||||
|
||||
\begin{procedure}{SetLength}
|
||||
@ -5028,7 +5026,7 @@ None.
|
||||
\seef{Length}
|
||||
\end{procedure}
|
||||
|
||||
\latex{\inputlisting{refex/ex85.pp}}
|
||||
\latex{\lstinputlisting{refex/ex85.pp}}
|
||||
\html{\input{refex/ex85.tex}}
|
||||
|
||||
\begin{procedure}{SetTextBuf}
|
||||
@ -5060,7 +5058,7 @@ No checking on \var{Size} is done.
|
||||
\SeeAlso
|
||||
\seep{Assign}, \seep{Reset}, \seep{Rewrite}, \seep{Append}
|
||||
\end{procedure}
|
||||
\latex{\inputlisting{refex/ex61.pp}}
|
||||
\latex{\lstinputlisting{refex/ex61.pp}}
|
||||
\html{\input{refex/ex61.tex}}
|
||||
\begin{function}{Sin}
|
||||
\Declaration
|
||||
@ -5074,7 +5072,7 @@ None.
|
||||
\SeeAlso
|
||||
\seef{Cos}, \seef{Pi}, \seef{Exp}
|
||||
\end{function}
|
||||
\latex{\inputlisting{refex/ex62.pp}}
|
||||
\latex{\lstinputlisting{refex/ex62.pp}}
|
||||
\html{\input{refex/ex62.tex}}
|
||||
\begin{function}{SizeOf}
|
||||
\Declaration
|
||||
@ -5089,7 +5087,7 @@ None.
|
||||
\SeeAlso
|
||||
\seef{Addr}
|
||||
\end{function}
|
||||
\latex{\inputlisting{refex/ex63.pp}}
|
||||
\latex{\lstinputlisting{refex/ex63.pp}}
|
||||
\html{\input{refex/ex63.tex}}
|
||||
\begin{function}{Sptr}
|
||||
\Declaration
|
||||
@ -5103,7 +5101,7 @@ None.
|
||||
\SeeAlso
|
||||
|
||||
\end{function}
|
||||
\latex{\inputlisting{refex/ex64.pp}}
|
||||
\latex{\lstinputlisting{refex/ex64.pp}}
|
||||
\html{\input{refex/ex64.tex}}
|
||||
\begin{function}{Sqr}
|
||||
\Declaration
|
||||
@ -5116,7 +5114,7 @@ None.
|
||||
\SeeAlso
|
||||
\seef{Sqrt}, \seef{Ln}, \seef{Exp}
|
||||
\end{function}
|
||||
\latex{\inputlisting{refex/ex65.pp}}
|
||||
\latex{\lstinputlisting{refex/ex65.pp}}
|
||||
\html{\input{refex/ex65.tex}}
|
||||
\begin{function}{Sqrt}
|
||||
\Declaration
|
||||
@ -5130,7 +5128,7 @@ If \var{X} is negative, then a run-time error is generated.
|
||||
\SeeAlso
|
||||
\seef{Sqr}, \seef{Ln}, \seef{Exp}
|
||||
\end{function}
|
||||
\latex{\inputlisting{refex/ex66.pp}}
|
||||
\latex{\lstinputlisting{refex/ex66.pp}}
|
||||
\html{\input{refex/ex66.tex}}
|
||||
\begin{function}{SSeg}
|
||||
\Declaration
|
||||
@ -5145,7 +5143,7 @@ None.
|
||||
\SeeAlso
|
||||
\seef{Sptr}
|
||||
\end{function}
|
||||
\latex{\inputlisting{refex/ex67.pp}}
|
||||
\latex{\lstinputlisting{refex/ex67.pp}}
|
||||
\html{\input{refex/ex67.tex}}
|
||||
\begin{procedure}{Str}
|
||||
\Declaration
|
||||
@ -5161,7 +5159,7 @@ None.
|
||||
\SeeAlso
|
||||
\seep{Val}
|
||||
\end{procedure}
|
||||
\latex{\inputlisting{refex/ex68.pp}}
|
||||
\latex{\lstinputlisting{refex/ex68.pp}}
|
||||
\html{\input{refex/ex68.tex}}
|
||||
\begin{function}{Succ}
|
||||
\Declaration
|
||||
@ -5194,7 +5192,7 @@ None.
|
||||
\SeeAlso
|
||||
\seef{Lo}, \seef{Hi}
|
||||
\end{function}
|
||||
\latex{\inputlisting{refex/ex69.pp}}
|
||||
\latex{\lstinputlisting{refex/ex69.pp}}
|
||||
\html{\input{refex/ex69.tex}}
|
||||
\begin{function}{Trunc}
|
||||
\Declaration
|
||||
@ -5208,7 +5206,7 @@ None.
|
||||
\SeeAlso
|
||||
\seef{Frac}, \seef{Int}, \seef{Trunc}
|
||||
\end{function}
|
||||
\latex{\inputlisting{refex/ex70.pp}}
|
||||
\latex{\lstinputlisting{refex/ex70.pp}}
|
||||
\html{\input{refex/ex70.tex}}
|
||||
\begin{procedure}{Truncate}
|
||||
\Declaration
|
||||
@ -5224,7 +5222,7 @@ Errors are reported by IOresult.
|
||||
\seep{Append}, \seef{Filepos},
|
||||
\seep{Seek}
|
||||
\end{procedure}
|
||||
\latex{\inputlisting{refex/ex71.pp}}
|
||||
\latex{\lstinputlisting{refex/ex71.pp}}
|
||||
\html{\input{refex/ex71.tex}}
|
||||
\begin{function}{Upcase}
|
||||
\Declaration
|
||||
@ -5240,7 +5238,7 @@ None.
|
||||
\SeeAlso
|
||||
\seef{Lowercase}
|
||||
\end{function}
|
||||
\latex{\inputlisting{refex/ex72.pp}}
|
||||
\latex{\lstinputlisting{refex/ex72.pp}}
|
||||
\html{\input{refex/ex72.tex}}
|
||||
\begin{procedure}{Val}
|
||||
\Declaration
|
||||
@ -5259,7 +5257,7 @@ position where the conversion went wrong.
|
||||
\SeeAlso
|
||||
\seep{Str}
|
||||
\end{procedure}
|
||||
\latex{\inputlisting{refex/ex74.pp}}
|
||||
\latex{\lstinputlisting{refex/ex74.pp}}
|
||||
\html{\input{refex/ex74.tex}}
|
||||
\begin{procedure}{Write}
|
||||
\Declaration
|
||||
@ -5316,7 +5314,7 @@ controlled with the \var{\{\$i\}} switch.
|
||||
\SeeAlso
|
||||
\seep{Write}, \seep{Read}, \seep{Readln}, \seep{Blockwrite}
|
||||
\end{procedure}
|
||||
\latex{\inputlisting{refex/ex75.pp}}
|
||||
\latex{\lstinputlisting{refex/ex75.pp}}
|
||||
\html{\input{refex/ex75.tex}}
|
||||
%
|
||||
% The index.
|
||||
|
@ -124,7 +124,7 @@ operation.
|
||||
\seef{Listen}, \seef{Connect}
|
||||
\end{function}
|
||||
|
||||
\latex{\inputlisting{sockex/socksvr.pp}}
|
||||
\latex{\lstinputlisting{sockex/socksvr.pp}}
|
||||
\html{\input{sockex/socksvr.tex}}
|
||||
|
||||
\begin{functionl}{Accept}{AltAAccept}
|
||||
@ -233,7 +233,7 @@ On error, \var{-1} is returned and errors are reported in
|
||||
\SeeAlso
|
||||
\seef{Listen}, \seef{Bind},\seef{Accept}
|
||||
\end{function}
|
||||
\latex{\inputlisting{sockex/sockcli.pp}}
|
||||
\latex{\lstinputlisting{sockex/sockcli.pp}}
|
||||
\html{\input{sockex/sockcli.tex}}
|
||||
\begin{functionl}{Connect}{AltAConnect}
|
||||
\Declaration
|
||||
@ -283,7 +283,7 @@ The errors are those of \seef{Connect}.
|
||||
\SeeAlso
|
||||
\seef{Connect}
|
||||
\end{functionl}
|
||||
\latex{\inputlisting{sockex/pfinger.pp}}
|
||||
\latex{\lstinputlisting{sockex/pfinger.pp}}
|
||||
\html{\input{sockex/pfinger.tex}}
|
||||
\begin{function}{GetPeerName}
|
||||
\Declaration
|
||||
|
@ -48,7 +48,7 @@ No length checking is performed.
|
||||
\SeeAlso
|
||||
\seem{Concat}{}
|
||||
\end{function}
|
||||
\latex{\inputlisting{stringex/ex11.pp}}
|
||||
\latex{\lstinputlisting{stringex/ex11.pp}}
|
||||
\html{\input{stringex/ex11.tex}}
|
||||
\begin{function}{StrComp}
|
||||
\Declaration
|
||||
@ -85,7 +85,7 @@ No length checking is performed.
|
||||
\SeeAlso
|
||||
\seef{StrPCopy}, \seef{StrLCopy}, \seef{StrECopy}
|
||||
\end{function}
|
||||
\latex{\inputlisting{stringex/ex4.pp}}
|
||||
\latex{\lstinputlisting{stringex/ex4.pp}}
|
||||
\html{\input{stringex/ex4.tex}}
|
||||
\begin{procedure}{StrDispose}
|
||||
\Declaration
|
||||
@ -100,7 +100,7 @@ None.
|
||||
\SeeAlso
|
||||
\seem{Dispose}{}, \seef{StrNew}
|
||||
\end{procedure}
|
||||
\latex{\inputlisting{stringex/ex17.pp}}
|
||||
\latex{\lstinputlisting{stringex/ex17.pp}}
|
||||
\html{\input{stringex/ex17.tex}}
|
||||
\begin{function}{StrECopy}
|
||||
\Declaration
|
||||
@ -117,7 +117,7 @@ No length checking is performed.
|
||||
\SeeAlso
|
||||
\seef{StrLCopy}, \seef{StrCopy}
|
||||
\end{function}
|
||||
\latex{\inputlisting{stringex/ex6.pp}}
|
||||
\latex{\lstinputlisting{stringex/ex6.pp}}
|
||||
\html{\input{stringex/ex6.tex}}
|
||||
\begin{function}{StrEnd}
|
||||
\Declaration
|
||||
@ -133,7 +133,7 @@ None.
|
||||
\SeeAlso
|
||||
\seef{StrLen}
|
||||
\end{function}
|
||||
\latex{\inputlisting{stringex/ex7.pp}}
|
||||
\latex{\lstinputlisting{stringex/ex7.pp}}
|
||||
\html{\input{stringex/ex7.tex}}
|
||||
\begin{function}{StrIComp}
|
||||
\Declaration
|
||||
@ -154,7 +154,7 @@ None.
|
||||
\SeeAlso
|
||||
\seef{StrLComp}, \seef{StrComp}, \seef{StrLIComp}
|
||||
\end{function}
|
||||
\latex{\inputlisting{stringex/ex8.pp}}
|
||||
\latex{\lstinputlisting{stringex/ex8.pp}}
|
||||
\html{\input{stringex/ex8.tex}}
|
||||
\begin{function}{StrLCat}
|
||||
\Declaration
|
||||
@ -170,7 +170,7 @@ None.
|
||||
\SeeAlso
|
||||
\seef{StrCat}
|
||||
\end{function}
|
||||
\latex{\inputlisting{stringex/ex12.pp}}
|
||||
\latex{\lstinputlisting{stringex/ex12.pp}}
|
||||
\html{\input{stringex/ex12.tex}}
|
||||
\begin{function}{StrLComp}
|
||||
\Declaration
|
||||
@ -192,7 +192,7 @@ None.
|
||||
\SeeAlso
|
||||
\seef{StrComp}, \seef{StrIComp}, \seef{StrLIComp}
|
||||
\end{function}
|
||||
\latex{\inputlisting{stringex/ex8.pp}}
|
||||
\latex{\lstinputlisting{stringex/ex8.pp}}
|
||||
\html{\input{stringex/ex8.tex}}
|
||||
\begin{function}{StrLCopy}
|
||||
\Declaration
|
||||
@ -209,7 +209,7 @@ No length checking is performed.
|
||||
\seef{StrCopy}, \seef{StrECopy}
|
||||
\end{function}
|
||||
|
||||
\latex{\inputlisting{stringex/ex5.pp}}
|
||||
\latex{\lstinputlisting{stringex/ex5.pp}}
|
||||
\html{\input{stringex/ex5.tex}}
|
||||
\begin{function}{StrLen}
|
||||
\Declaration
|
||||
@ -224,7 +224,7 @@ None.
|
||||
\SeeAlso
|
||||
\seem{Length}{}
|
||||
\end{function}
|
||||
\latex{\inputlisting{stringex/ex1.pp}}
|
||||
\latex{\lstinputlisting{stringex/ex1.pp}}
|
||||
\html{\input{stringex/ex1.tex}}
|
||||
\begin{function}{StrLIComp}
|
||||
\Declaration
|
||||
@ -260,7 +260,7 @@ None.
|
||||
\SeeAlso
|
||||
\seem{Upcase}{}, \seef{StrUpper}
|
||||
\end{function}
|
||||
\latex{\inputlisting{stringex/ex14.pp}}
|
||||
\latex{\lstinputlisting{stringex/ex14.pp}}
|
||||
\html{\input{stringex/ex14.tex}}
|
||||
\begin{function}{StrMove}
|
||||
\Declaration
|
||||
@ -277,7 +277,7 @@ None.
|
||||
\SeeAlso
|
||||
\seef{StrLCopy}, \seef{StrCopy}
|
||||
\end{function}
|
||||
\latex{\inputlisting{stringex/ex10.pp}}
|
||||
\latex{\lstinputlisting{stringex/ex10.pp}}
|
||||
\html{\input{stringex/ex10.tex}}
|
||||
\begin{function}{StrNew}
|
||||
\Declaration
|
||||
@ -292,7 +292,7 @@ Returns \var{Nil} if no memory was available for the copy.
|
||||
\SeeAlso
|
||||
\seem{New}{}, \seef{StrCopy}, \seep{StrDispose}
|
||||
\end{function}
|
||||
\latex{\inputlisting{stringex/ex16.pp}}
|
||||
\latex{\lstinputlisting{stringex/ex16.pp}}
|
||||
\html{\input{stringex/ex16.tex}}
|
||||
\begin{function}{StrPas}
|
||||
\Declaration
|
||||
@ -308,7 +308,7 @@ None.
|
||||
\SeeAlso
|
||||
\seef{StrPCopy}
|
||||
\end{function}
|
||||
\latex{\inputlisting{stringex/ex3.pp}}
|
||||
\latex{\lstinputlisting{stringex/ex3.pp}}
|
||||
\html{\input{stringex/ex3.tex}}
|
||||
\begin{function}{StrPCopy}
|
||||
\Declaration
|
||||
@ -325,7 +325,7 @@ No length checking is performed.
|
||||
\SeeAlso
|
||||
\seef{StrPas}
|
||||
\end{function}
|
||||
\latex{\inputlisting{stringex/ex2.pp}}
|
||||
\latex{\lstinputlisting{stringex/ex2.pp}}
|
||||
\html{\input{stringex/ex2.tex}}
|
||||
\begin{function}{StrPos}
|
||||
\Declaration
|
||||
@ -341,7 +341,7 @@ None.
|
||||
\SeeAlso
|
||||
\seem{Pos}{}, \seef{StrScan}, \seef{StrRScan}
|
||||
\end{function}
|
||||
\latex{\inputlisting{stringex/ex15.pp}}
|
||||
\latex{\lstinputlisting{stringex/ex15.pp}}
|
||||
\html{\input{stringex/ex15.tex}}
|
||||
\begin{function}{StrRScan}
|
||||
\Declaration
|
||||
@ -374,7 +374,7 @@ None.
|
||||
\SeeAlso
|
||||
\seem{Pos}{}, \seef{StrRScan}, \seef{StrPos}
|
||||
\end{function}
|
||||
\latex{\inputlisting{stringex/ex13.pp}}
|
||||
\latex{\lstinputlisting{stringex/ex13.pp}}
|
||||
\html{\input{stringex/ex13.tex}}
|
||||
\begin{function}{StrUpper}
|
||||
\Declaration
|
||||
|
@ -256,7 +256,7 @@ None.
|
||||
\seef{Time},\seef{Now}, \seety{TDateTime}.
|
||||
\end{function}
|
||||
|
||||
\latex{\inputlisting{sysutex/ex1.pp}}
|
||||
\latex{\lstinputlisting{sysutex/ex1.pp}}
|
||||
\html{\input{sysutex/ex1.tex}}
|
||||
|
||||
\begin{function}{DateTimeToFileDate}
|
||||
@ -273,7 +273,7 @@ None.
|
||||
\seep{DateTimeToSystemTime}, \seef{DateTimeToTimeStamp}
|
||||
\end{function}
|
||||
|
||||
\latex{\inputlisting{sysutex/ex2.pp}}
|
||||
\latex{\lstinputlisting{sysutex/ex2.pp}}
|
||||
\html{\input{sysutex/ex2.tex}}
|
||||
|
||||
\begin{function}{DateTimeToStr}
|
||||
@ -290,7 +290,7 @@ None.
|
||||
\seef{FormatDateTime}, \seety{TDateTime}.
|
||||
\end{function}
|
||||
|
||||
\latex{\inputlisting{sysutex/ex3.pp}}
|
||||
\latex{\lstinputlisting{sysutex/ex3.pp}}
|
||||
\html{\input{sysutex/ex3.tex}}
|
||||
|
||||
\begin{procedure}{DateTimeToString}
|
||||
@ -309,7 +309,7 @@ raised.
|
||||
\seef{FormatDateTime}, \sees{formatchars}.
|
||||
\end{procedure}
|
||||
|
||||
\latex{\inputlisting{sysutex/ex4.pp}}
|
||||
\latex{\lstinputlisting{sysutex/ex4.pp}}
|
||||
\html{\input{sysutex/ex4.tex}}
|
||||
|
||||
\begin{procedure}{DateTimeToSystemTime}
|
||||
@ -325,7 +325,7 @@ None.
|
||||
\seef{DateTimeToTimeStamp}
|
||||
\end{procedure}
|
||||
|
||||
\latex{\inputlisting{sysutex/ex5.pp}}
|
||||
\latex{\lstinputlisting{sysutex/ex5.pp}}
|
||||
\html{\input{sysutex/ex5.tex}}
|
||||
|
||||
\begin{function}{DateTimeToTimeStamp}
|
||||
@ -341,7 +341,7 @@ None.
|
||||
\seep{DateTimeToSystemTime}
|
||||
\end{function}
|
||||
|
||||
\latex{\inputlisting{sysutex/ex6.pp}}
|
||||
\latex{\lstinputlisting{sysutex/ex6.pp}}
|
||||
\html{\input{sysutex/ex6.tex}}
|
||||
|
||||
\begin{function}{DateToStr}
|
||||
@ -359,7 +359,7 @@ None.
|
||||
\end{function}
|
||||
|
||||
|
||||
\latex{\inputlisting{sysutex/ex7.pp}}
|
||||
\latex{\lstinputlisting{sysutex/ex7.pp}}
|
||||
\html{\input{sysutex/ex7.tex}}
|
||||
|
||||
\begin{function}{DayOfWeek}
|
||||
@ -378,7 +378,7 @@ None.
|
||||
\end{function}
|
||||
|
||||
|
||||
\latex{\inputlisting{sysutex/ex8.pp}}
|
||||
\latex{\lstinputlisting{sysutex/ex8.pp}}
|
||||
\html{\input{sysutex/ex8.tex}}
|
||||
|
||||
\begin{procedure}{DecodeDate}
|
||||
@ -393,7 +393,7 @@ None.
|
||||
\seef{EncodeDate}, \seep{DecodeTime}.
|
||||
\end{procedure}
|
||||
|
||||
\latex{\inputlisting{sysutex/ex9.pp}}
|
||||
\latex{\lstinputlisting{sysutex/ex9.pp}}
|
||||
\html{\input{sysutex/ex9.tex}}
|
||||
|
||||
|
||||
@ -410,7 +410,7 @@ None.
|
||||
\seef{EncodeTime}, \seep{DecodeDate}.
|
||||
\end{procedure}
|
||||
|
||||
\latex{\inputlisting{sysutex/ex10.pp}}
|
||||
\latex{\lstinputlisting{sysutex/ex10.pp}}
|
||||
\html{\input{sysutex/ex10.tex}}
|
||||
|
||||
\begin{function}{EncodeDate}
|
||||
@ -433,7 +433,7 @@ In case one of the parameters is out of it's valid range, 0 is returned.
|
||||
\seef{EncodeTime}, \seep{DecodeDate}.
|
||||
\end{function}
|
||||
|
||||
\latex{\inputlisting{sysutex/ex11.pp}}
|
||||
\latex{\lstinputlisting{sysutex/ex11.pp}}
|
||||
\html{\input{sysutex/ex11.tex}}
|
||||
|
||||
\begin{function}{EncodeTime}
|
||||
@ -456,7 +456,7 @@ In case one of the parameters is outside of it's valid range, 0 is returned.
|
||||
\seef{EncodeDate}, \seep{DecodeTime}.
|
||||
\end{function}
|
||||
|
||||
\latex{\inputlisting{sysutex/ex12.pp}}
|
||||
\latex{\lstinputlisting{sysutex/ex12.pp}}
|
||||
\html{\input{sysutex/ex12.tex}}
|
||||
|
||||
|
||||
@ -474,7 +474,7 @@ None.
|
||||
\seef{DateTimeToFileDate}
|
||||
\end{function}
|
||||
|
||||
\latex{\inputlisting{sysutex/ex13.pp}}
|
||||
\latex{\lstinputlisting{sysutex/ex13.pp}}
|
||||
\html{\input{sysutex/ex13.tex}}
|
||||
|
||||
\begin{function}{FormatDateTime}
|
||||
@ -492,7 +492,7 @@ On error (such as an invalid character in the formatting string), and
|
||||
\seef{StrToDateTime}
|
||||
\end{function}
|
||||
|
||||
\latex{\inputlisting{sysutex/ex14.pp}}
|
||||
\latex{\lstinputlisting{sysutex/ex14.pp}}
|
||||
\html{\input{sysutex/ex14.tex}}
|
||||
|
||||
|
||||
@ -511,7 +511,7 @@ None.
|
||||
\end{function}
|
||||
|
||||
|
||||
\latex{\inputlisting{sysutex/ex15.pp}}
|
||||
\latex{\lstinputlisting{sysutex/ex15.pp}}
|
||||
\html{\input{sysutex/ex15.tex}}
|
||||
|
||||
\begin{function}{IsLeapYear}
|
||||
@ -526,7 +526,7 @@ None.
|
||||
\seef{IncMonth}, \seef{Date}
|
||||
\end{function}
|
||||
|
||||
\latex{\inputlisting{sysutex/ex16.pp}}
|
||||
\latex{\lstinputlisting{sysutex/ex16.pp}}
|
||||
\html{\input{sysutex/ex16.tex}}
|
||||
|
||||
\begin{function}{MSecsToTimeStamp}
|
||||
@ -544,7 +544,7 @@ None.
|
||||
\seef{TimeStampToMSecs}, \seef{DateTimeToTimeStamp},
|
||||
\end{function}
|
||||
|
||||
\latex{\inputlisting{sysutex/ex17.pp}}
|
||||
\latex{\lstinputlisting{sysutex/ex17.pp}}
|
||||
\html{\input{sysutex/ex17.tex}}
|
||||
|
||||
\begin{function}{Now}
|
||||
@ -559,7 +559,7 @@ None.
|
||||
\seef{Date}, \seef{Time}
|
||||
\end{function}
|
||||
|
||||
\latex{\inputlisting{sysutex/ex18.pp}}
|
||||
\latex{\lstinputlisting{sysutex/ex18.pp}}
|
||||
\html{\input{sysutex/ex18.tex}}
|
||||
|
||||
\begin{function}{StrToDate}
|
||||
@ -582,7 +582,7 @@ an \var{EConvertError} exception is raised.
|
||||
\seef{StrToTime}, \seef{DateToStr}n \seef{TimeToStr}.
|
||||
\end{function}
|
||||
|
||||
\latex{\inputlisting{sysutex/ex19.pp}}
|
||||
\latex{\lstinputlisting{sysutex/ex19.pp}}
|
||||
\html{\input{sysutex/ex19.tex}}
|
||||
|
||||
\begin{function}{StrToDateTime}
|
||||
@ -605,7 +605,7 @@ an \var{EConvertError} exception is raised.
|
||||
\seef{StrToDate}, \seef{StrToTime}, \seef{DateTimeToStr}
|
||||
\end{function}
|
||||
|
||||
\latex{\inputlisting{sysutex/ex20.pp}}
|
||||
\latex{\lstinputlisting{sysutex/ex20.pp}}
|
||||
\html{\input{sysutex/ex20.tex}}
|
||||
|
||||
\begin{function}{StrToTime}
|
||||
@ -623,7 +623,7 @@ an \var{EConvertError} exception is raised.
|
||||
\seef{StrToDate}, \seef{StrToDateTime}, \seef{TimeToStr}
|
||||
\end{function}
|
||||
|
||||
\latex{\inputlisting{sysutex/ex21.pp}}
|
||||
\latex{\lstinputlisting{sysutex/ex21.pp}}
|
||||
\html{\input{sysutex/ex21.tex}}
|
||||
|
||||
\begin{function}{SystemTimeToDateTime}
|
||||
@ -638,7 +638,7 @@ None.
|
||||
\seep{DateTimeToSystemTime}
|
||||
\end{function}
|
||||
|
||||
\latex{\inputlisting{sysutex/ex22.pp}}
|
||||
\latex{\lstinputlisting{sysutex/ex22.pp}}
|
||||
\html{\input{sysutex/ex22.tex}}
|
||||
|
||||
\begin{function}{Time}
|
||||
@ -654,7 +654,7 @@ None.
|
||||
\end{function}
|
||||
|
||||
|
||||
\latex{\inputlisting{sysutex/ex23.pp}}
|
||||
\latex{\lstinputlisting{sysutex/ex23.pp}}
|
||||
\html{\input{sysutex/ex23.tex}}
|
||||
|
||||
\begin{function}{TimeStampToDateTime}
|
||||
@ -669,7 +669,7 @@ None.
|
||||
\seef{DateTimeToTimeStamp}, \seef{TimeStampToMSecs}
|
||||
\end{function}
|
||||
|
||||
\latex{\inputlisting{sysutex/ex24.pp}}
|
||||
\latex{\lstinputlisting{sysutex/ex24.pp}}
|
||||
\html{\input{sysutex/ex24.tex}}
|
||||
|
||||
\begin{function}{TimeStampToMSecs}
|
||||
@ -702,7 +702,7 @@ None.
|
||||
\SeeAlso
|
||||
\end{function}
|
||||
|
||||
\latex{\inputlisting{sysutex/ex25.pp}}
|
||||
\latex{\lstinputlisting{sysutex/ex25.pp}}
|
||||
\html{\input{sysutex/ex25.tex}}
|
||||
|
||||
|
||||
@ -750,7 +750,7 @@ In case of an error, the function returns \var{False}.
|
||||
\seef{RemoveDir}
|
||||
\end{function}
|
||||
|
||||
\latex{\inputlisting{sysutex/ex26.pp}}
|
||||
\latex{\lstinputlisting{sysutex/ex26.pp}}
|
||||
\html{\input{sysutex/ex26.tex}}
|
||||
|
||||
\begin{functionl}{DiskFree}{DiskFreeSys}
|
||||
@ -778,7 +778,7 @@ On error, \var{-1} is returned.
|
||||
\seefl{DiskSize}{DiskSizeSys}, \seef{AddDisk}
|
||||
\end{functionl}
|
||||
|
||||
\latex{\inputlisting{sysutex/ex27.pp}}
|
||||
\latex{\lstinputlisting{sysutex/ex27.pp}}
|
||||
\html{\input{sysutex/ex27.tex}}
|
||||
|
||||
\begin{functionl}{DiskSize}{DiskSizeSys}
|
||||
@ -819,7 +819,7 @@ None.
|
||||
\seef{SetCurrentDir}, \seef{DiskFree}, \seef{DiskSize}
|
||||
\end{function}
|
||||
|
||||
\latex{\inputlisting{sysutex/ex28.pp}}
|
||||
\latex{\lstinputlisting{sysutex/ex28.pp}}
|
||||
\html{\input{sysutex/ex28.tex}}
|
||||
|
||||
\begin{function}{RemoveDir}
|
||||
@ -850,7 +850,7 @@ In case of error, \var{False} is returned.
|
||||
\seef{GetCurrentDir}
|
||||
\end{function}
|
||||
|
||||
\latex{\inputlisting{sysutex/ex29.pp}}
|
||||
\latex{\lstinputlisting{sysutex/ex29.pp}}
|
||||
\html{\input{sysutex/ex29.tex}}
|
||||
|
||||
\section{File handling functions}
|
||||
@ -887,7 +887,7 @@ On error, \var{False} is returned.
|
||||
\seef{FileCreate}, \seef{FileExists}
|
||||
\end{function}
|
||||
|
||||
\latex{\inputlisting{sysutex/ex31.pp}}
|
||||
\latex{\lstinputlisting{sysutex/ex31.pp}}
|
||||
\html{\input{sysutex/ex31.tex}}
|
||||
|
||||
\begin{procedure}{DoDirSeparators}
|
||||
@ -902,7 +902,7 @@ None.
|
||||
\seef{ExtractFileName}, \seef{ExtractFilePath}
|
||||
\end{procedure}
|
||||
|
||||
\latex{\inputlisting{sysutex/ex32.pp}}
|
||||
\latex{\lstinputlisting{sysutex/ex32.pp}}
|
||||
\html{\input{sysutex/ex32.tex}}
|
||||
|
||||
\begin{function}{ExpandFileName}
|
||||
@ -919,7 +919,7 @@ None.
|
||||
\seef{ExtractFileDrive}, \seef{ExtractFileExt}, \seef{ExtractRelativePath}
|
||||
\end{function}
|
||||
|
||||
\latex{\inputlisting{sysutex/ex33.pp}}
|
||||
\latex{\lstinputlisting{sysutex/ex33.pp}}
|
||||
\html{\input{sysutex/ex33.tex}}
|
||||
|
||||
|
||||
@ -950,7 +950,7 @@ None.
|
||||
\seef{ExtractFileDrive}, \seef{ExtractFileExt}, \seef{ExtractRelativePath}
|
||||
\end{function}
|
||||
|
||||
\latex{\inputlisting{sysutex/ex34.pp}}
|
||||
\latex{\lstinputlisting{sysutex/ex34.pp}}
|
||||
\html{\input{sysutex/ex34.tex}}
|
||||
|
||||
\begin{function}{ExtractFileDrive}
|
||||
@ -1037,7 +1037,7 @@ None.
|
||||
\seef{ExtractFileDrive}, \seef{ExtractFileExt},
|
||||
\end{function}
|
||||
|
||||
\latex{\inputlisting{sysutex/ex35.pp}}
|
||||
\latex{\lstinputlisting{sysutex/ex35.pp}}
|
||||
\html{\input{sysutex/ex35.tex}}
|
||||
|
||||
\begin{function}{FileAge}
|
||||
@ -1053,7 +1053,7 @@ In case of errors, \var{-1} is returned.
|
||||
\seef{FileDateToDateTime}, \seef{FileExists}, \seef{FileGetAttr}
|
||||
\end{function}
|
||||
|
||||
\latex{\inputlisting{sysutex/ex36.pp}}
|
||||
\latex{\lstinputlisting{sysutex/ex36.pp}}
|
||||
\html{\input{sysutex/ex36.tex}}
|
||||
|
||||
|
||||
@ -1090,7 +1090,7 @@ returns \var{-1}.
|
||||
\seef{FileTruncate}, \seef{FileSeek}
|
||||
\end{function}
|
||||
|
||||
\latex{\inputlisting{sysutex/ex37.pp}}
|
||||
\latex{\lstinputlisting{sysutex/ex37.pp}}
|
||||
\html{\input{sysutex/ex37.tex}}
|
||||
|
||||
\begin{function}{FileExists}
|
||||
@ -1106,7 +1106,7 @@ None.
|
||||
\end{function}
|
||||
|
||||
|
||||
\latex{\inputlisting{sysutex/ex38.pp}}
|
||||
\latex{\lstinputlisting{sysutex/ex38.pp}}
|
||||
\html{\input{sysutex/ex38.tex}}
|
||||
|
||||
|
||||
@ -1133,7 +1133,7 @@ In case of error, -1 is returned.
|
||||
\seef{FileSetAttr}, \seef{FileAge}, \seef{FileGetDate}.
|
||||
\end{function}
|
||||
|
||||
\latex{\inputlisting{sysutex/ex40.pp}}
|
||||
\latex{\lstinputlisting{sysutex/ex40.pp}}
|
||||
\html{\input{sysutex/ex40.tex}}
|
||||
|
||||
\begin{function}{FileGetDate}
|
||||
@ -1150,7 +1150,7 @@ On error, -1 is returned.
|
||||
\seef{FileAge}
|
||||
\end{function}
|
||||
|
||||
\latex{\inputlisting{sysutex/ex39.pp}}
|
||||
\latex{\lstinputlisting{sysutex/ex39.pp}}
|
||||
\html{\input{sysutex/ex39.tex}}
|
||||
|
||||
\begin{function}{FileOpen}
|
||||
@ -1210,7 +1210,7 @@ On error, an empty string is returned.
|
||||
\seef{ExpandFileName}, \seef{FindFirst}
|
||||
\end{function}
|
||||
|
||||
\latex{\inputlisting{sysutex/ex41.pp}}
|
||||
\latex{\lstinputlisting{sysutex/ex41.pp}}
|
||||
\html{\input{sysutex/ex41.tex}}
|
||||
|
||||
\begin{function}{FileSeek}
|
||||
@ -1237,7 +1237,7 @@ On error, -1 is returned.
|
||||
\seef{FileRead}, \seef{FileTruncate}
|
||||
\end{function}
|
||||
|
||||
\latex{\inputlisting{sysutex/ex42.pp}}
|
||||
\latex{\lstinputlisting{sysutex/ex42.pp}}
|
||||
\html{\input{sysutex/ex42.tex}}
|
||||
|
||||
For an example, see \seef{FileCreate}
|
||||
@ -1347,7 +1347,7 @@ On error the function returns -1 on linux, a nonzero error code on Windows.
|
||||
\seep{FindClose}{FindCloseSys}, \seef{FindNext}.
|
||||
\end{function}
|
||||
|
||||
\latex{\inputlisting{sysutex/ex43.pp}}
|
||||
\latex{\lstinputlisting{sysutex/ex43.pp}}
|
||||
\html{\input{sysutex/ex43.tex}}
|
||||
|
||||
\begin{function}{FindNext}
|
||||
@ -1383,7 +1383,7 @@ None.
|
||||
\seef{ExtractRelativePath}
|
||||
\end{function}
|
||||
|
||||
\latex{\inputlisting{sysutex/ex45.pp}}
|
||||
\latex{\lstinputlisting{sysutex/ex45.pp}}
|
||||
\html{\input{sysutex/ex45.tex}}
|
||||
|
||||
\begin{function}{RenameFile}
|
||||
@ -1400,7 +1400,7 @@ On Error, \var{False} is returned.
|
||||
\seef{DeleteFile}
|
||||
\end{function}
|
||||
|
||||
\latex{\inputlisting{sysutex/ex44.pp}}
|
||||
\latex{\lstinputlisting{sysutex/ex44.pp}}
|
||||
\html{\input{sysutex/ex44.tex}}
|
||||
|
||||
\begin{function}{SetDirSeparators}
|
||||
@ -1415,7 +1415,7 @@ None.
|
||||
\seef{ExpandFileName}, \seef{ExtractFilePath}, \seef{ExtractFileDir}
|
||||
\end{function}
|
||||
|
||||
\latex{\inputlisting{sysutex/ex47.pp}}
|
||||
\latex{\lstinputlisting{sysutex/ex47.pp}}
|
||||
\html{\input{sysutex/ex47.tex}}
|
||||
|
||||
\section{PChar functions}
|
||||
@ -1490,7 +1490,7 @@ If no more memory is available, a runtime error occurs.
|
||||
\seefl{StrAlloc}{StrAllocSys}.\seepl{StrDispose}{StrDisposeSys}.
|
||||
\end{function}
|
||||
|
||||
\latex{\inputlisting{sysutex/ex46.pp}}
|
||||
\latex{\lstinputlisting{sysutex/ex46.pp}}
|
||||
\html{\input{sysutex/ex46.tex}}
|
||||
|
||||
|
||||
@ -1573,7 +1573,7 @@ None.
|
||||
\seef{AnsiCompareStr}, \seef{AnsiCompareText}
|
||||
\end{function}
|
||||
|
||||
\latex{\inputlisting{sysutex/ex48.pp}}
|
||||
\latex{\lstinputlisting{sysutex/ex48.pp}}
|
||||
\html{\input{sysutex/ex48.tex}}
|
||||
|
||||
\begin{function}{AnsiCompareStr}
|
||||
@ -1596,7 +1596,7 @@ None.
|
||||
\seef{AdjustLineBreaks}, \seef{AnsiCompareText}
|
||||
\end{function}
|
||||
|
||||
\latex{\inputlisting{sysutex/ex49.pp}}
|
||||
\latex{\lstinputlisting{sysutex/ex49.pp}}
|
||||
\html{\input{sysutex/ex49.tex}}
|
||||
|
||||
\begin{function}{AnsiCompareText}
|
||||
@ -1620,7 +1620,7 @@ None.
|
||||
\seef{AdjustLineBreaks}, \seef{AnsiCompareText}
|
||||
\end{function}
|
||||
|
||||
\latex{\inputlisting{sysutex/ex50.pp}}
|
||||
\latex{\lstinputlisting{sysutex/ex50.pp}}
|
||||
\html{\input{sysutex/ex50.tex}}
|
||||
|
||||
\begin{function}{AnsiExtractQuotedStr}
|
||||
@ -1637,7 +1637,7 @@ None.
|
||||
\seef{AnsiQuotedStr}
|
||||
\end{function}
|
||||
|
||||
\latex{\inputlisting{sysutex/ex51.pp}}
|
||||
\latex{\lstinputlisting{sysutex/ex51.pp}}
|
||||
\html{\input{sysutex/ex51.tex}}
|
||||
|
||||
\begin{function}{AnsiLastChar}
|
||||
@ -1653,7 +1653,7 @@ None.
|
||||
\seef{AnsiStrLastChar}
|
||||
\end{function}
|
||||
|
||||
\latex{\inputlisting{sysutex/ex52.pp}}
|
||||
\latex{\lstinputlisting{sysutex/ex52.pp}}
|
||||
\html{\input{sysutex/ex52.tex}}
|
||||
|
||||
\begin{function}{AnsiLowerCase}
|
||||
@ -1673,7 +1673,7 @@ None.
|
||||
\seef{AnsiUpperCase}, \seef{AnsiStrLower}, \seef{AnsiStrUpper}
|
||||
\end{function}
|
||||
|
||||
\latex{\inputlisting{sysutex/ex53.pp}}
|
||||
\latex{\lstinputlisting{sysutex/ex53.pp}}
|
||||
\html{\input{sysutex/ex53.tex}}
|
||||
|
||||
\begin{function}{AnsiQuotedStr}
|
||||
@ -1712,7 +1712,7 @@ None.
|
||||
\seef{AnsiCompareText}, \seef{AnsiCompareStr}
|
||||
\end{function}
|
||||
|
||||
\latex{\inputlisting{sysutex/ex54.pp}}
|
||||
\latex{\lstinputlisting{sysutex/ex54.pp}}
|
||||
\html{\input{sysutex/ex54.tex}}
|
||||
|
||||
\begin{function}{AnsiStrIComp}
|
||||
@ -1734,7 +1734,7 @@ None.
|
||||
\seef{AnsiCompareText}, \seef{AnsiCompareStr}
|
||||
\end{function}
|
||||
|
||||
\latex{\inputlisting{sysutex/ex55.pp}}
|
||||
\latex{\lstinputlisting{sysutex/ex55.pp}}
|
||||
\html{\input{sysutex/ex55.tex}}
|
||||
|
||||
\begin{function}{AnsiStrLastChar}
|
||||
@ -1750,7 +1750,7 @@ None.
|
||||
\seef{AnsiLastChar}
|
||||
\end{function}
|
||||
|
||||
\latex{\inputlisting{sysutex/ex58.pp}}
|
||||
\latex{\lstinputlisting{sysutex/ex58.pp}}
|
||||
\html{\input{sysutex/ex58.tex}}
|
||||
|
||||
\begin{function}{AnsiStrLComp}
|
||||
@ -1773,7 +1773,7 @@ None.
|
||||
\seef{AnsiCompareText}, \seef{AnsiCompareStr}
|
||||
\end{function}
|
||||
|
||||
\latex{\inputlisting{sysutex/ex56.pp}}
|
||||
\latex{\lstinputlisting{sysutex/ex56.pp}}
|
||||
\html{\input{sysutex/ex56.tex}}
|
||||
|
||||
\begin{function}{AnsiStrLIComp}
|
||||
@ -1796,7 +1796,7 @@ None.
|
||||
\seef{AnsiCompareText}, \seef{AnsiCompareStr}
|
||||
\end{function}
|
||||
|
||||
\latex{\inputlisting{sysutex/ex57.pp}}
|
||||
\latex{\lstinputlisting{sysutex/ex57.pp}}
|
||||
\html{\input{sysutex/ex57.tex}}
|
||||
|
||||
|
||||
@ -1819,7 +1819,7 @@ None.
|
||||
\seef{AnsiStrUpper}, \seef{AnsiLowerCase}
|
||||
\end{function}
|
||||
|
||||
\latex{\inputlisting{sysutex/ex59.pp}}
|
||||
\latex{\lstinputlisting{sysutex/ex59.pp}}
|
||||
\html{\input{sysutex/ex59.tex}}
|
||||
|
||||
\begin{function}{AnsiStrUpper}
|
||||
@ -1840,7 +1840,7 @@ None.
|
||||
\seef{AnsiUpperCase}, \seef{AnsiStrLower}, \seef{AnsiLowerCase}
|
||||
\end{function}
|
||||
|
||||
\latex{\inputlisting{sysutex/ex60.pp}}
|
||||
\latex{\lstinputlisting{sysutex/ex60.pp}}
|
||||
\html{\input{sysutex/ex60.tex}}
|
||||
|
||||
\begin{function}{AnsiUpperCase}
|
||||
@ -1860,7 +1860,7 @@ None.
|
||||
\seef{AnsiStrUpper}, \seef{AnsiStrLower}, \seef{AnsiLowerCase}
|
||||
\end{function}
|
||||
|
||||
\latex{\inputlisting{sysutex/ex61.pp}}
|
||||
\latex{\lstinputlisting{sysutex/ex61.pp}}
|
||||
\html{\input{sysutex/ex61.tex}}
|
||||
|
||||
\begin{procedure}{AppendStr}
|
||||
@ -1877,7 +1877,7 @@ None.
|
||||
\seep{AssignStr},\seef{NewStr}, \seep{DisposeStr}
|
||||
\end{procedure}
|
||||
|
||||
\latex{\inputlisting{sysutex/ex62.pp}}
|
||||
\latex{\lstinputlisting{sysutex/ex62.pp}}
|
||||
\html{\input{sysutex/ex62.tex}}
|
||||
|
||||
\begin{procedure}{AssignStr}
|
||||
@ -1896,7 +1896,7 @@ None.
|
||||
\seef{NewStr}, \seep{AppendStr}, \seep{DisposeStr}
|
||||
\end{procedure}
|
||||
|
||||
\latex{\inputlisting{sysutex/ex63.pp}}
|
||||
\latex{\lstinputlisting{sysutex/ex63.pp}}
|
||||
\html{\input{sysutex/ex63.tex}}
|
||||
|
||||
\begin{function}{BCDToInt}
|
||||
@ -1910,7 +1910,7 @@ None.
|
||||
\seef{StrToInt}, \seef{IntToStr}
|
||||
\end{function}
|
||||
|
||||
\latex{\inputlisting{sysutex/ex64.pp}}
|
||||
\latex{\lstinputlisting{sysutex/ex64.pp}}
|
||||
\html{\input{sysutex/ex64.tex}}
|
||||
|
||||
|
||||
@ -1954,7 +1954,7 @@ None.
|
||||
\seef{AnsiCompareText}, \seef{AnsiCompareStr}, \seef{CompareText}
|
||||
\end{function}
|
||||
|
||||
\latex{\inputlisting{sysutex/ex65.pp}}
|
||||
\latex{\lstinputlisting{sysutex/ex65.pp}}
|
||||
\html{\input{sysutex/ex65.tex}}
|
||||
|
||||
\begin{function}{CompareText}
|
||||
@ -1978,7 +1978,7 @@ None.
|
||||
\seef{AnsiCompareText}, \seef{AnsiCompareStr}, \seef{CompareStr}
|
||||
\end{function}
|
||||
|
||||
\latex{\inputlisting{sysutex/ex66.pp}}
|
||||
\latex{\lstinputlisting{sysutex/ex66.pp}}
|
||||
\html{\input{sysutex/ex66.tex}}
|
||||
|
||||
|
||||
@ -2022,7 +2022,7 @@ None.
|
||||
%, \seef{FormatFloat}
|
||||
\end{function}
|
||||
|
||||
\latex{\inputlisting{sysutex/ex67.pp}}
|
||||
\latex{\lstinputlisting{sysutex/ex67.pp}}
|
||||
\html{\input{sysutex/ex67.tex}}
|
||||
|
||||
\begin{function}{FloatToStrF}
|
||||
@ -2072,7 +2072,7 @@ None.
|
||||
\seef{FloatToStr}, \seef{FloatToText}
|
||||
\end{function}
|
||||
|
||||
\latex{\inputlisting{sysutex/ex68.pp}}
|
||||
\latex{\lstinputlisting{sysutex/ex68.pp}}
|
||||
\html{\input{sysutex/ex68.tex}}
|
||||
|
||||
\begin{function}{FloatToText}
|
||||
@ -2093,7 +2093,7 @@ None.
|
||||
\seef{FloatToStr}, \seef{FloatToStrF}
|
||||
\end{function}
|
||||
|
||||
\latex{\inputlisting{sysutex/ex69.pp}}
|
||||
\latex{\lstinputlisting{sysutex/ex69.pp}}
|
||||
\html{\input{sysutex/ex69.tex}}
|
||||
|
||||
\begin{procedure}{FmtStr}
|
||||
@ -2109,7 +2109,7 @@ In case of error, a \var{EConvertError} exception is raised.
|
||||
\seef{Format}, \seef{FormatBuf}.
|
||||
\end{procedure}
|
||||
|
||||
\latex{\inputlisting{sysutex/ex70.pp}}
|
||||
\latex{\lstinputlisting{sysutex/ex70.pp}}
|
||||
\html{\input{sysutex/ex70.tex}}
|
||||
|
||||
\begin{function}{Format}
|
||||
@ -2226,7 +2226,7 @@ errors are:
|
||||
\seef{FormatBuf}
|
||||
\end{function}
|
||||
|
||||
\latex{\inputlisting{sysutex/ex71.pp}}
|
||||
\latex{\lstinputlisting{sysutex/ex71.pp}}
|
||||
\html{\input{sysutex/ex71.tex}}
|
||||
|
||||
\begin{function}{FormatBuf}
|
||||
@ -2238,7 +2238,7 @@ Function FormatBuf(Var Buffer; BufLen : Cardinal; Const Fmt; fmtLen : Cardinal;
|
||||
\SeeAlso
|
||||
\end{function}
|
||||
|
||||
\latex{\inputlisting{sysutex/ex72.pp}}
|
||||
\latex{\lstinputlisting{sysutex/ex72.pp}}
|
||||
\html{\input{sysutex/ex72.tex}}
|
||||
|
||||
\begin{function}{IntToHex}
|
||||
@ -2256,7 +2256,7 @@ None.
|
||||
\seef{IntToStr}, \var{StrToInt}
|
||||
\end{function}
|
||||
|
||||
\latex{\inputlisting{sysutex/ex73.pp}}
|
||||
\latex{\lstinputlisting{sysutex/ex73.pp}}
|
||||
\html{\input{sysutex/ex73.tex}}
|
||||
|
||||
\begin{function}{IntToStr}
|
||||
@ -2273,7 +2273,7 @@ None.
|
||||
\seef{IntToHex}, \seef{StrToInt}
|
||||
\end{function}
|
||||
|
||||
\latex{\inputlisting{sysutex/ex74.pp}}
|
||||
\latex{\lstinputlisting{sysutex/ex74.pp}}
|
||||
\html{\input{sysutex/ex74.tex}}
|
||||
|
||||
\begin{function}{IsValidIdent}
|
||||
@ -2289,7 +2289,7 @@ None.
|
||||
\SeeAlso
|
||||
\end{function}
|
||||
|
||||
\latex{\inputlisting{sysutex/ex75.pp}}
|
||||
\latex{\lstinputlisting{sysutex/ex75.pp}}
|
||||
\html{\input{sysutex/ex75.tex}}
|
||||
|
||||
\begin{function}{LeftStr}
|
||||
@ -2304,7 +2304,7 @@ None.
|
||||
\seef{RightStr}, \seef{TrimLeft}, \seef{TrimRight}, \seef{Trim}
|
||||
\end{function}
|
||||
|
||||
\latex{\inputlisting{sysutex/ex76.pp}}
|
||||
\latex{\lstinputlisting{sysutex/ex76.pp}}
|
||||
\html{\input{sysutex/ex76.tex}}
|
||||
|
||||
\begin{function}{LoadStr}
|
||||
@ -2330,7 +2330,7 @@ None.
|
||||
\seef{AnsiLowerCase}, \seef{UpperCase}, \seef{AnsiUpperCase}
|
||||
\end{function}
|
||||
|
||||
\latex{\inputlisting{sysutex/ex77.pp}}
|
||||
\latex{\lstinputlisting{sysutex/ex77.pp}}
|
||||
\html{\input{sysutex/ex77.tex}}
|
||||
|
||||
\begin{functionl}{NewStr}{NewStrSys}
|
||||
@ -2364,7 +2364,7 @@ None.
|
||||
\seef{AnsiQuotedStr}, \seef{AnsiExtractQuotedStr}.
|
||||
\end{function}
|
||||
|
||||
\latex{\inputlisting{sysutex/ex78.pp}}
|
||||
\latex{\lstinputlisting{sysutex/ex78.pp}}
|
||||
\html{\input{sysutex/ex78.tex}}
|
||||
|
||||
|
||||
@ -2383,7 +2383,7 @@ None.
|
||||
\seef{LeftStr},\seef{Trim}, \seef{TrimLeft}, \seef{TrimRight}
|
||||
\end{function}
|
||||
|
||||
\latex{\inputlisting{sysutex/ex79.pp}}
|
||||
\latex{\lstinputlisting{sysutex/ex79.pp}}
|
||||
\html{\input{sysutex/ex79.tex}}
|
||||
|
||||
\begin{function}{StrFmt}
|
||||
@ -2400,7 +2400,7 @@ for a list of errors, see \seef{Format}.
|
||||
\seef{StrLFmt}, \seep{FmtStr}, \seef{Format}, \seef{FormatBuf}
|
||||
\end{function}
|
||||
|
||||
\latex{\inputlisting{sysutex/ex80.pp}}
|
||||
\latex{\lstinputlisting{sysutex/ex80.pp}}
|
||||
\html{\input{sysutex/ex80.tex}}
|
||||
|
||||
\begin{function}{StrLFmt}
|
||||
@ -2417,7 +2417,7 @@ for a list of errors, see \seef{Format}.
|
||||
\seef{StrFmt}, \seep{FmtStr}, \seef{Format}, \seef{FormatBuf}
|
||||
\end{function}
|
||||
|
||||
\latex{\inputlisting{sysutex/ex81.pp}}
|
||||
\latex{\lstinputlisting{sysutex/ex81.pp}}
|
||||
\html{\input{sysutex/ex81.tex}}
|
||||
|
||||
\begin{function}{StrToInt}
|
||||
@ -2437,7 +2437,7 @@ In case of error, an \var{EConvertError} is raised.
|
||||
\seef{IntToStr}, \seef{StrToIntDef}
|
||||
\end{function}
|
||||
|
||||
\latex{\inputlisting{sysutex/ex82.pp}}
|
||||
\latex{\lstinputlisting{sysutex/ex82.pp}}
|
||||
\html{\input{sysutex/ex82.tex}}
|
||||
|
||||
\begin{function}{StrToIntDef}
|
||||
@ -2456,7 +2456,7 @@ None.
|
||||
\seef{IntToStr}, \seef{StrToInt}
|
||||
\end{function}
|
||||
|
||||
\latex{\inputlisting{sysutex/ex83.pp}}
|
||||
\latex{\lstinputlisting{sysutex/ex83.pp}}
|
||||
\html{\input{sysutex/ex83.tex}}
|
||||
|
||||
\begin{function}{Trim}
|
||||
@ -2473,7 +2473,7 @@ None.
|
||||
\seef{TrimLeft}, \seef{TrimRight}
|
||||
\end{function}
|
||||
|
||||
\latex{\inputlisting{sysutex/ex84.pp}}
|
||||
\latex{\lstinputlisting{sysutex/ex84.pp}}
|
||||
\html{\input{sysutex/ex84.tex}}
|
||||
|
||||
\begin{function}{TrimLeft}
|
||||
@ -2490,7 +2490,7 @@ None.
|
||||
\seef{Trim}, \seef{TrimRight}
|
||||
\end{function}
|
||||
|
||||
\latex{\inputlisting{sysutex/ex85.pp}}
|
||||
\latex{\lstinputlisting{sysutex/ex85.pp}}
|
||||
\html{\input{sysutex/ex85.tex}}
|
||||
|
||||
\begin{function}{TrimRight}
|
||||
@ -2507,7 +2507,7 @@ None.
|
||||
\seef{Trim}, \seef{TrimLeft}
|
||||
\end{function}
|
||||
|
||||
\latex{\inputlisting{sysutex/ex86.pp}}
|
||||
\latex{\lstinputlisting{sysutex/ex86.pp}}
|
||||
\html{\input{sysutex/ex86.tex}}
|
||||
|
||||
|
||||
@ -2527,6 +2527,6 @@ None.
|
||||
\SeeAlso
|
||||
\end{function}
|
||||
|
||||
\latex{\inputlisting{sysutex/ex87.pp}}
|
||||
\latex{\lstinputlisting{sysutex/ex87.pp}}
|
||||
\html{\input{sysutex/ex87.tex}}
|
||||
|
||||
|
@ -59,12 +59,11 @@
|
||||
%
|
||||
\usepackage{syntax}
|
||||
\input{syntax/diagram.tex}
|
||||
\latex{\usepackage{listings}\usepackage{lst017}\usepackage{lstdelphi}%
|
||||
\blankstringtrue
|
||||
\selectlisting{delphi}
|
||||
\stringstyle{\ttfamily}
|
||||
\keywordstyle{\bfseries}
|
||||
\prelisting{\sffamily\sloppy}
|
||||
\latex{
|
||||
\usepackage{listings}%
|
||||
\lstset{language=Delphi}%
|
||||
\lstset{pre=\sffamily}%
|
||||
\lstset{keywordstyle=\bfseries}%
|
||||
}
|
||||
%
|
||||
% Start of document.
|
||||
|
Loading…
Reference in New Issue
Block a user