11-27-2023, 02:24 PM
(11-27-2023, 09:43 AM)johnno56 Wrote: Apologies not necessary... I had just finished playing "Gargoyle Attack" and figured I would see how constant was used in that game... As, you had suggested as a work-around, 'visible' was used instead. I modified my listing accordingly... Lo and behold... all the errors disappeared....
Lesson learnt: Check the examples and documentation 'before' logging an issue... lol
Thank you for the assist... Much appreciated...
J
But it is an issue. I had a plan with "constant", that they should be evaluated at compile time, and therefor their expressions can't include function calls, other variables etc. But at some time I changed my mind and just let them be assign-once variables, but I never changed the limitations of the expressions.