M
mahurshi
i'd like to store values of a signal into a variable called signal.
signal can take 0, 1, -1, U (where u = undefined, -1 = uninitialized)
is there a way i can store this without making the signal a string or
an int (in which case, i have to change the U to another number)
right now i am going with string, but i was wondering what you pros do
in such cases.
by the way, i am going to use these values to do some basic and/or/xor
type operations. (if i use string, i have to keep converting that stuff
before i do anything)
thanks.
signal can take 0, 1, -1, U (where u = undefined, -1 = uninitialized)
is there a way i can store this without making the signal a string or
an int (in which case, i have to change the U to another number)
right now i am going with string, but i was wondering what you pros do
in such cases.
by the way, i am going to use these values to do some basic and/or/xor
type operations. (if i use string, i have to keep converting that stuff
before i do anything)
thanks.