🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by fir Sat, 14 Nov 2026 16:24
returning decision (or loop etc)
#1534
Author: fir
Date: Sat, 14 Nov 2026 16:24
29 lines
1852 bytes
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
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads