Changeset 7266 for trunk


Ignore:
Timestamp:
2004-05-03T15:56:36+12:00 (20 years ago)
Author:
kjdon
Message:

If and Or in format statements now match IF, If, if, OR, Or, or

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/src/recpt/formattools.cpp

    r6710 r7266  
    692692  else here ++;
    693693
    694   if (com == "If") formatlistptr->command = comIf;
    695   else if (com == "Or") formatlistptr->command = comOr;
     694  if (com == "If" || com == "if" || com == "IF") formatlistptr->command = comIf;
     695  else if (com == "Or" || com == "or" || com == "OR") formatlistptr->command = comOr;
    696696  else return false;
    697697
Note: See TracChangeset for help on using the changeset viewer.