I have found that, by default, the first index of an array in PLPGSQL starts at 1, and not 0 like most programming languages. I was just curious as to why this is, and what other programming language follow this?
Thanks!
What languages follow the default array indexing at 1?
ALGOL 68, COBOL, Fortran (if not specified otherwise), FoxPro, Lua, MATLAB, ... anyway, the list is here.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With