Skip to content

Instantly share code, notes, and snippets.

Created February 18, 2013 20:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/ccf08d1c8cca1f997b94 to your computer and use it in GitHub Desktop.
Save anonymous/ccf08d1c8cca1f997b94 to your computer and use it in GitHub Desktop.
#define LOOP while(1)
#define Loop( N ) int J = - 1, LLL = N ; while( ++J < LLL )
#define While( ↻ ) Ch = 1, P-- ; while( ( Ch₋₁ = Ch ) && ( Ch = *++P, Ch2 = !Ch ? 0 : P[1], ↻ ) )
#define While₂( ↻ ) Ch = 1, P₂-- ; while( ( Ch₋₁ = Ch ) && ( Ch = *++P₂, Ch2 = !Ch ? 0 : P₂[1], ↻ ) )
#define WhileBac( ↻ ) \
Ch = Ch2 = 0, E ? 0 : E = B + szStr( B ), P = E ; \
while ( P >= B && ( Ch2 = *P, ( Ch = --P < B ? 0 : *P ) && ( ↻ ) ) )
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment