Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Does commented code really affect size of .exe?
Message
From
03/02/2011 12:00:38
 
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01498562
Message ID:
01498576
Views:
96
>>>Hi,
>>>
>>>I wonder if a commented code adds to the size of the .EXE? My guess is that since the commented code increases the size of the .VCT file (of the class library where the code resides) it has to affect the .EXE; that is, it has to increase its size. Does it make sense?
>>
>>Yes
>
>Thank you, Gregory. The reason I was asking the question is I have tons of commented code (just in case that never happens :)) and the .EXE keeps growing up. So I will probably delete a lot of commented code and then pack the .VCX files.

I would not bother about the size of the commented code.
Just pack the vcx, scx files - that should be sufficient

Each time you edit a class or a form, its size increases. Mainly vct/sct. When you edit one method, all the methods are rewritten in one code block

Just tested on a small vcx (15 k), edited a method and it became 20k
Gregory
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform