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.
Visual Basic |
---|
Public Function RemoveArgument( _ ByVal Position As Long _ ) As Boolean |
- Position
- Required Long that indicates which argument to remove. This argument should be between one and FlowControlCmd.NumArguments.
Boolean value. Boolean returns true if the function succeeds, false if it fails.
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.