Recent

Author Topic: How to split text (ComboBox and Memo)  (Read 11449 times)

ASerge

  • Hero Member
  • *****
  • Posts: 2223
Re: How to split text (ComboBox and Memo)
« Reply #15 on: March 11, 2017, 12:40:31 am »
SysUtils type helper a new feature, there may be errors, check before using.
For example this code in Windows 7, x64, Lazarus 64 bit:
Code: Pascal  [Select][+][-]
  1. {$APPTYPE CONSOLE}
  2. program Project1;
  3.  
  4. uses SysUtils;
  5.  
  6. var
  7.   X: Int64;
  8. begin
  9.   Writeln(X.MaxValue.ToString);
  10.   Writeln(IntToStr(High(X)));
  11.   Readln;
  12. end.
The result is wrong:
Quote
2147483647
9223372036854775807
Add bug http://bugs.freepascal.org/view.php?id=31521
« Last Edit: March 11, 2017, 12:50:24 am by ASerge »

 

TinyPortal © 2005-2018