What do you use to store those bits ?
If you want to store more bits you'll have to use more bytes (AFAIK the .NET
framework has also a specialized class for this that could perhaps be
usefull).
Patrice
> I've written a script that uses bits to store permissions, however, once I go
> over 128 bits I get an error:
>
> System.OverflowException: Arithmetic operation resulted in an overflow.
>
> Is this a limitation of the system?
P1ayboy - 28 Jun 2005 10:22 GMT
Its ok thanks, I eventually re-cast them as integers and that seemed to solve
the problem.
> What do you use to store those bits ?
>
[quoted text clipped - 11 lines]
> >
> > Is this a limitation of the system?
Patrice - 28 Jun 2005 10:37 GMT
In case you would like to give a further look, see the BitArray class...
Patrice
> Its ok thanks, I eventually re-cast them as integers and that seemed to solve
> the problem.
[quoted text clipped - 14 lines]
> > >
> > > Is this a limitation of the system?