Of course, you were correct.

Allocating one byte each to "try1" and "try2", then casting the result as a
"char" pointer in the comparison function permits me to accomplish the goal.
Somehow I was under the impression that the "C" compiler built a facility
into the code that it generates that would allocate memory for each "char"
variable based upon the size of the array that is eventually assigned to the
variable on a dynamic basis (perhaps some thinking left over from "variant"
types under Visual Basic).  I appreciate the help transitioning to "C".

Thank you.


-- 
For information on using the PalmSource Developer Forums, or to unsubscribe, 
please see http://www.palmos.com/dev/support/forums/

Reply via email to