Hi,
I'm not using a constant as the index but I do have range checking turned on. Seems the consensus is to turn it off. Thanks to everyone for the help. Thanks, Dave. Dave Murray Delphi-En Moderator [EMAIL PROTECTED] --- In [email protected], "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Sehr geehrte Damen und HerrenHi Dave, > Do NOT change that line. A declaration like this is used to declare > an array where you do not know how many elements at runtime > will be present. This type of declaration was used before there > were dynamic arrays implemented in object Pascal. > To access such an Array's elements you have to turn off range > checking {$R-} and must not use constants as an index. > > Have fun! > Bob > > > > > Dave Murray wrote: > > > Unfortunately I can't change the declaration. Its in a JEDI > > > header file conversion and I don't want to create a new version. > > > > Part of the point of JEDI is that you're allowed to change the > > source code. You don't have to create a whole new version. Just > > edit the version you already have. > > > > -- > > Rob > > > ----------------------------------------------------- Home page: http://groups.yahoo.com/group/delphi-en/ To unsubscribe: [EMAIL PROTECTED] Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/delphi-en/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

