Point.ReadOnly (property, read)

Syntax

Point.ReadOnly

Description

Boolean. To determine if the point is read only.

Example

sub main()

   Dim MyPoint as new Point   ' Declare the point object

   MyPoint.Id ="TANK_LEVEL"  ' Set the Id

   if MyPoint.ReadOnly then   ' Is the point read-only?

      MsgBox "Point cannot be set, point is read-only"

   else

      MyPoint.SetValue = 10   ' Set the value and write to CIMPLICITY.

   end if

end sub

More information

CIMPLICITY Extensions to Basic