Wiki Home

Select Source Code At Compilation Time

Namespace: VFP

Sometimes you want to include selectivily source code in your application depending on the
Use the following code:
#if MESSAGEBOX("Include code? ",1)=1
	*piece of code to include

When you perform COMPILE nameofprogram.prg the message Include code? appears and its up
to you if you want to include the code or not.
Contributors Eduardo Díaz Guerrero
Category Code Samples
( Topic last updated: 2004.05.23 12:26:41 PM )