26. dubna 2026 1:46:17 SELČ, Warren Postma via fpc-pascal <[email protected]> napsal: > Every modern language has inline variabler declarations because it was > always a thing in the one most of us care about. > > Not having inline variables means that our strongly typed language Pascal > doesn't have as precise a scoping of variables as possible, preventing read > access before initialization, which is a major smell in the pascal language > and compiler designs.
I sincerely hope, that _if_ it ever gets supported, the implementation is strictly restricted to $MODE DELPHI and its documentation is accompanied with a bold warning like "Although this option became supported in FPC due to improved Delphi compatibility, it should be strongly discouraged because it is not compliant to Pascal." Tomas _______________________________________________ fpc-pascal maillist - [email protected] https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
