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

« Previous Version 2 Next »

This function uses comparison as xpxLike comparing aggregate elements

 

 
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;

 

 

  • No labels