🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.c
Article #1418

Re: new neat for syntax discovered

#1418
From: fir
Date: Tue, 10 Nov 2026 13:48
28 lines
1821 bytes
fir pisze:
> 
> int i = width;
> int j = height;
> 
> ^ j ^ i {tab[j][i]=0;}


here obviously you cann add ranges

int i = R..width-1-R;
int j = R..height-1-R;

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

or lists

int T = {2,3,4,5,3,8,2};
char S = {'s','d','d', 'b','f','a','x'};

txt[^T]= ^S; //eventually ^i=6 {txt[T[i]] = S[i]}


//i know this above is not offcialsyntax and it would be more
// int T[] = {2,3,4,5,3,8,2};
//but i recently think if not to skip some , but im not sure yet
// so instinctivly i wrote without [] but officially it can be put
Technical Details
Message-ID: <11cv7cp$26gav$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>

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 14:48:52 +0100
Organization: A noiseless patient Spider
Lines: 28
Message-ID: <11cv7cp$26gav$1@dont-email.me>
References: <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:49:14 +0000 (UTC)
Injection-Info: dont-email.me;
	logging-data="2310495"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1/JwF0vCMdOSvF/o2MvdKQ1Y2EX8+4MOI0="; 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:VEB2UDi+/B4Om488Qf10/4tw79A= sha256:IksQi7G4ThiPZBplhZUL1Cu8CAXI4P0BIbnhpdKC06c=
	sha1:JXW2TtyaAVk43G+r0o6a73WdN3g= sha256:b2GOIG5PkTceNwDLN+qxb+ACkxYJmPNObYSb8pE3urI=
In-Reply-To: <11cv6t1$2694b$1@dont-email.me>