Thread overview |
---|
April 21, 2004 typedef'ed arrays ??? | ||||
---|---|---|---|---|
| ||||
In Delphi you can do type TPalette = array[0..255] of TColor; can this be done in D? I tried typdef Palette uint[256] but it doesnt work. cheers, chris |
April 21, 2004 Re: typedef'ed arrays ??? | ||||
---|---|---|---|---|
| ||||
Posted in reply to chris | chris wrote: > typdef Palette uint[256] typedef uint[256] Palette; http://www.digitalmars.com/d/declaration.html#typedef -C. Sauls -Invironz |
April 21, 2004 Re: typedef'ed arrays ??? | ||||
---|---|---|---|---|
| ||||
Posted in reply to C. Sauls | cheers again, chris "C. Sauls" <ibisbasenji@yahoo.com> wrote in message news:c66qur$2fe4$1@digitaldaemon.com... > chris wrote: > > typdef Palette uint[256] > > typedef uint[256] Palette; > > http://www.digitalmars.com/d/declaration.html#typedef > > -C. Sauls > -Invironz |
Copyright © 1999-2021 by the D Language Foundation