IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 25103


Ignore:
Timestamp:
Aug 18, 2009, 6:22:15 AM (17 years ago)
Author:
eugene
Message:

allow subset to use WHERE for IF

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/20090715/Ohana/src/opihi/cmd.data/subset.c

    r20936 r25103  
    1212  ivec = ovec = tvec = NULL;
    1313
    14   if ((argc < 6) || strcmp(argv[2], "=") || strcmp (argv[4], "if")) {
     14  if ((argc < 6) || strcmp(argv[2], "=") || !(!strcmp (argv[4], "if") && !strcmp (argv[4], "where")) {
    1515    gprint (GP_ERR, "SYNTAX: subset vec = vec if (logic expression)\n");
    1616    return (FALSE);
Note: See TracChangeset for help on using the changeset viewer.