Hmm, I seem to be the guy asking all the questions on this forum. I apreciate all the answers.

I seem to remember somewhere that you could use typedef to make a new variable type that could contain one of two variables. so If I made a type OptionalSignedLong that could hold either a signed or unsigned long I could go

OptionalSignedLong MyNumber = 10;

MyNumber = (signed long)-10; /* MyNum Stores a
signed long*/


MyNumber = (unsigned long) 10000; /* MyNum Stores an
unsigned long*/


Is this possible or am i just imaganing things.