Pārlūkot izejas kodu

+ Some corrections pointed out by Rich Pasco

michael 25 gadi atpakaļ
vecāks
revīzija
e34400a0bf
1 mainītis faili ar 9 papildinājumiem un 4 dzēšanām
  1. 9 4
      docs/user.tex

+ 9 - 4
docs/user.tex

@@ -168,7 +168,8 @@ Let's get on with something useful.
 The compiler needs at least the following hardware:
 The compiler needs at least the following hardware:
 \begin{enumerate}
 \begin{enumerate}
 \item An I386 or higher processor. A coprocessor is not required, although it
 \item An I386 or higher processor. A coprocessor is not required, although it
-will slow down your program's performance if you do floating point calculations.
+will slow down your program's performance if you do floating point calculations
+without a coprocessor, since an emulation will be used.
 \item 4 Mb of free memory. Under \dos, if you use DPMI memory management,
 \item 4 Mb of free memory. Under \dos, if you use DPMI memory management,
 such as under Windows, you will need at least 16 Mb.
 such as under Windows, you will need at least 16 Mb.
 \item At least 500 Kb. free disk space.
 \item At least 500 Kb. free disk space.
@@ -1502,6 +1503,10 @@ which were possible in Turbo Pascal are no longer possible in Free Pascal.
 \item A file is opened for output only (using \var{fmOutput}) when it is
 \item A file is opened for output only (using \var{fmOutput}) when it is
 opened with \var{Rewrite}. In order to be able to read from it, it should
 opened with \var{Rewrite}. In order to be able to read from it, it should
 be reset with \var{Reset}.
 be reset with \var{Reset}.
+\item Destructors cannot have parameters. This restriction can be solved by 
+using the \var{-So} switch.
+\item There can be only one destructor. This restriction can also be 
+solved by using the \var{-So} switch.
 \item The order in which expressions are evaluated is not necessarily the
 \item The order in which expressions are evaluated is not necessarily the
 same. In the following expression:
 same. In the following expression:
 \begin{verbatim}
 \begin{verbatim}
@@ -1615,9 +1620,9 @@ attempt to mimic the Turbo Pascal compiler in the following ways:
 the differences between Turbo Pascal and \fpc is that the latter requires
 the differences between Turbo Pascal and \fpc is that the latter requires
 you to specify an address operator when assigning a value to a procedural
 you to specify an address operator when assigning a value to a procedural
 variable. In Turbo Pascal compatibility mode, this is not required.
 variable. In Turbo Pascal compatibility mode, this is not required.
-\item Procedure overloading is disabled. This means that function header and
-implementation can be different (i.e. the function iplementation doesn't
-need to repeat the function header).
+\item Procedure overloading is disabled. If procedure overloading is
+disabled, the function header doesn't need to repeat the function header.
+
 \item Forward defined procedures don't need the full parameter list when
 \item Forward defined procedures don't need the full parameter list when
 they are defined. Due to the procedure overloading feature of \fpc, you must
 they are defined. Due to the procedure overloading feature of \fpc, you must
 always specify the parameter list of a function when you define it, even
 always specify the parameter list of a function when you define it, even