|
Joe, Why not just initialize the values in the C specs? It's for sure not as pretty to look at but it gets the job done without using global variables. Matt <snip> Okay, I can buy this. It simply means that anything I want reinitialized whenever the program restarts has to be global. Pluses and minuses there, but it's at least a workaround. I would ask for one thing. I would love a keyword either on the D spec (or even up at the PI level) along the lines of *GLBREINZ that would say "reinitialize this variable whenever global reinitialization is done". That would allow us the best of both worlds. <snip>
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.