Hi blueznl!
I first stress again and again. Thank you for providing your nice program!
Perhaps maybe a dumb question, but is there any place where you can view the version?
I always save the zip which I label, but that might not necessarily be the true version.
I am using what was in the codecaddy v1.80 build 792 12.03.10 save 8350.zip file.
Also using PB4.41.
I noticed that I added the Declare after I pasted the code above, and I forgot to add the '.s'.
Code: Select all
Declare FileTime(fspec$)
Declare.s FileTime(fspec$)
I just tried the corrected code above again.
But I didn't see this listing?
I assume the option you had to turn off was 'strip unused during build', correct?
What I saw was
codecaddy-build(auto) under Tools - Configure Tools.
With the codecaddy-build(auto) function
checked, I had to add the Declare, because when trying to create
executable, I would get the error: FileTime() is not a function, array, macro or linked list.
Then I would get the second error I described earlier: The following procedure has been Declared but not defined:FileTime. compile/run under the IDE works fine.
Unchecked, with or without the Declare.s FileTime(fspec$), the command 'create executable' works fine on my system.
It won't work though if the following isn't done though.
Code: Select all
Filename$="D:\DCAT\MAIN_D~1.BMP" ;<=====<<<< you need to put any valid file name found on your hard drive here.
fspec$=FileTime(Filename$) ; (it won't hurt the file, just gets time and date info)
I just noticed that you posted a new update.
Nevertheless, I've upped a new version that strips out unused Declare statements, just to be sure. It's CodeCaddy v1.84x, please test it.
I will try this and PM you back.
Thanks for your help.