David Mears wrote: > [EMAIL PROTECTED] wrote: > > > > What do you mean by "keyword level associative arrays" ? > > something that would defy the logic of the pascal dialect, I'm afraid, > > but something like > Program testAssArrays; > var > Pilots[ansistring] AssociativeArray of record > name:string; > height:integer; > weight:integer; > end; > begin > Pilots['4457sj'].name := 'bob'; > write(sizeof(Pilots)); // displays 1 > Pilots['4457sj'].height = 72; > write(sizeof(Pilots)); // displays 1 > Pilots['4488km'].name:='Frank'; > write(sizeof(Pilots)); //displays 2 > write(Pilots['4457sj'].name); //displays bob > end. > > And simpler to deal with for people who > tend to approach problems procedurally (like me) before building objects > around the logic... err, and finding objects for the logic.
Approaching problems conceptionally could make things even simpler. Thanks! -- Al _________________________________________________________________ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives