PC-DMIS 2021.1 Object Library
SetArgumentExpression Method
See Also  Send Topic Feedback | See Object Hierarchy Chart
Position
Required Long that indicates the number of the argument value to set.
Expression
Required String that indicates the argument value to set.
PCDLRN ActiveX DLL > FlowControlCmd Object : SetArgumentExpression Method

Glossary Item Box

Description

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

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