# To subscribers of the xforms list from Clive A Stubbings <xforms@vjet.demon.co.uk> :
Hmm...
> # To subscribers of the xforms list from joel <joel@dabbles-n-doodads.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')....
which is probably 10 times faster ;-)
Cheers
Clive
_________________________________________________
To unsubscribe, send the message "unsubscribe" to
xforms-request@bob.usuhs.mil 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 - 17:21:28 EST