[fpc-pascal] Open vs dynamic arrays
jonas.maebe at elis.ugent.be
Sun Apr 22 12:59:25 CEST 2012
On 22 Apr 2012, at 12:54, Mark Morgan Lloyd wrote:
> you quite simply can't do that when there isn't an explicit index range since your attempt to define an open array is interpreted as a dynamic array.
Yes. The reason is that you can't declare variables whose type is "open array". In fact, a dynamic array is pretty much what you get when you implement "open array variables". That's probably what inspired Borland to go down this route...
More information about the fpc-pascal