|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#16
|
||||||
|
||||||
|
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. |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| PBASIC ARCTAN function | Greg Ross | Programming | 14 | 11-05-2003 12:28 |
| Obscure PBASIC for RoboEmu | rbayer | Programming | 1 | 28-03-2003 23:57 |
| PBasic 2.5 vs. 2.0 | Anthony Kesich | Programming | 6 | 09-02-2003 22:06 |
| emulationFIRST (aka PBasic emulator) | Matt Leese | Programming | 5 | 30-06-2002 12:06 |
| PBASIC Loop Speed? | archiver | 2001 | 3 | 23-06-2002 23:46 |