Forum > General

Possible bug with range checking in StrUtils.IfThen function

<< < (5/5)

Чебурашка:

--- Quote from: Paolo on December 11, 2023, 05:38:23 pm ---I banned IfThen in my code.

--- End quote ---

I believe ifthen is useful in many situations and I will keep using it.
But I am aware that ifthen is not if..then..else.

Thaddy:
This discussion may be of interest to ifthen haters or lovers. Pay attention to my last example, which is also in the documentation.

https://gitlab.com/freepascal.org/fpc/source/-/issues/34012

Navigation

[0] Message Index

[*] Previous page

Go to full version