On Mon, 17 Jun 2002, Richard Maine wrote:
> Aleksandar Donev writes:
>
> > .... ((0,1))
>
> > Can someone explain this syntax to me? Why the double parenthesis around
> > 0,1?
>
> Nothing new here. There is no special double parens delimitter. That
> is a complex constant inside of a single set of parens. Confusing, I
> agree; the syntax for complex constants has long been a source of
> syntactic confusions - it looks too much like other things.
One reason for confusion might be that (0,1) requires an implicit conversion
to REAL. Wouldn't it be clearer to use (0.,1.)?
Ted
--
Ted Stern Engineering Applications
Cray Inc. http://www.cray.com
411 First Avenue South, Suite 600 206-701-2182
Seattle, WA 98104-2860 FAX: 206-701-2500
Debuggers' motto: Frango ut patefacium -- I break in order to reveal
|