SOLVED by creating a b4x library - see post #3.
Developed a B4R BAS module (GPRMC.bas) - Parse GPS NMEA-0183 message format RMC to fields with additional subs Distance & Bearing.
Instead including the module into various programs, thinking of converting to a B4R library (so basically a class) ... BUT how?
Options
1. Possibility to create, from the B4R IDE a B4R library (like in B4J) with h, cpp and xml file.
2. Take the B4R generated src files b4r_gprmc.h and .cpp and create the library rGPRMC with rGPRMC.h,.cpp with its public functions pointing to b4r_gprmc.h and using b4r_gprmc.cpp
But think hard to maintain ... although nice a challenge which could be applied to any other modules.
... more?
This is just a thought.
Developed a B4R BAS module (GPRMC.bas) - Parse GPS NMEA-0183 message format RMC to fields with additional subs Distance & Bearing.
Instead including the module into various programs, thinking of converting to a B4R library (so basically a class) ... BUT how?
Options
1. Possibility to create, from the B4R IDE a B4R library (like in B4J) with h, cpp and xml file.
2. Take the B4R generated src files b4r_gprmc.h and .cpp and create the library rGPRMC with rGPRMC.h,.cpp with its public functions pointing to b4r_gprmc.h and using b4r_gprmc.cpp
But think hard to maintain ... although nice a challenge which could be applied to any other modules.
... more?
This is just a thought.
Last edited: