On Thu, 23 Oct 2014, Tobias Boege wrote:
> On Thu, 23 Oct 2014, Ron wrote:
> > Maybe we should have some Mike this?
> > 
> > Ifdef System.Version >= 3.6.0 then
> > ' do special new code..
> > Else
> > ' something else
> > Endif
> > 
> 
> Do you mean System.FullVersion?
> 

Or better yet (in some sense):

#If Gambas >= "3.6.0"
  ' Current code
#Else
  ' Past code
#Endif

which *compiles* only the needed code.

-- 
"There's an old saying: Don't change anything... ever!" -- Mr. Monk

------------------------------------------------------------------------------
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to