Re: KD8CEC 1.072 download
toggle quoted messageShow quoted text
It would also make it easier to identify the version just by a glance at the directory that hold the code files. Because the INO file must have the same name as the directory its in for the IDE to compile the file, instead of all versions sitting in a directory name ubitx_20, it makes sense to have:
//...and so on...
This way the "old" versions are preserved when the new one is released.
I would still like to see only the source file containing the setup() and loop() functions be given the INO secondary file name and all the others given CPP secondary file names. Currently, using all INO file names causes the compiler to get sloppy on parameter type checking and that can be a nasty bug to isolate, especially when no symbolic debugger is available. True, the change will identify a host of warnings, but should uncover no bugs, since the code compiles correctly as is. I did that for Farhan's original code and while it took some time, it's really grunt work and not difficult to change.
On Monday, April 23, 2018, 11:45:03 PM EDT, K9HZ <bill@...> wrote:
Im not sure you understand this completely, so ill put this more clearly. When the main sketch has the same name from version to version and you upload it to the Arduino IDE, it over-writes the previous version because it has the SAME NAME. Of you were to include the version number in the program name, they would not over-write.
Dr. William J. Schmidt - K9HZ J68HZ 8P6HK ZF2HZ PJ4/K9HZ VP5/K9HZ PJ2/K9HZ
Owner - Operator
Big Signal Ranch – K9ZC
Owner – Operator
Villa Grand Piton - J68HZ
Soufriere, St. Lucia W.I.
Rent it: www.VillaGrandPiton.com
On Apr 23, 2018, at 6:56 PM, Ian Lee <kd8cec@...> wrote: