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.
> Various levels of nestings.
>
> I have several questions, basic to sophisticated.
>
> (1) What is the lisp equivalent idiom for (exit) as in bash or
> in C.
You're expecting C programmers to know what (exit) does in Lisp?
[snip]
> I therefore take the liberty to crosspost in C and C++ groups.
That's rarely a good idea.
--
Keith Thompson (The_Other_Keith)
kst-u@mib.org <http://www.ghoti.net/~kst>
San Diego Supercomputer Center <*> <http://users.sdsc.edu/~kst>
"We must do something. This is something. Therefore, we must do this."
-- Antony Jay and Jonathan Lynn, "Yes Minister"