Skip to content

Useless StrComp and similar functions comparing for #0

RTL\INC\GenStr.inc file function StrComp:

       While str1[counter] = str2[counter] do
       Begin
         if (str2[counter] = #0) or (str1[counter] = #0) then

no need to compare both symbols with #0 coz they are equ. same for StrIComp function. almost the same is for StrLComp / StrLIComp but they are uses "repeat" cycle for now.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information