prog8 icon indicating copy to clipboard operation
prog8 copied to clipboard

memory() should be treated as a constant

Open markjreed opened this issue 2 months ago • 0 comments

Since memory() does its allocation at compile time, its return value should be considered a constant and variables initialized with it should be declarable as const.

markjreed avatar Oct 28 '25 02:10 markjreed