PDA

View Full Version : Max Family numbers


Urendi Maleldil
September 15th, 2007, 02:15 AM
Anyone know if there's a maximum on the family numbers you can assign to components and weapons? I've developed a seven digit code to use to easily identify component types, but I don't know if SEIV will handle seven digit family numbers.

capnq
September 15th, 2007, 08:17 AM
I don't know, but integer limits tend to be at boundaries one less than a power of two. The largest I can recall being mentioned around here is 65535 (=2^16-1). I'd be really surprised if seven digits works.

Suicide Junkie
September 15th, 2007, 10:46 AM
I believe it is 64k for components, but 255 for facilities.

Urendi Maleldil
September 15th, 2007, 12:36 PM
Hmm. I'll have to simplify my code a little bit.

Fyron
September 15th, 2007, 01:24 PM
It is 65535 for facilities too. I haven't had any problems with numbers bigger than 255.