|
How about a slot directive?
It might be nice to have a slot directive that allows you to start the code for a different programming slot in the same file.
Typical directives:
To start a new slot (slot number assigned by the preprossor -- we refernence them by name):
{$SlotStart slotname}
To end a slot (perhaps not required, either the file ends or a new slot begins:
{$SlotEnd}
To run another slot (preprocessor resolves the slotname to the required number)
{Run slotname}
Along with this I would say it would be nice to have "global" include directives and "local" include directives.
This would let us have some code (say the declarations of variables, constants, etc.) included in all programming slots and then but then we could include special code in specific programming slots.
I know I am asking a lot, but you asked for feedback.
Joe J.
|