Recent

Author Topic: Error in help  (Read 280 times)

nouzi

  • Full Member
  • ***
  • Posts: 179
Error in help
« on: May 18, 2020, 02:46:06 pm »
Presumably a bug was found in the help manual

(RTL)runtime library -> routine, by unit -> system -> VAR

Code: Pascal  [Select][+][-]
  1.  
  2. Program Example74;
  3.  
  4. { Program to demonstrate the Val function. }
  5.  
  6. Var I, Code : Integer;
  7.  
  8. begin
  9.  
  10.   Val (ParamStr (1),I,Code);
  11.  
  12.   If Code<>0 then
  13.  
  14.     Writeln ('Error at position ',code,' : ',Paramstr(1)[Code])
  15.  
  16.   else
  17.  
  18.     Writeln ('Value : ',I);
  19.  
  20. end.
  21.  
  22.  
my english is  bad
Lazarus 2.0.6 free pascal 3.0.4
Lazarus trunk  free pascal trunk 
System : linux mint 19.3 64bit  windows 7 64bit

marcov

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 8611
  • FPC developer.
Re: Error in help
« Reply #1 on: May 18, 2020, 03:02:03 pm »
Tried with Windows viewer, and looks ok. So seems to be a lhelp, not helpfile problem.

 

TinyPortal © 2005-2018