πŸš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.c
Article #1452

Re: new neat for syntax discovered

#1452
From: fir
Date: Tue, 10 Nov 2026 22:37
38 lines
1960 bytes
fir pisze:
> in short i could yet say the for (^) can have such form
> 
> 
> int range = 1..8
> int count = 20
> int list = {2,3,4,4,4,3}
> int array[] = {2,3,4,5,6}
> 
> ^range {}
> ^count {}
> ^listΒ  {}
> ^array {}
> 
> 
> (not sure as to naming esp 'count' ..also this list is close to array 
> but it also may be a structure/tuple with various data eventually
> 
> ^ tuple {}
> 
> ^ tree {}
> 
> it also can be tree eventually etc
> 
> 
> 
> SO it is rather clear
> 

yet may stand a question if this for should work on condition

like

^res!=0 {res = foo()}


probably yes also (though it probably needs to look out more cases maybe
Technical Details
Message-ID: <11d06cc$2iial$1@dont-email.me>
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.hispagatos.org!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
References: <11cv6t1$2694b$1@dont-email.me> <11cvtks$2feht$1@dont-email.me>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.hispagatos.org!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
From: fir <profesor.fir@gmail.com>
Newsgroups: comp.lang.c
Subject: Re: new neat for syntax discovered
Date: Tue, 10 Nov 2026 23:37:43 +0100
Organization: A noiseless patient Spider
Lines: 38
Message-ID: <11d06cc$2iial$1@dont-email.me>
References: <11cv6t1$2694b$1@dont-email.me> <11cvtks$2feht$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 10 Nov 2026 22:38:05 +0000 (UTC)
Injection-Info: dont-email.me;
	logging-data="2705749"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1+BbcMhWK52CQH812CoGf7fzlDAKqSn3wE="; posting-host="5e24ef116842e5f7dade8922bc1e4cca"
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:140.0) Gecko/20100101
 Firefox/140.0 SeaMonkey/2.53.24
Cancel-Lock: sha1:xMBLt4fo21wkcY5hjfmgzR4nw8s= sha256:+c+MaeJPo6IREz8RSfuEmIklZI3KZercCsaxY+uW49s=
	sha1:nMGArrDkwlJr+N1xQr9XRMgHEAE= sha256:dV10qrMJntNwlIdk3GXr7nrpR3T3seO7dH9/6XGE95o=
In-Reply-To: <11cvtks$2feht$1@dont-email.me>