|
 |
Invisible <voi### [at] dev null> wrote:
> >> More exactly: It's a workaround for C's lack of lack of GOTO.
> >
> > Except that C does have goto.
> Ooo, really?
> In that case, I have *no clue* why they did it this way...
Because "while(1)" is a common idiom, and avoids the ugly goto.
> Oh, wait, maybe I do... Can you use GOTO to jump to a *pointer*? Or only
> a literal label?
Jumping to a pointer is normally called "function call".
Goto works only with labels.
--
- Warp
Post a reply to this message
|
 |