Changeset 10141


Ignore:
Timestamp:
2005-06-17T10:50:27+12:00 (19 years ago)
Author:
kjdon
Message:

added sw (starts with) and ew (ends with) operators from _If_ macros

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/lib/display.cpp

    r9950 r10141  
    14501450    else if (op == "<") result2 = (expstring1.getint() < expstring2.getint());
    14511451    else if (op == "<=") result2 = (expstring1.getint() <= expstring2.getint());
     1452    else if (op == "sw") result2 = (starts_with(expstring1,expstring2));
     1453    else if (op == "ew") result2 = (ends_with(expstring1,expstring2));
    14521454
    14531455    // combine the results
Note: See TracChangeset for help on using the changeset viewer.