Pop-Up Thingie
Sidebar
Jacob's Hideout BBS
Home
Forum
Files
Dark
Log in
Username
Password
Sidebar
Forum
FidoNet
comp.lang.c
returning decision (or loop etc)
From
fir
@3:633/10 to
All
on Saturday, November 14, 2026 17:24:22
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
--- PyGate Linux v1.5.19
* Origin: Dragon's Lair, PyGate NNTP<>Fido Gate (3:633/10)
Who's Online
Recent Visitors
Thee Mad Hatter
Sunday, November 22, 2026 14:27:53
from
Philippines
via
Telnet
Uryu Ishida
Sunday, November 22, 2026 03:13:58
from
Lake Ozark, Missouri
via
Telnet
Thee Mad Hatter
Sunday, November 22, 2026 02:18:19
from
Philippines
via
Telnet
Wang Bu
Saturday, November 21, 2026 15:23:34
from
Manila, Philippines
via
Telnet
System Info
Sysop:
Jacob Catayoc
Location:
Pasay City, Metro Manila, Philippines
Users:
5
Nodes:
4 (
0
/
4
)
Uptime:
498678:37:08
Calls:
212
Calls today:
3
Files:
912
D/L today:
31 files
(22,593K bytes)
Messages:
69,880