🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.c
Article #1417

new neat for syntax discovered

#1417
From: fir
Date: Tue, 10 Nov 2026 13:40
59 lines
2064 bytes
"10.11.26 new for syntax discovered"

(i will post it here yet, as a kinda tutorial becouse before it was 
essily written)

new for is ^

^ {}

this makes infinite loop

iuo want loop 1000 times

{} ^ 1000


(this rightside form is more natural bu some leftside must be taken
(for now maybe

^ 1000 {}

though it may chnge maybe)

wnnna iterate for i?

int i = width;
int j = height;

^ j ^ i {tab[j][i]=0;}

some could say there should be a shortcut

dst[^j][^i]=source[j*1.2][i*1.2];


but there is a question when ^T ^S should work in "parraler"
and when like tensor (?) way (you know all pairs fired)



probably some syntax need to be extablished like


dst[^^j][^i]=source[j*1.2][i*1.2];

^^J being second grade loop and all irst grade should go in 
parallel/synchronised











Technical Details
Message-ID: <11cv6t1$2694b$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

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: new neat for syntax discovered
Date: Tue, 10 Nov 2026 14:40:28 +0100
Organization: A noiseless patient Spider
Lines: 59
Message-ID: <11cv6t1$2694b$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Tue, 10 Nov 2026 13:40:49 +0000 (UTC)
Injection-Info: dont-email.me;
	logging-data="2303115"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1/wzTEl6/gGH4zz64WjeCYFkTDdqSSD6sM="; 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:PUpFLWQRmEiFSPnxBsXuRO5tLUY= sha256:rRllBcfDMPaWBrQRW2dwS+yVGTr7t+O63FmZ+ve4w8A=
	sha1:ZOau3MtafL3zPL7t2iD59PalRcg= sha256:NAYu3LvQRuzg0GBE3e8/aXwqlUU9OQhf/AE29g1pcE0=
X-Mozilla-News-Host: news://news.eternal-september.org:119