Point.SetElement (method)

Syntax

Point.SetElement index, [download password]

Description

To write a single element of the point to the Point Manager.

Comments

Parameter

Description

 

Index

Integer. The index of the element to write.

 

download password

String. (optional) download password

Example

'Set only the third element of an array

Sub main()     

Dim MyPoint As New Point    'Declare the point object

MyPoint.Id = "INT_ARRAY"  

MyPoint.Value(3) = 10       'Assign the value of the third element

MyPoint.SetElement 3         'Write only the third element

End Sub  

More information

CIMPLICITY Extensions to Basic