Re: [fpc-pascal] Initializers on const and var

2008-06-03 Thread Marc Santhoff
Am Dienstag, den 03.06.2008, 15:41 +0200 schrieb Michael Van Canneyt: > > On Tue, 3 Jun 2008, Marc Santhoff wrote: > > > Hi, > > > > is it possible to have an array initialized with variables? > > > > I tried sth. like this (by accident, not intentionally): > > > > const > > ctypes: array

Re: [fpc-pascal] Initializers on const and var

2008-06-03 Thread Michael Van Canneyt
On Tue, 3 Jun 2008, Marc Santhoff wrote: > Hi, > > is it possible to have an array initialized with variables? > > I tried sth. like this (by accident, not intentionally): > > const > ctypes: array [0..9] of hid_t = > ( > H5T_NATIVE_INT, H5T_C_S1, H5T_C_S1, H5T_C_S1,

[fpc-pascal] Initializers on const and var

2008-06-03 Thread Marc Santhoff
Hi, is it possible to have an array initialized with variables? I tried sth. like this (by accident, not intentionally): const ctypes: array [0..9] of hid_t = ( H5T_NATIVE_INT, H5T_C_S1, H5T_C_S1, H5T_C_S1, H5T_C_S1, H5T_C_S1, H5T_C_S1, H5T_C_S1, H