In message <[email protected]>, Daniel Bruessler writes:
>Hello,
>
>I don't need a "return" to return a value, I just want to jump out
>before the end of the function. I posted a simplified version of my
>function, the real one has several if-clauses.
Use elseif ?
if (foo) {
} elseif (bar) {
} elseif (foomble) {
} else {
}
--
Poul-Henning Kamp | UNIX since Zilog Zeus 3.20
[email protected] | TCP/IP since RFC 956
FreeBSD committer | BSD since 4.3-tahoe
Never attribute to malice what can adequately be explained by incompetence.
_______________________________________________
varnish-misc mailing list
[email protected]
http://projects.linpro.no/mailman/listinfo/varnish-misc