[Gambas-user] Wish / need for advise

Jussi Lahtinen jussi.lahtinen at gmail.com
Mon Feb 26 00:05:51 CET 2018


Part of my project is written in C. And I would like to do things like this
in Gambas:

#If Debug = TRUE
   #Define LIBPATH "~/MyLibDebug/libMylib"
#Else
   #Define LIBPATH "libMylib"
#Endif

And in several modules and classes:

Library LIBPATH

...


Better approaches? Is #Define completely out of the question?



Jussi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20180226/3ad7b61b/attachment.html>


More information about the User mailing list