Type mismatch on Date

Post your questions, bug reports and suggestions here for BasicMaker 2018 for Windows.

Moderator: SoftMaker Team

Post Reply
enonod
Posts: 24
Joined: Tue Nov 08, 2016 1:54 pm

Type mismatch on Date

Post by enonod » Tue Dec 03, 2019 1:10 pm

Can somebody please say why this (from the Help File)...

Sub Main
MsgBox "Today is " & Date & "."
End Sub

...fails with 'Type mismatch.

Thank you

Valeri Vlassov
SoftMaker Team
SoftMaker Team
Posts: 3
Joined: Mon Dec 30, 2019 4:01 pm

Re: Type mismatch on Date

Post by Valeri Vlassov » Mon Dec 30, 2019 4:05 pm

It works well for me:

Sub Main
MsgBox "Today is " & Date & "."
End Sub

please try simply:
MsgBox Date

does it work?

Post Reply

Return to “BasicMaker 2018 for Windows”