这里是LotusScript的新手,所以请保持温和;)
为什么此代码会向我显示错误Unexpected: .; Expected: End-of-statement
?
Dim curDate As New NotesDateTime(Today)
Dim test
Set test = Day(curDate).DateOnly ' <- causes the error
感谢您的帮助。
答案 0 :(得分:1)
你必须写
Set test = Day(curDate.DateOnly)
因为DateOnly
是curDate的属性。