Pop-Up Thingie
Sidebar
d0p3 BBS
Home
Forum
Files
Dark
Register
Log in
Username
Password
Sidebar
Forum
Fidonet
COMP.LANG.C
returning decision (or loop etc)
From
fir
@3:633/10 to
All
on Sat Nov 14 17:24:22 2026
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
Guest
Sun Jun 14 06:31:07 2026
from
Ny
via
Telnet
Frostydev
Mon Jul 13 05:56:46 2026
from
Maryland
via
Raw
Guest
Mon Sep 28 16:42:48 2026
from
Burrow, Ground
via
Telnet
Guest
Tue Nov 3 07:00:58 2026
from
Maine, Usa
via
Telnet
System Info
Sysop:
Tetrazocine
Location:
Melbourne, VIC, Australia
Users:
3
Nodes:
8 (
0
/
8
)
Uptime:
11:16:49
Calls:
222
Files:
21,513
Messages:
85,351