quick array question lazarus / 13-General ---------------------------------------------------------------------- FreeMind · 2009-04-15 12:09 Polygon[everyone].draw :=false; What do i have to write in the [] for every class member to get it's "draw" to false? Ofcource, i could put this to a loop, but i just thought that this way (if it's possible) it would be more practical. Ive tried: Polygon.draw :=false; Polygon [1..polycount].draw := false; The compiler doesn't like those. ---------------------------------------------------------------------- arnoldb · 2009-04-15 12:57 As your array is an array of objects/records, there is no quick way; you will have to use a loop. Changing arrays of ordinal types (like char/integer etc) can be done using "FillChar".