Does zero_type really work in that context? If you store it in an int variable, is it guaranteed to work?
It works for local variables in functions. You might say it's guaranteed since there's a lot of code that uses it.
/ Martin Stjernholm, Roxen IS
Previous text:
2003-09-28 14:27: Subject: zero_type();
If it's done a lot, do you need the error checking at that point?
It seems like a lot of work that in the normal case isn't necessary...
Does zero_type really work in that context? If you store it in an int variable, is it guaranteed to work?
Also, you could do
if (zero_type(index1 = amino_acid[str1]) || ... zero_type(indexn = amino_acid[strn]))
if you want to, which is probably safer zero-typewise. :)
(Just suggesting options.)
/ Mirar