Recent

Author Topic: Does Anybody Knows the Status of FmtBCD.pp Unit and How To Use It?  (Read 5154 times)

garlar27

  • Hero Member
  • *****
  • Posts: 652
Hi,

   I'm searching for an implementation of BCD numbers and found this on the wiki http://wiki.freepascal.org/BcdUnit, also I found the unit FmtBCD (/usr/share/fpcsrc/2.2.4/rtl/objpas/fmtbcd.pp) but I didn't find any reference in this link: http://lazarus-ccr.sourceforge.net/docs/rtl/index.html.

   Also I found SysUtils.BCDToInt (http://lazarus-ccr.sourceforge.net/docs/rtl/sysutils/bcdtoint.html) and couldn't find a IntToBCD. Does anybody knows why?

   Did anybody has used the unit FmtBCD?
   Is there a tutorial or examples of BCD data?

marcov

  • Administrator
  • Hero Member
  • *
  • Posts: 12269
  • FPC developer.
Re: Does Anybody Knows the Status of FmtBCD.pp Unit and How To Use It?
« Reply #1 on: December 20, 2010, 09:53:09 pm »
Afaik BCD status is slowly improving to become more Delphi compatible. Try a recent snapshot :)

garlar27

  • Hero Member
  • *****
  • Posts: 652
Re: Does Anybody Knows the Status of FmtBCD.pp Unit and How To Use It?
« Reply #2 on: December 21, 2010, 12:43:46 pm »
Thank you Marcov!

So you say that I should try to find info about them in Delphi forums?

marcov

  • Administrator
  • Hero Member
  • *
  • Posts: 12269
  • FPC developer.
Re: Does Anybody Knows the Status of FmtBCD.pp Unit and How To Use It?
« Reply #3 on: December 21, 2010, 04:30:37 pm »

So you say that I should try to find info about them in Delphi forums?

Or books or websites. And then try again with a development FPC version.

 

TinyPortal © 2005-2018