PC-Dmis 2010 MR2 Object Library | Send comments on this topic. | See Object Hierarchy Chart
SetArgumentExpression Method
See Also

Collapse All Expand All

Position
  Required Long that indicates the number of the argument value to set.

Expression
  Required String that indicates the argument value to set.

# Description

Sets expression text of specified argument 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

FlowControlCmd Object | Type Property

© Wilcox Associates, Inc. All Rights Reserved.

© 2010 All Rights Reserved.