I do like this one a lot because, even though I have access to grid, it's called elsewhere where a scalar result is expected. The "|| ( )" makes for an elegant one-liner that eliminates the temporary variable completely. Thanks! And many thanks to all of you for the thoughtful discussion!