例: IsNumberAttribParens property (NotesViewColumn - LotusScript®)

次のエージェントは、数値列の負数へのカッコの設定を切り替えます。

Sub Initialize
  Dim session As New NotesSession
  Dim db As NotesDatabase
  Dim view As NotesView
  Dim vc As NotesViewColumn
  Dim f As String
  Set db = session.CurrentDatabase
  Set view = db.GetView("View A")
  Set vc = view.Columns(1)
  vc.IsNumberAttribParens = NOT vc.IsNumberAttribParens
End Sub