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

Florian Klämpfl florian at freepascal.org
Sat Feb 8 19:53:57 CET 2014


Am 08.02.2014 18:06, schrieb Jürgen Hestermann:
> 
> Am 2014-02-08 17:40, schrieb Florian Klaempfl:
>>
>>> You mean I should post thousands of code lines?
>>
>> Of course not, just a small example as I did.
>>
> 
> But for what reason?
> It just generates work without benefit.
> 
> If I had doubts about my assumption regarding High and Low
> I would not have asked my question at all
> but instead tested it more thoroughly.
> 
> But I had no doubts so I only asked why High and Low give back 0.
> Why should I write code for my question?

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.



More information about the fpc-pascal mailing list