BMax feature request - ability to inline a macro

BlitzMax Forums/BlitzMax Programming/BMax feature request - ability to inline a macro

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Thats assuming that the compiler works like that, being
able to mark something as inline in your code, making it
explicit..is handy, even if this is only a suggestion to the
compiler. Macros have other uses, not simply for expanding
a functions...unrolling loops. You need only look at whats
possible with macros in C++.
Inline assembly on the other hand, gives you as much control
over code as your going to get - dont assume that jst cuz
a compiler can do this, that and the other, that it will...and
despite modern compilers being very good...they arent
perfect.