The 'Pawn Language' Forum

An embedded scripting language

 

Reply To This Topic    Back To Forum Index
 
Mac
Posted On 2009-11-07 13:45 -- Subject: Heed help with macros

i write
#define while(%1) while(%1&&print(#%1))
but it not compiles
it need me for debug, how i can do this?
Anthony
Posted On 2009-12-29 20:33 -- Subject: RE: Heed help with macros

You are causing an infinite loop, your lucky the compiler isn't crashing.
Just do
#define while_debug(%1) while(...


You Are On Page: 1/1 <<   <   1   >   >>




- BiTBOARD version 2.5 by the BiTSHiFTERS SDC -