Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.os.linux.advocacy > #92448

While( Ch ) if ( Ch‑1 <= 32 ) *P -= 32 ; 

From Jeff-Relf.Me <x@x.Invalid>
Newsgroups comp.os.linux.advocacy, comp.os.linux.embedded
Subject While( Ch ) if ( Ch‑1 <= 32 ) *P -= 32 ; 
Date 2012-02-28 05:52 -0800
Organization Glorb Internet Services, http://www.glorb.com
Message-ID <Jeff-Relf.Me@2012_Feb.28^5.52.am> (permalink)
References (1 earlier) <4iah09-1p2.ln1@spankydtr.localhost.net> <PYqZq.3558$FY5.2955@newsfe10.ams2> <87fwdzpbqe.fsf@bazspaz.fatphil.org> <TIa2r.45441$6J5.28348@newsfe17.ams2> <87zkc4mlho.fsf@bazspaz.fatphil.org>

Cross-posted to 2 groups.

Show all headers | View raw



Speaking of "#define" macros...
#define  While( Should_Loop )  Ch = 1, P-- ;  \
  while( Ch‑1 = Ch, Ch && ( Ch = *++P, Ch2 = !Ch ? 0 : P[1], Should_Loop ) )

wchar_t B[] = L"hello world", *P = B, Ch‑1, Ch, Ch2 ;
//  Capitalise B, make it "Hello World". 
While( Ch ) if ( Ch‑1 <= 32 ) *P -= 32 ;

Back to comp.os.linux.advocacy | Previous | NextPrevious in thread | Find similar


Thread

Re: Reading the Riot Act To ARM's developers 7 <email_at_www_at_enemygadgets_dot_com@enemygadgets.com> - 2012-02-25 19:34 +0000
  Re: Reading the Riot Act To ARM's developers Phil Carmody <thefatphil_demunged@yahoo.co.uk> - 2012-02-27 15:52 +0200
    Re: Reading the Riot Act To ARM's developers David Brown <david.brown@removethis.hesbynett.no> - 2012-02-27 22:04 +0100
    While( Ch ) if ( Ch‑1 <= 32 ) *P -= 32 ;  Jeff-Relf.Me <x@x.Invalid> - 2012-02-28 05:52 -0800

csiph-web