# To subscribers of the xforms list from Steve Lamont <firstname.lastname@example.org> :
> > How about
> > if (*string == '\0')....
> No, this won't work either. Don't confuse address with the
> actual characters. What that x_form function returns is that the
> _adrress_ of the object is null. Here u are comparing that, the
> actual character pointed to by the address is nulbyte. So these are
> 2 different things.
Well, if the original poster was to be believed, the intent was to
determine whether the string was empty (""). This is the equivalent
string == '\0'
*string == '\0'
This is definitely different than
string == NULL
To unsubscribe, send the message "unsubscribe" to
email@example.com or see
XForms Home Page: http://world.std.com/~xforms
List Archive: http://bob.usuhs.mil/mailserv/list-archives/
This archive was generated by hypermail 2b29 : Thu Nov 23 2000 - 18:51:36 EST