RemoveArgument Method
Description
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