Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This

...

function

...

uses

...

comparison

...

as

...

xpxLike

...

comparing

...

aggregate

...

elements

 

Code Block
 
FUNCTION xpfAggrLike (aggrId            : GENERIC;
                      attributeName     : STRING;
                      pattern           : STRING;
                      options           : INTEGER)
                      matchingInstances : SET OF GENERIC;
options:
	XPXCASE_INSENSITIVE 								: Case insensitive comparison	
	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;