xpfSizeOf vs EXISTS
Posted: Tue Aug 27, 2019 9:38 am
Function xpfSizeOf was introduces quite long time ago.
Before standard EXISTS function was used.
According to standard EXISTS requires input value to be NOT empty.
Before EXISTS was used in the following way
Condition from above can be simplified by using xpfSizeOf
Before standard EXISTS function was used.
According to standard EXISTS requires input value to be NOT empty.
Before EXISTS was used in the following way
Code: Select all
doc_rel_list := get_representing_product_relationship('urn:plcs:rdl:missing-std:Document_dependency_relationship', relating_doc.doc, related_doc.doc);
IF EXISTS(doc_rel_list) AND (EXISTS(doc_rel_list) > 0) THEN
...Code: Select all
IF xpfSizeOf(doc_rel_list) > 0 THEN
...