![]() Session Class Inputs (Parameters and Environ) |
![]() DEVELOPER |
![]() |
The Session inputs (Parameters and Environ) settings can be set either of two ways.
One is to set the ParamList and ParamListCount (EnvList and EnvListCount) values directly.
The other is to use the Param (VarName, VarValue) (Env(VarName, VarValue) methods. If this second method is used, there is no need to set the ParamList or ParamListCount (EnvList, EnvListCount) properties.
The following example expands on the second method:
m_Session.ParamList = "Var1=data1,Var2=data2"
m_Session.ParamListCount = 2
or
m_Session.Param(“Var1?) = "data1"
m_Session.Param(“Var2?) = "data2";
This style is also available on the OutputParameters. The output parameters can be retrieved (using VB) as follows, assuming the output parameters are ("outParm1=Outval1")
MyParamList = m_Session.ParamList
MyParamList will have value "outParm1=OutVal1" or P1$ = m_Session.ParamOut("outParm1")
P1$ will have value "Outval1"
Topic ID: 540138