[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: N_ELEMENTS and WHERE: Scalar or Array ?
Stein Vidar Hagfors Haugan wrote:
>
:
> The problem is the "null" - it ought to be something other than an
> integer/long/long64. Ok, so maybe -2LL^63 would do... and of course
> you'd need to keep compatible, so you need WHERE(..,/null)
>
:
>
> How'bout {} ? :-) I'm not *just* kidding. [] work as both array
> constructors and indexing brackets, so {} could work as both
> structure constructors and indexing brackets..
Differences in function based on differences in types of brackets will
lead
to confusion -- in part because of the difficulty of distinguishing {
and [
and ( in some fonts.
The idea of a switch on the WHERE function sounds much better.