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 »

http://edmserver.epmtech.jotne.com/EDMAssist2/desktop/Volume_VI__EDMexpressX_Language/Language_Reference/EDMexpressX_built-in_Operations/xpf-Functions/xpfStringToEnumeration.htm

represent the following description: xpfStringToEnumeration (modelId: GENERIC; aString: STRING)  enumeration : GENERIC;

with explanation: To be completed (smile)... The xpfStringToEnumeration function converts the specified string to an aggregate

Actually xpfStringToEnumeration (1) does not convert a string to an aggregate, but returns enumeration element value and (2) expects not id of target model, but id of target enumeration, that could be received e.g. in call to xpfGetDefinedType, like the following:

enum_id := xpfGetDefinedType(XPXTARGETMODELID, enum_name);
enum_element := xpfStringToEnumeration(enum_id, enum_element_name); 


  • No labels