[Gambas-devel] conditional compilation

Ron Onstenk ronstk at ...124...
Sat Oct 7 04:31:34 CEST 2006


On Saturday 07 October 2006 03:51, chintan rao wrote:
> Hi,

---8<---
> 
> #IF class1.class
> <code for class one>
> #ENDIF
> 
> #IF class2.class
> <code form class two>
> #ENDIF
> 
> One can present code to some else without making changes
> to the prpject just by removing one of the classes from the project folder.
> The same code
> can be used for two different purposes.
> 
> Yours sincerely,
> Chintan Rao H
> 

#IF gb.form.mdi
	Window1.Resize=false
#ENDIF

#IF gb.form.mda
	Window1.Resize=true
#ENDIF

Ron

-- 
The only bug free software from MickySoft is 
still shrink-wrapped in their warehouse...




More information about the Devel mailing list