* * *

Author Topic: Tab Delimited Report  (Read 696 times)

cpicanco

  • Sr. Member
  • ****
  • Posts: 411
    • My Portfolio
Tab Delimited Report
« on: July 16, 2017, 02:52:20 am »
Hi, everyone. The report_abstract.pas unit implements  the basic functionality of what I am calling a "tab delimited report". The point is that descendents (like the one implemented in report_custom.pas) must override some procedures, must use basic types as arguments, but don't need to do any convertion (IntToStr, FloatToStr) and don't need to care about the order and number of the arguments when reintroducing the AddLine procedure. What do you think about the approach (files attached)?

Obs.: The WriteLine procedure uses variants. The documentation said that variants are slower than the correspondent basic types. I am not sure how slow though.
« Last Edit: July 16, 2017, 04:23:12 am by cpicanco »

cpicanco

  • Sr. Member
  • ****
  • Posts: 411
    • My Portfolio
Re: Tab Delimited Report
« Reply #1 on: July 16, 2017, 10:27:54 pm »
Hi, now an example project with a use case.

cpicanco

  • Sr. Member
  • ****
  • Posts: 411
    • My Portfolio
Re: Tab Delimited Report
« Reply #2 on: July 20, 2017, 05:14:19 pm »

 

Recent

Get Lazarus at SourceForge.net. Fast, secure and Free Open Source software downloads Open Hub project report for Lazarus