Send Topic Feedback | See Object Hierarchy Chart
PC-DMIS 2022.2 Object Library
PCDLRN ActiveX DLL > FlowControlCmd Object : SetArgumentExpression Method
Required Long that indicates the number of the argument value to set.
Required String that indicates the argument value to set.
SetArgumentExpression Method
Description
This function sets the value or default value of an argument of an object of type CALL_SUBROUTINE or START_SUBROUTINE, respectively. It does nothing and returns FALSE if the object is not one of these types.
Syntax
Visual Basic
Public Function SetArgumentExpression( _
   ByVal Position As Long, _
   ByVal Expression As String _
) As Boolean
Parameters
Position
Required Long that indicates the number of the argument value to set.
Expression
Required String that indicates the argument value to set.
Return Type
Boolean value. Boolean returns true if the function succeeds, false if it fails.
See Also