PC-DMIS 2021.2 Object Library
RemoveArgument Method
See Also  Send Topic Feedback | See Object Hierarchy Chart
Position
Required Long that indicates which argument to remove. This argument should be between one and FlowControlCmd.NumArguments.
PCDLRN ActiveX DLL > FlowControlCmd Object : RemoveArgument Method

Glossary Item Box

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

Copyright © 2021. Hexagon Manufacturing Intelligence – Metrology Software, Inc. All Rights Reserved.