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

Collapse All Expand All

Position
  Required Long that indicates which argument to remove. This argument should be between one and FlowControlCmd.NumArguments.

# Description

Removes argument

This function removes an argument from an object of type CALL_SUBROUTINE or START_SUBROUTINE. It returns TRUE if an argument is removed successfully, FALSE otherwise.

# Syntax

Visual Basic

    Public Function RemoveArgument( _
       ByVal Position As Long _
    ) As Boolean

# Parameters

Position
  Required Long that indicates which argument to remove. This argument should be between one and FlowControlCmd.NumArguments.

# Return Type

Boolean value. Boolean returns true if the function succeeds, false if it fails.

# Remarks

This function has an effect only on objects of type CALL_SUBROUTINE and START_SUBROUTINE. It has no effect on objects of other types. If used on other types it returns FALSE even if nothing is being done.

# See Also

FlowControlCmd Object | Type Property | NumArguments Property

© Wilcox Associates, Inc. All Rights Reserved.

© 2010 All Rights Reserved.