Once I get a Pointer to a field, I can access its text. What I'd like to do
is to check if its contents matchanoter variable. My problem is that the
text property, is declared as char *. , but the *other* variable is declared
as char [15].

In other words, I'd like to do this:

char search[15];

search[0] = 's'
search[1] = 'e'
search[2] = 'a'
search[3] = '\0'

if (fieldP->text == search)
{
    ....
}

How can I do this? How can I check if a char* and a char[ ] have equal
values?

Thanks in advance,

Nicolas Zeitlin



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

Reply via email to