> I've used return in a couple of places (twice with an integer return value),
> which I fear may break on old platforms. Otherwise I've assumed that all
> shell variables are in global scope, and that positional parameters are
> stacked and restored at function call boundaries to an arbitrary nesting
> limit.


No, return is pretty safe.

It should be even with an integer return value.  If you are at the
end of a function (or in an if just before the end of the function, you
got it) it is possible to replace it with (exit NUM), but I don't see a
good reason to do so.

Paolo



_______________________________________________
Libtool mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/libtool

Reply via email to