appledev at ryandary dot com wrote:
> I got this error: Type mismatch error on the following line while compiling:
>
> if d.TotalSeconds > (new Date).TotalSeconds then
>
> any ideas? "d" is a Date object.
This is a bit of syntax which was unfortunately omitted from the new
compiler, and not discovered until it was too late to include it for 5.0. It
should work if you take off the parentheses:
If d.TotalSeconds > New Date.TotalSeconds Then
> Should I submit this as a bug?
Certainly, if you'd like us to revisit the issue in a future version of RB.
Mars Saxman
REAL Software
---
A searchable archive of this list is available at:
<http://support.realsoftware.com/KBDB/search.php>
Unsubscribe:
<mailto:realbasic-betas-off at lists dot realsoftware dot com>
Subscribe to the digest:
<mailto:realbasic-betas-digest at lists dot realsoftware dot com>
.
|