Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

 Enhancement of comparison functions

The following functions will be enhanced with the options (TODO what are the old options?)

xpxIGNORE_ALL_PATTERN_MATCHING_CHARS                                :  All defined pattern matching characters will be treated as ordinary (not pattern matching) characters
xpxIGNORE_ALL_PATTERN_MATCHING_CHARS_EXCEPT_STAR  :  Only the star "*" will be a pattern matching character, all other characters will be normal (not pattern matching) characters.

FUNCTION xpfLike (aString  : STRING;
                  pattern  : STRING;
                  options  : INTEGER)
                  matching : BOOLEAN;

FUNCTION xpxLike (aString  : STRING;
                  pattern  : STRING;
                  options  : INTEGER)
                  matching : BOOLEAN;
                                          

FUNCTION xpfAggrLike (aggrId            : GENERIC;
                      attributeName     : STRING;
                      pattern           : STRING;
                      options           : INTEGER)
                      matchingInstances : SET OF GENERIC;

FUNCTION xpfAggrLikeEx (aggrIdOrModelId               : GENERIC;
                        enityIdOrEntityName           : GENERIC;
                        attributeName                 : STRING;
                        pattern                       : STRING;
                        options                       : INTEGER;
                        VAR numberOfMatchingInstances : INTEGER)
                        matchingInstanceOrInstances   : GENERIC;

 

 

  • No labels