Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Problem with constant - maybe
#4
(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.
Reply


Messages In This Thread
Problem with constant - maybe - by johnno56 - 11-27-2023, 07:14 AM
RE: Problem with constant - maybe - by Marcus - 11-27-2023, 09:11 AM
RE: Problem with constant - maybe - by johnno56 - 11-27-2023, 09:43 AM
RE: Problem with constant - maybe - by Marcus - 11-27-2023, 02:24 PM
RE: Problem with constant - maybe - by johnno56 - 11-27-2023, 06:23 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)