rsocor01
- 22nd April 2010, 00:23
Hi all,
If the feature that I'm wishing for is already available in PBP, then my apologies :eek:.
In one of the projects that I'm currently working on there is a long initialization procedure (~200 lines of code) for a TFT display that I must include in my PBP main program. Then, I was thinking that it would be very nice if I could do something similar to
INCLUDE "modedefs.bas"
For example, something like
INCLUDE "MyTFT_Init.bas"
Then, I would call the routine in this "MyTFT_Init.bas" file to initialize my TFT display and that way I don't need to have this long procedure taking up space in my main PBP program. I know some C language, but I don't know any assembly.
Is this feature that I'm wishing for already available in PBP? Can I create a routine in another BAS file and call it from my main PBP program?
Thank you all for your ideas and comments. Sincerely,
Robert
If the feature that I'm wishing for is already available in PBP, then my apologies :eek:.
In one of the projects that I'm currently working on there is a long initialization procedure (~200 lines of code) for a TFT display that I must include in my PBP main program. Then, I was thinking that it would be very nice if I could do something similar to
INCLUDE "modedefs.bas"
For example, something like
INCLUDE "MyTFT_Init.bas"
Then, I would call the routine in this "MyTFT_Init.bas" file to initialize my TFT display and that way I don't need to have this long procedure taking up space in my main PBP program. I know some C language, but I don't know any assembly.
Is this feature that I'm wishing for already available in PBP? Can I create a routine in another BAS file and call it from my main PBP program?
Thank you all for your ideas and comments. Sincerely,
Robert