Re: [fpc-pascal] Default value for an open array

2012-06-01 Thread Mark Morgan Lloyd
kyan wrote: However, given a declaration of that form, is it possible to define a default parameter of [] so that OutputWriteF('Test, no params\n') is valid? Not for open arrays, but you can write an overloaded version without the open array argument that calls the version with the open array

Re: [fpc-pascal] Default value for an open array

2012-06-01 Thread kyan
> However, given a declaration of that form, is it possible to define a > default parameter of [] so that OutputWriteF('Test, no params\n') is > valid? Not for open arrays, but you can write an overloaded version without the open array argument that calls the version with the open array paramete