11-14-2017, 09:53 AM
(This post was last modified: 11-14-2017, 09:54 AM by Dean Roddey.)
You can't set the variable in the macro. That's an action level this. Instead, change Start() to be like this:
If you pass GVar:TransitVanOutsideTemp as the parameter when you invoke the macro via MacroEng::RunMacro(), it will become the storage behind the MyValue parameter. So, when you set MyValue in the macro, you are actually setting the macro and it so it will have that set value upon return from the macro back to the action level.
In the CML section of the help there is a language reference and a class library reference. The language reference section describes the language itself.
I will continue to try to find the time to have my help compiler generate an overall help index page, but haven't been able to yet. I did it for drivers, but not an overall index.
Code:
Method Start([Out] String MyValue) Returns Int4
Begin
....
MyValue := MyParmStrArray[1];
EndMethod;
If you pass GVar:TransitVanOutsideTemp as the parameter when you invoke the macro via MacroEng::RunMacro(), it will become the storage behind the MyValue parameter. So, when you set MyValue in the macro, you are actually setting the macro and it so it will have that set value upon return from the macro back to the action level.
In the CML section of the help there is a language reference and a class library reference. The language reference section describes the language itself.
I will continue to try to find the time to have my help compiler generate an overall help index page, but haven't been able to yet. I did it for drivers, but not an overall index.
Dean Roddey
Explorans limites defectum
Explorans limites defectum