Re: Improvement that Everybody Will Agree With: Versioning
- Posted by Alan Oxley <fizzpop at axemail.co.za> Jan 12, 2007
- 614 views
Ok, let me get the bounty idea rolling. I'll send $50 via paypal to whoever creates a nice function for confirming includes via CRC. It needs to be a built in function, platform independant.
-- instead of include get.e include /home/alano/euphoria/includes/get.e include "c:\\dir withspace\\myincludes\\get.e" -- you could have chk_include("get.e",12345678) chk_include("/home/alano/euphoria/includes/get.e",12345678) chk_include("c:\\dir withspace\\myincludes\\get.e",12345678) -- and the interpreter will halt with a trappable error message -- if the 12345678 checksum is incorrect.
IMHO, exactly where a included file came from is important mostly because you want you have the expected include only. The other reason is to include the correct libraries when packaging your app. The version, date, author etc of the included file is a nice to have (IMHO) because thats just there mostly to know which file you have included - now covered by the check. Anybody interested in the admittedly paltry $50 can contact me at alan dot oxley at alindigo dot com. Any senior/knowledgeable list member wanna be the judge? Regards Alan