Subj : Translating CASE from BASIC to C++
To   : Eddy Thilleman
From : Mike Luther
Date : Tue Feb 13 2001 03:13 pm

I'm not lost as to getting this part... Eddy,

ET> So you need to embed the alpha-numeric logic (comparison) inside a
ET> numeric logic (comparison), in C every comparison is
ET> numeric, no matter what.

That's within my understanding of all this.

ET> What kind of alpha-numeric
ET> logic is used ?  Can you give specific examples?

The rest is multi-faceted.  At different places I do different things that are
text comparison based.  The following post here from yours asked a question, I
think, as to whether the test logic changed at run time.

Yes, it does.  Therefore, reducing it to numeric logic isn't quite as easy as i
the comparison could be determined at compile time.  That would be easy (I
think!)  Simply switch the logic to numeric to start with and forget text!
After all, integer operations are, I guess, at this level about as ast and
efficient as you can get!  As a matter of fact, from what littleI know, long
integers, in some cases, may be even as good or better than short ones..

ET> Concerning cross-compability at source code level:
ET> only use documented standard elements which behave the
ET> same with all compilers on all platforms (but I think
ET> you already know that).

Oh yes...  I'm horribly trying to keep the portability issue in front of me at
all times, but learning is expensive... ;)

Mike @ 117/3001

--- Maximus/2 3.01
* Origin: Ziplog Public Port (1:117/3001)