Here I have analysed 12 different cases of logical variable find
its behavior to not operator.
My script is attached
The output is as follows.
Please note the potions with red font colour.
I am using NCAR Command Language Version 5.1.1 on Fedora 11 operating
system
(0) A1 : Defineing full = new(1,logical)
*(0)** **full = True*
*(0)** **.not.full = True*
(0) case A2 : full = True
(0) full = True
(0) .not.full = False
(0) case A3 : full = False
(0) full = False
(0) .not.full = True
(0) B1 : Defineing full = new(1,logical,True)
*(0)** **full = True*
*(0)** **.not.full = True*
(0) case B2 : full = True
*(0)** **full = True*
*(0)** **.not.full = True*
(0) case B3 : full = False
(0) full = False
(0) .not.full = True
(0) C1 : Defineing full = new(1,logical,False)
*(0)** **full = False*
*(0)** **.not.full = False*
(0) case C2 : full = True
(0) full = True
(0) .not.full = False
(0) case C3 : full = False
*(0)** **full = False*
*(0)** **.not.full = False*
(0) D1 : Defineing full = new(1,logical)
*(0)** **full = True*
*(0)** **.not.full = True*
(0) case D2 : full = True
(0) full = True
(0) .not.full = False
(0) case D3 : full = False
(0) full = False
(0) .not.full = True
-- *Gibies George, CSIR-RF, Climate and Global Modelling Division, Indian Institute of Tropical Meteorology, Dr. Homi Bhabha Road, NCL (P. O.), Pashan, Pune 411008, India.* *http://sites.google.com/site/gibiesge/* Please Think about the environment. Save paper; Save Trees; and don't print this e-mail unless it is necessary.
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
This archive was generated by hypermail 2.1.8 : Wed Mar 02 2011 - 09:18:12 MST