Index: /trunk/psLib/src/sys/psType.h
===================================================================
--- /trunk/psLib/src/sys/psType.h	(revision 2638)
+++ /trunk/psLib/src/sys/psType.h	(revision 2639)
@@ -11,6 +11,6 @@
 *  @author Ross Harman, MHPCC
 *
-*  @version $Revision: 1.24 $ $Name: not supported by cvs2svn $
-*  @date $Date: 2004-12-03 23:16:05 $
+*  @version $Revision: 1.25 $ $Name: not supported by cvs2svn $
+*  @date $Date: 2004-12-06 20:52:56 $
 *
 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -57,5 +57,4 @@
 
 typedef enum {
-    PS_TYPE_BOOL = 0x0100,             ///< Boolean.
     PS_TYPE_S8   = 0x0101,             ///< Character.
     PS_TYPE_S16  = 0x0102,             ///< Short integer.
@@ -70,4 +69,5 @@
     PS_TYPE_C32  = 0x0808,             ///< Complex numbers consisting of single-precision floating point.
     PS_TYPE_C64  = 0x0810,             ///< Complex numbers consisting of double-precision floating point.
+    PS_TYPE_BOOL = 0x1301,             ///< Boolean.
     PS_TYPE_PTR  = 0x0000              ///< Something else that's not supported for arithmetic.
 } psElemType;
@@ -106,20 +106,24 @@
 #define PS_MAX_C64       DBL_MAX       /**< maximum valid real or imaginary psC32 value */
 
-#define PS_TYPE_S8_NAME  "psS8"
-#define PS_TYPE_S16_NAME "psS16"
-#define PS_TYPE_S32_NAME "psS32"
-#define PS_TYPE_S64_NAME "psS64"
-#define PS_TYPE_U8_NAME  "psU8"
-#define PS_TYPE_U16_NAME "psU16"
-#define PS_TYPE_U32_NAME "psU32"
-#define PS_TYPE_U64_NAME "psU64"
-#define PS_TYPE_F32_NAME "psF32"
-#define PS_TYPE_F64_NAME "psF64"
-#define PS_TYPE_C32_NAME "psC32"
-#define PS_TYPE_C64_NAME "psC64"
-#define PS_TYPE_PTR_NAME "psPtr"
+#define PS_TYPE_BOOL_NAME "psBool"
+#define PS_TYPE_S8_NAME   "psS8"
+#define PS_TYPE_S16_NAME  "psS16"
+#define PS_TYPE_S32_NAME  "psS32"
+#define PS_TYPE_S64_NAME  "psS64"
+#define PS_TYPE_U8_NAME   "psU8"
+#define PS_TYPE_U16_NAME  "psU16"
+#define PS_TYPE_U32_NAME  "psU32"
+#define PS_TYPE_U64_NAME  "psU64"
+#define PS_TYPE_F32_NAME  "psF32"
+#define PS_TYPE_F64_NAME  "psF64"
+#define PS_TYPE_C32_NAME  "psC32"
+#define PS_TYPE_C64_NAME  "psC64"
+#define PS_TYPE_PTR_NAME  "psPtr"
 
 #define PS_TYPE_NAME(value,type) \
 switch(type) { \
+case PS_TYPE_BOOL: \
+    value = PS_TYPE_BOOL_NAME; \
+    break; \
 case PS_TYPE_S8: \
     value = PS_TYPE_S8_NAME; \
@@ -185,4 +189,6 @@
 /// Macro to determine if the psElemType is complex number type.
 #define PS_IS_PSELEMTYPE_COMPLEX(x) ((x & 0x800) == 0x800)
+/// Macro to determine if the psElemType is boolean type.
+#define PS_IS_PSELEMTYPE_BOOL(x) ((x & 0x1000) == 0x1000)
 /// Macro to determine the storage size, in bytes, of the psElemType.
 #define PSELEMTYPE_SIZEOF(x) ( (x==PS_TYPE_PTR) ? sizeof(psPtr) :(x & 0xFF) )
Index: /trunk/psLib/src/sysUtils/psType.h
===================================================================
--- /trunk/psLib/src/sysUtils/psType.h	(revision 2638)
+++ /trunk/psLib/src/sysUtils/psType.h	(revision 2639)
@@ -11,6 +11,6 @@
 *  @author Ross Harman, MHPCC
 *
-*  @version $Revision: 1.24 $ $Name: not supported by cvs2svn $
-*  @date $Date: 2004-12-03 23:16:05 $
+*  @version $Revision: 1.25 $ $Name: not supported by cvs2svn $
+*  @date $Date: 2004-12-06 20:52:56 $
 *
 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -57,5 +57,4 @@
 
 typedef enum {
-    PS_TYPE_BOOL = 0x0100,             ///< Boolean.
     PS_TYPE_S8   = 0x0101,             ///< Character.
     PS_TYPE_S16  = 0x0102,             ///< Short integer.
@@ -70,4 +69,5 @@
     PS_TYPE_C32  = 0x0808,             ///< Complex numbers consisting of single-precision floating point.
     PS_TYPE_C64  = 0x0810,             ///< Complex numbers consisting of double-precision floating point.
+    PS_TYPE_BOOL = 0x1301,             ///< Boolean.
     PS_TYPE_PTR  = 0x0000              ///< Something else that's not supported for arithmetic.
 } psElemType;
@@ -106,20 +106,24 @@
 #define PS_MAX_C64       DBL_MAX       /**< maximum valid real or imaginary psC32 value */
 
-#define PS_TYPE_S8_NAME  "psS8"
-#define PS_TYPE_S16_NAME "psS16"
-#define PS_TYPE_S32_NAME "psS32"
-#define PS_TYPE_S64_NAME "psS64"
-#define PS_TYPE_U8_NAME  "psU8"
-#define PS_TYPE_U16_NAME "psU16"
-#define PS_TYPE_U32_NAME "psU32"
-#define PS_TYPE_U64_NAME "psU64"
-#define PS_TYPE_F32_NAME "psF32"
-#define PS_TYPE_F64_NAME "psF64"
-#define PS_TYPE_C32_NAME "psC32"
-#define PS_TYPE_C64_NAME "psC64"
-#define PS_TYPE_PTR_NAME "psPtr"
+#define PS_TYPE_BOOL_NAME "psBool"
+#define PS_TYPE_S8_NAME   "psS8"
+#define PS_TYPE_S16_NAME  "psS16"
+#define PS_TYPE_S32_NAME  "psS32"
+#define PS_TYPE_S64_NAME  "psS64"
+#define PS_TYPE_U8_NAME   "psU8"
+#define PS_TYPE_U16_NAME  "psU16"
+#define PS_TYPE_U32_NAME  "psU32"
+#define PS_TYPE_U64_NAME  "psU64"
+#define PS_TYPE_F32_NAME  "psF32"
+#define PS_TYPE_F64_NAME  "psF64"
+#define PS_TYPE_C32_NAME  "psC32"
+#define PS_TYPE_C64_NAME  "psC64"
+#define PS_TYPE_PTR_NAME  "psPtr"
 
 #define PS_TYPE_NAME(value,type) \
 switch(type) { \
+case PS_TYPE_BOOL: \
+    value = PS_TYPE_BOOL_NAME; \
+    break; \
 case PS_TYPE_S8: \
     value = PS_TYPE_S8_NAME; \
@@ -185,4 +189,6 @@
 /// Macro to determine if the psElemType is complex number type.
 #define PS_IS_PSELEMTYPE_COMPLEX(x) ((x & 0x800) == 0x800)
+/// Macro to determine if the psElemType is boolean type.
+#define PS_IS_PSELEMTYPE_BOOL(x) ((x & 0x1000) == 0x1000)
 /// Macro to determine the storage size, in bytes, of the psElemType.
 #define PSELEMTYPE_SIZEOF(x) ( (x==PS_TYPE_PTR) ? sizeof(psPtr) :(x & 0xFF) )
