Re: XForms: strcmp

From: Clive A Stubbings (
Date: Thu Nov 23 2000 - 17:17:12 EST

  • Next message: Steve Lamont: "Re: XForms: signal callback blocked by shortcut"

    # To subscribers of the xforms list from Clive A Stubbings <> :


    > # To subscribers of the xforms list from joel <> :
    > 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 ;-)

    To unsubscribe, send the message "unsubscribe" to or see
    XForms Home Page:
    List Archive:

    This archive was generated by hypermail 2b29 : Thu Nov 23 2000 - 17:21:28 EST