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 Current »

This function is equivalent to the EDMinterfaceTM function edmiLike.
 
FUNCTION xpxLike (aString  : STRING;
                  pattern  : STRING;
                  options  : INTEGER)
                  matching : BOOLEAN;

The xpxLike function implements an extended version of the LIKE operation in the Express language as defined in 
section 12.2.5 in ISO 10303-11:1994(E) : The EXPRESS Language Reference Manual. The extension is that optionally 
the operation can do case insensitive comparison, by specifying the constant XPXCASE_INSENSITIVE in the option 
parameter. Default operation is case sensitive matching, i.e., option = 0.

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.

 

 

  • No labels