Quellcode durchsuchen

+ Procedural variabble name wrong. Thanks to Thomas Wolf

michael vor 25 Jahren
Ursprung
Commit
d6e31711a2
1 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen
  1. 2 2
      docs/ref.tex

+ 2 - 2
docs/ref.tex

@@ -1386,7 +1386,7 @@ begin
   WriteLn (x);
 end;
 ...
-P := @printit;
+Proc := @printit;
 Func := @Pi;
 \end{verbatim}
 From this example, the difference with Turbo Pascal is clear: In Turbo
@@ -1405,7 +1405,7 @@ begin
   WriteLn (x);
 end;
 begin
-P := @printit;
+Proc := @printit;
 end.
 \end{verbatim}
 Because the \var{TOneArgCcall} type is a procedure that uses the cdecl