TsDBGrid – function IsDigids

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #37228
    Stephane Senecal
    Participant

    In the unit acDBGrid, there is a function IsDigids. This function scan a string to check if all characters are numerical.

    The problem is that it does a for loop from 0 to length – 1.

    Strings in Delphi starts at 1. It should be “for i := 1 to Length(Value) do”

    P.S. it's a digiT not a digiD

    Thank you

    Stephane Senecal
    CIS Group
    Delphi programmer since 2001

    #55854
    Support
    Keymaster

    You are right, thank you. This code will be changed in the nearest v11.22 release.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.