Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 2 of 2 total
Thread Small compiler feature request
Tue, Feb 18 2020 10:37 PMPermanent Link

erickengelke

Longtime users of Delphi and Turbo Pascal will recall that it has various {$comment} options in source code.

I use {$IFDEF}'s to define the few differences between the two distributions (development/testing versus production)  so I only have to set one change {$DEFINE PRODUCTION}.

It would be nice if you could use {$option compress}  or something similar to turn on the compression/obfuscation under {$IFDEF} control and not have to select it globally for the application.

Erick
EWB Programming Books and Component Library
http://www.erickengelke.com
Wed, Feb 19 2020 12:20 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Erick,

<< It would be nice if you could use {$option compress}  or something similar to turn on the compression/obfuscation under {$IFDEF} control and not have to select it globally for the application. >>

Sure, I can add something like that.  Just a warning, though: doing this for certain units/sections of code could dramatically affect how effective the compression is, given that the compression is based upon the global pool of identifiers.

Tim Young
Elevate Software
www.elevatesoft.com
Image