Small error in Reference Manual lazarus / 8-Other ---------------------------------------------------------------------- darksky666 · 2018-07-21 03:43 Reference Manual (3.0.4) - (Page 132) Extended Records  - TTest4 example has a protected visibility modifier in it. ---------------------------------------------------------------------- Thaddy · 2018-07-21 09:07 There are actually small errors Code: Pascal  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i typeTTest4 = record   private     a : Integer;     function getp : integer;   public     b : string;     procedure setp (const aValue : integer);  property p : integer read Getp Write SetP;   public   case x : integer of     1 : (Q : string[255]); // can't use reference counted strings in a variant record . Compiler will give error on refcounted strings   2 : (S : String[255]); // can't use reference counted strings in a variant record    end;  function TTest4.getp : integer;   begin   Result := a; end; procedure TTest4.setp (const aValue : integer);   begin   a :=aValue; end;  beginend.I will file a bug report. [edit] reported as Bug report 0034015 ---------------------------------------------------------------------- Thaddy · 2018-07-21 14:16 @darksky666 And it is now already fixed in trunk! As Michael wrote in the report: well spotted! ---------------------------------------------------------------------- darksky666 · 2018-07-22 11:54 Oh wow, thanks for reporting it, .. also I think I found a typo: Page 170 - "Additionally, the is operator can be used to check if a class implements an interface, and the varas operator can be used to typecast an interface back to the class:" I think that it was supposed to be just "as operator"? It isn't really an issue tbh though..