On 29/10/2018 11:24, R0b0t1 wrote:
I think it is important to differentiate between a language feature and its common implementation. Perhaps case statements with variables make sense? Of course, that doesn't mean anyone is going to add them.
"case" also includes a compile time check, that case-labels have no duplicates.
Therefore using variables in place of case labels, would require changes to the definition of what case does.
_______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal