Jump to content

Leaderboard


Popular Content

Showing content with the highest reputation on 05/13/23 in all areas

  1. DelphiUdIT

    indy + LDAP

    There is a unit IdLdapV3 (under directory "lib\protocols"). Bye
  2. David Schwartz

    Can anyone spot the errors?

    Ahh, the joy of learning to sniff out syntax errors ... Line numbers on the code would make this easier for people here to look at, but there are a few lines of code that look really fishy to me. One thing is to ask yourself what these two declarations REALLY mean -- they do NOT mean what you think. hexToBinary: array['0'..'F'] of string = Here's an ASCII table. Count up how many characters are between '0' and 'F' https://www.ascii-code.com And I have no idea how the compiler might be treating this if it's not raising any sort of warnings or errors... binaryToHex: array['0000'..'1111'] of Char =
  3. Uwe Raabe

    Can anyone spot the errors?

    You cannot use the built-in function Power, when there is a local variable with the same name. Note, that Delphi/Pascal is case insensitive.
  4. Stefan Glienke

    Decrement a value by 1 each time a function is called

    Cannot be - if it's decremented by more than 1 then because the method was called more than once, simple as that. If the method is being called from multiple threads you need to use AtomicDecrement though. If you don't know from where the method is being called unexpectedly, use a data breakpoint on MyValue and the debugger will stop as soon as its being modified
×