Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How can I make a call to a Plex function defined in a Local Model that is not a referenced library in the current Local Model?

0
Posted

How can I make a call to a Plex function defined in a Local Model that is not a referenced library in the current Local Model?

0

Solution: Suppose we have a function in model A (Function A). We want to call this function from Local Model B but Local Model A IS NOT a referenced library thus Function A is not accessible in the current Local Model B (Function A will not show up in the Object Browser). Define a function (Function B) in Local Model B with the exact File Name, Implementation Name, Language SYS, type SYS as Function A. Set Impl SYS = NO. Define any Input/Output Dual fields in Function A in the exact same way in Function B (input FLD, dual FLD, output FLD). The implementation names of the fields in Local Model B DO NOT HAVE to match the ones in Local Model A. Enter the appropriate continuation triples to assign the I/O fields to the same Variable names as Function A (…for VAR). Note: It is important that Function B’s I/O Groups and Variables are in the exact same order as the ones in Function A as if differences occur, Function B will be called but the mapping for the fields will be incorrect producin

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123