例: IsNewNote property (NotesDocument - LotusScript®)

次のスクリプトはメッセージを表示します。

Dim doc As NotesDocument
'...set value of doc...
If doc.IsNewNote Then
  Messagebox( "This document has not been saved. It's new." )
Else
  Messagebox( "This document has been saved. It's not new." )
End If