Recent

Author Topic: SameStr function error in docs?  (Read 872 times)

Raskaton

  • New Member
  • *
  • Posts: 22
SameStr function error in docs?
« on: October 07, 2024, 04:25:03 pm »
Hi.

SysUtils.SameStr docs said "case-insensitive", but this is wrong!
https://www.freepascal.org/docs-html/rtl/sysutils/samestr.html

SameStr - must be "case-sensitive" (CompareStr is case-sensitive!),
SameText - is case-insensitive.

Just found bug in my programm becouse of this :(
If someone can path this, please do.

Thaddy

  • Hero Member
  • *****
  • Posts: 18781
  • To Europe: simply sell USA bonds: dollar collapses
Re: SameStr function error in docs?
« Reply #1 on: October 07, 2024, 04:36:36 pm »
Correct, file a bug against the documentation.
If Europe sells their USA bonds the USD will collapse. Europe can affort that given average state debts. The USA can't affort that. Just an advice...

Bart

  • Hero Member
  • *****
  • Posts: 5706
    • Bart en Mariska's Webstek
Re: SameStr function error in docs?
« Reply #2 on: October 07, 2024, 05:57:51 pm »

 

TinyPortal © 2005-2018