Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #macro SetDefine( _name2_ , _n_ , _m_ , _contentBase_ , _contentExtra_ )
- #if (_n_ and _m_)
- #define _name2_ _contentBase_ _contentExtra_
- #else
- #define _name2_ _contentBase_
- #endif
- #endmacro
- #macro MakeSpaceConstString( _name_ , _ScrWid_ )
- SetDefine( _nam1_ , _ScrWid_ , 128 , "" , " ]" )
- SetDefine( _nam2_ , _ScrWid_ , 64 , _nam1_ , " " )
- SetDefine( _nam3_ , _ScrWid_ , 32 , _nam2_ , " " )
- SetDefine( _nam4_ , _ScrWid_ , 16 , _nam3_ , " " )
- SetDefine( _nam5_ , _ScrWid_ , 8 , _nam4_ , " " )
- SetDefine( _nam6_ , _ScrWid_ , 4 , _nam5_ , " " )
- SetDefine( _nam7_ , _ScrWid_ , 2 , _nam6_ , " " )
- SetDefine( _name_ , _ScrWid_ , 1 , _nam7_ , " " )
- #undef _nam1_
- #undef _nam2_
- #undef _nam3_
- #undef _nam4_
- #undef _nam5_
- #undef _nam6_
- #undef _nam7_
- #endmacro
- MakeSpaceConstString( sSpaces , 19 )
- print len( sSpaces )
- sleep
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement