Quote:
Originally posted by Joe Johnson
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}
|
I think I like it. Let me stew on it a bit.
Quote:
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.
|
If I'm understanding what you need, then you can already do this with multiple include files. You're not restricted to a single $Include directive per file. Simply $Include the global data file in all your project files, and $Include the special code files only where you need them.
Quote:
I know I am asking a lot, but you asked for feedback.
Joe J.
|
Yes, I did, and I appreciate it all.
