[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Logical operators and argument adjustment
- From: Roberto Ierusalimschy <roberto@...>
- Date: Mon, 15 Jun 1998 11:58:39 -0300
> The logical operators do not seem to interact as I expect
> with argument adjustment:
Logical operators, like all operators, adjust their operands to 1 value before
performing any operation. In fact, the only places you can use a function call
and get all its returned values is in an assignment:
a,...,b = f()
or in a return statement:
return f()
Any other use of a function call will adjust its results.
-- Roberto