04-25-2006 06:06 AM
04-25-2006 06:30 AM
04-25-2006 06:41 AM
04-25-2006 06:55 AM
04-25-2006 07:06 AM
04-25-2006 07:20 AM
04-25-2006 07:30 AM
04-25-2006 07:31 AM
Sarah,
It sounds like you need to use a boolean data type instead of an integer type. The smallest size for a integer type is 8 bits as you found out.
Once you have an array of booleans you can use the "boolean array to number" to get an integer value of the boolean array as Dave points out. To go the other way, use "Number To Boolean Array" to get an array of booleans from an integer type. The largest size integer the "boolean array to number" will generate is 32 bit.
Otherwise you will have to logicaly shift each "bit" and use the OR operation to combine them.
Paul
04-25-2006 05:11 PM
05-02-2006 10:31 AM