El 23/10/2021 a las 22:18, Bart via lazarus escribió:
Q2: @José: the TMaskOpCode enums are indexed, and there is a gap in
the index. Is the index necessary for the code to work?
Is the gap necessary?
In the Add() method, the enum is cast to a byte, this should also work
if no indices are used (as long as you do not do mathematical
operations with the value of that byte).
Hello,
The value was given just to group some things, originally they were
constants, in theory values can be removed or changed (unless I forget
something), they are used as a marker in compiled stream, like a command.
--
--
_______________________________________________
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus