Inline procedures / macro definitions

Post your requests and ideas on the future development of mikroPascal for dsPIC30/33 and PIC24.
Post Reply
Author
Message
mhfm
Posts: 6
Joined: 10 May 2007 14:28
Location: Switzerland

Inline procedures / macro definitions

#1 Post by mhfm » 21 May 2007 09:27

for code readability, to optimize code for speed and to create my own "RTOS" functions, i need inline procedures (macro definitions with arguments passing).
I may be off the standard track, but this allows me to write my own device drivers efficiently.

User avatar
zristic
mikroElektronika team
Posts: 6608
Joined: 03 Aug 2004 12:59
Contact:

Re: Inline procedures / macro definitions

#2 Post by zristic » 21 May 2007 09:50

Hmmm, very challenging task... not that easy, but we will consider it.
Thanks for the suggestion.

mhfm
Posts: 6
Joined: 10 May 2007 14:28
Location: Switzerland

Inline procedures / macro definitions

#3 Post by mhfm » 22 May 2007 16:51

thanks for considering.
JoseLB did some work http://www.mikroe.com/forum/viewtopic.php?t=9919 , which does much more than I imagined, but the straight text substitution of "<<macro>>" tags with previously defined ones before compilation would already do.
Of course I see the difficulty with the code visualization, which often is a problem with macro based compiling.

Post Reply

Return to “mikroPascal for dsPIC30/33 and PIC24 Wish List”