我想编写一个函数,如果距离给定的日期已经过去了6个月,则返回True (所以,我是在7个月的第一天)。Function PassedSixMonthsSince(Dim dGivenDate as Date, Dim dCurrentDate as Date) as BooleanDebug.Assert PassedSixMonthsSince("2000-01-01","2000-07-01")=True
Debug.Assert Passe
我声明了一个仅调试函数Private Function DEBUG_Check() As Boolean If (checksOK) Return True Else Return False#End IfDebug.Assert(DEBUG_Check())
我得到一个编译错误"DEBUG_Check没有声明“我以为对