View Issue Details

IDProjectCategoryView StatusLast Update
0033429FPCDocumentationpublic2018-03-15 09:16
ReporterThaddy de KoningAssigned ToMichael Van Canneyt 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version3.1.1Product Build 
Target Version3.2.0Fixed in Version3.1.1 
Summary0033429: Documentation for "continue" is not correct.
DescriptionThe documentation states continue is a reserved word, but it is perfectly possible to introduce a new procedure continue.
https://www.freepascal.org/docs-html/rtl/system/continue.html
"Note that while this is a procedure, Continue is a reserved word and hence cannot be redefined." which is not true.

Steps To Reproduceprogram Project1;
{$ifdef mswindows}{$apptype console}{$endif}
procedure continue;
begin
  writeln('this is not continue');
end;
begin
  continue;
  readln; // for feedback.
end.
             
TagsNo tags attached.
Fixed in Revision1474
FPCOldBugId
FPCTarget
Attached Files

Activities

Michael Van Canneyt

2018-03-15 09:16

administrator   ~0107124

Fixed.

Indeed. Similar comments can be made for break and exit.
I have added an example to show that they can all be redefined.

Thanks for reporting !

Issue History

Date Modified Username Field Change
2018-03-14 21:00 Thaddy de Koning New Issue
2018-03-14 21:00 Thaddy de Koning Status new => assigned
2018-03-14 21:00 Thaddy de Koning Assigned To => Michael Van Canneyt
2018-03-15 09:16 Michael Van Canneyt Fixed in Revision => 1474
2018-03-15 09:16 Michael Van Canneyt Note Added: 0107124
2018-03-15 09:16 Michael Van Canneyt Status assigned => resolved
2018-03-15 09:16 Michael Van Canneyt Fixed in Version => 3.1.1
2018-03-15 09:16 Michael Van Canneyt Resolution open => fixed
2018-03-15 09:16 Michael Van Canneyt Target Version => 3.2.0