Clive A Stubbings wrote:
> # To subscribers of the xforms list from Clive A Stubbings <firstname.lastname@example.org> :
> > # To subscribers of the xforms list from joel <email@example.com> :
> > Actually, I'm looking for an empty string not if a pointer is null. So,
> > strcmp(string,"") works fine. I'm not sure why NULL works under
> No wonder we all need GHz CPUs these days...
> 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
> which is probably 10 times faster ;-)
> To unsubscribe, send the message "unsubscribe" to
> firstname.lastname@example.org or see
> XForms Home Page: http://world.std.com/~xforms
> List Archive: http://bob.usuhs.mil/mailserv/list-archives/
-- --rob "The only way to lead a good life is to act on your emotions" -- yuy
_________________________________________________ To unsubscribe, send the message "unsubscribe" to email@example.com or see http://bob.usuhs.mil/mailserv/xforms.html 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:08:22 EST