I downloaded the example from the database here: https://emt-tools.com/#example-1
I want to modify the example to include an output integer. I am basically just copying the real output to add an integer output. When I did that, I got this build error message in PSCAD:

Here is the code I modified from the example:
subroutine mySub(MyReal, MyInt, MyName, MyRealOut)
implicit none
real, intent(in) :: MyReal ! Used in some dummy math below, just as an example
integer, intent(in) :: MyInt ! Not used, but it is here as an example
character(len=*), intent(in) :: MyName ! Not used, but it is here as an example
real, intent(out) :: MyRealOut ! Output some variable back to PSCAD
! Some math ... doesn't matter
MyRealOut = 2.0 * MyReal
MyIntOut = 2 * MyInt
end subroutine
Thanks for the help.