So if Protel works with 1/10 of a microinch, a 4 byte unsigned int would still hold 430 inches. Maybe they use signed int... you never know. In any case, this would be rather close to an overflow situation.
Since overflow produced a negative value, I'd assume that they were using signed integers. This is to be expected, since a positional value is allowed to be negative in Protel.
As I mentioned, it is probably fairly simple to determine the integer size from the actual display shown on the original post, plus the true value as calculated later, especially if we had the exact values, though the approximate values would probably serve.
____________________________________________________________ You are subscribed to the PEDA discussion forum
To Post messages: mailto:[email protected]
Unsubscribe and Other Options: http://techservinc.com/mailman/listinfo/peda_techservinc.com
Browse or Search Old Archives (2001-2004): http://www.mail-archive.com/[email protected]
Browse or Search Current Archives (2004-Current): http://www.mail-archive.com/[email protected]
