Christopher Ferrall wrote:
For the code segment below I get the errors listed. An error is not generated for "blank" as a label, so it seems that indexing a constant array of char confuses the compiler. Help would be appreciated.
Yes, for compatibility to a stupid BP feature, GPC treats typed constants like variables.
However, I'm not sure if EP actually allows such structured constants in a `case' statement. Anyone knows? (And if it does, it should probably be an EP style constant (which GPC doesn't support completely yet, AFAIK), not a BP style constant like you use.)
Anyway, a series of plain constants should work in any case.
Frank