[fpc-pascal] String and dynamic array initialisation

Marco van de Voort marcov at stack.nl
Thu Feb 10 16:46:28 CET 2011


In our previous episode, Mark Morgan Lloyd said:
> Are there any cases where a string variable will be allocated with 
> anything other than zero length, or a dynamic array will be allocated 
> with anything other than zero elements?

Global string variables can be initialized. 

var x : ansistring = 'yyy';




More information about the fpc-pascal mailing list