[fpc-pascal] High() and Low() for empty dynamic arrays

Saunders, Rich greymont at mykolab.com
Sun Feb 9 11:45:03 CET 2014


On 2014-02-09 04:11, Jürgen Hestermann wrote:
> Am 2014-02-08 19:53, schrieb Florian Klämpfl:
>> You didn't have only a question but you made also a proposal for a
>> language change. And when proposing a change it is very usefull to 
>> have
>> an example which demonstrates the reason for the change.
> 
> [snip]
> 
> Under this impression, what kind of code should I have written?

Knowing that you should provide a small but complete example that 
illustrates the problem that you are proposing a solution to would have 
caused you to attempt some code. That attempt would probably have 
brought out the details and assumptions that you overlooked in your 
original case. And that, in turn, probably would have allowed you to 
diagnose your problem without bringing it to the developers.

So, its' not always about the specific example code. Sometimes it is 
about the attempt to write it.

-- 

Cheers!
Rich Saunders



More information about the fpc-pascal mailing list