Hello there,
I'm not sure if this is a bug or a "feature" - but it seems that logical
variables are overwritten as soon as they are "reached" in a logical
expression.
Example:
This fails (c2 appears first on line 5, RHS)
c1=False
c2=True
do i=0,10
c2=c2.and.c1
end do
This works (c2 appears second on line 5, RHS)
c1=False
c2=True
do i=0,10
c2=c1.and.c2
end do
We are using NCAR Command Language Version 5.1.1
thanks,
Adrian
-- Adrian Tompkins | Earth System Physics +39 040 2240579 (office) | ICTP (UNESCO-IAEA) +39 040 2240449 (fax) | Strada Costiera 11 www.ictp.it | 34151 Trieste, Italy _______________________________________________ ncl-talk mailing list List instructions, subscriber options, unsubscribe: http://mailman.ucar.edu/mailman/listinfo/ncl-talkReceived on Tue Jul 12 10:02:43 2011
This archive was generated by hypermail 2.1.8 : Tue Jul 12 2011 - 15:03:53 MDT