On Tuesday 10 January 2006 08.17, Carsten Bager wrote: > The very best would be if things was like this > > Static > St: array[0..4] of char ='12345'; {Placed in text segment} > > Var > St: array[0..4] of char ='12345'; {Placed in data segment} >
Or to have any count of named segments which can be selected at var or const definition. Var in text <- use the appropriate notation St: array[0..4] of char ='12345'; {Placed in text segment} Var in bss St: array[0..4] of char ='12345'; {Placed in data segment} Const in myspecialseg St: array[0..4] of char ='12345'; {Placed in special segment} Martin _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal