Pop-Up Thingie
Sidebar
Too Lazy BBS
Home
Forum
Files
Chat
Bulletins
Top doors
MOTD
BBS Stats
Radio
AvatarChat
Dark
Register
Log in
Username
Password
Sidebar
Forum
USENET
comp.lang.c
returning decision (or loop etc)
From
fir
@profesor.fir@gmail.com to
comp.lang.c
on Sat Nov 14 17:24:22 2026
From Newsgroup: comp.lang.c
maybe not worth stating a new thread but i noticed
that there is some unused syntax posiblility i mean
foo(int a)
{
return if(a>0 && a<100) ;
}
i eman you return a decision
so you can use
foo(b) {} else {}
asme you could return a loops or other construct of this kind
foo(int k)
{
return for(int i=0;i<k; i++);
}
foo(89) {}
here its a bt of complication c uses a variable i which is like
inaccesible call side but that eventually can be resolved
it would need some design on an abi level, but it rather can be
usable esp if maybe generalized
--- Synchronet 3.22a-Linux NewsLink 1.2
Who's Online
Recent Visitors
Jas Hud
Mon Nov 16 00:41:01 2026
from
Bbs.Eob-Bbs.Com,wi
via
Telnet
Geek2
Sun Nov 15 09:22:57 2026
from
Euclid, Oh
via
Telnet
Amr
Fri Nov 13 16:10:06 2026
from
Fayetteville, Nc
via
Telnet
Geek2
Fri Nov 13 13:11:13 2026
from
Euclid, Oh
via
Telnet
System Info
Sysop:
Amessyroom
Location:
Fayetteville, NC
Users:
76
Nodes:
6 (
0
/
6
)
Uptime:
56:27:18
Calls:
1,265
Calls today:
1
Files:
1,362
D/L today:
3 files
(2,684K bytes)
Messages:
285,806