[Gambas-user] [Gambas Bug Tracker] Bug #775: Preprocessor Macros

bugtracker at ...3416... bugtracker at ...3416...
Tue Sep 29 09:51:28 CEST 2015


http://gambaswiki.org/bugtracker/edit?object=BUG.775&from=L21haW4-

Fabien BODARD reported a new bug.

Summary
-------

Preprocessor Macros

Type             : Request
Priority         : Medium
Gambas version   : Unknown
Product          : Language


Description
-----------

For memory

I'd like to have a C macro style but in a restricted way.

For example it will be usefull to have :

#Define MyConst = 6

And maybe 

#Define Loc(X,Y) = (X * iMaVar) * Y

These macro increase the debugging difficulties but in other hand optimize the code interpretation so the velocity.

I'm agree that function definition must be limited to inline.








More information about the User mailing list