Re: How to exit out of a function ? what is try-catch-throw in terms of Program Counter
Kenny McCormack wrote:
> In article <lnodetyzbc.fsf@nuthaus.mib.org>,
> Keith Thompson <kst-u@mib.org> wrote:
>>gnuist006@gmail.com writes:
>>> I have some code like this:
>>>
>>> (if (test)
>>> (exit)
>>> (do something))
>>>
>>>
>>> or
>>>
>>> (if (test)
>>> ( do something)
>>> (exit))
>>
>>That's Lisp, yes? Saying so would be good, since we naturally assume
>>that anything posted to comp.lang.c is C.
>
> Actually, most of what is posted here is "not C". Since, according to
> many of the regulars, if it includes anything "off topic", it is "not
> C".
>
> Since all code used in the real world uses extensions, there is no C
> code in the real world.
Perhaps you mean to say that there are no C _programs_ in the real
world. I'm sure there are pieces of fully Standard C code in many, if
not most programs. It's very likely though that the program, taken as a
whole, includes some non-Standard C.
|