Menu

#77 Directive SUPPORT_ROUNDTO wasn't included with D2010

Win32_only
open
nobody
None
1
2015-10-15
2015-09-01
No

I don't know when exactly was introduced RoundTo with two arguments.
But it exists in Delphi 7.

So
{$ifdef Delphi_2010}
{$define SUPPORT_ROUNDTO} // RoundTo was included with 2010 it seems
{$endif}

should be changed to

{$ifdef Delphi_7}
{$define SUPPORT_ROUNDTO}
{$endif}

1 Attachments

Discussion

  • Jakub Moycho

    Jakub Moycho - 2015-09-01

    Of course, not the directive SUPPORT_ROUNDTO wasn't included with D2010.
    The RoundTo function wasn't included with D2010 but earlier.

     
  • LS Ploeger

    LS Ploeger - 2015-10-15

    I modified dbf_common.inc to define SUPPORT_ROUNDTO since Delphi 7.

     

Log in to post a comment.