Hello,
Is there a way to define an input argument via model edting?
I know I can create a procedure and define the body e.g.:
{ _eProc := me::Create(_spProcName, 'procedure', _eSection);
me::SetAttribute(_eProc, 'body', _spBody);
}
Hello,
Is there a way to define an input argument via model edting?
I know I can create a procedure and define the body e.g.:
{ _eProc := me::Create(_spProcName, 'procedure', _eSection);
me::SetAttribute(_eProc, 'body', _spBody);
}
Hi Marc,
If I remember well, I think you can’t do this directly. I thought you can create a run time parameter and then move that node under the created run time procedure as a ‘trick’ to accomplish this effect. Also thought this was in a how-to somewhere. See me::Move() function.
Joost
Thanks Joost, Chris
One note by doing so I found that on https://documentation.aimms.com/language-reference/non-procedural-language-components/set-declaration/set-declaration-and-attributes.html there is a typo.
I wanted to set a subset but the attribute name is ‘subset of’ with a space. (not SubsetOf)
Cheers
Already have an account? Login
Please use your business or academic e-mail address to register
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.
Didn't find what you were looking for? Try searching on our documentation pages: