>>>What command should I use to scan every line in a PRG file?
>>>
>>>I am trying to write a little program to remove the comments (* and &&) from my code and use this version of the program to create my exe so I can save a few Kbytes of space.
>>
>>Ouch. Did you know you can exclude the debug info from an exe to rduce file size? In the project manager, right click and choose Project info. Debug info is on the first page of the info form.
>>
>>Additionally, make sure that your vcxs are all packed. Over time, vcxs get bloated with deleted records just as VFP tables do. You might be surprised at the amount of space you save.
>>
>>I'm with Cetin- don't shoot yourself in the foot by removing priceless comments.
>
>I don't believe comments are stored in the compiled code anyways. If they were, products like ReFox would be able to bring back comments, and it can not.
Ohhh. I was so careless that he was talking about exe. I just got it to save disk space :) They're not interpreted nor stored in fxp AFAIK.
Cetin