Recent

Author Topic: Tab Delimited Report  (Read 2473 times)

cpicanco

  • Hero Member
  • *****
  • Posts: 618
  • Behavioral Scientist and Programmer
    • 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 »
Be mindful and excellent with each other.
https://github.com/cpicanco/

cpicanco

  • Hero Member
  • *****
  • Posts: 618
  • Behavioral Scientist and Programmer
    • Portfolio
Re: Tab Delimited Report
« Reply #1 on: July 16, 2017, 10:27:54 pm »
Hi, now an example project with a use case.
Be mindful and excellent with each other.
https://github.com/cpicanco/

cpicanco

  • Hero Member
  • *****
  • Posts: 618
  • Behavioral Scientist and Programmer
    • Portfolio
Re: Tab Delimited Report
« Reply #2 on: July 20, 2017, 05:14:19 pm »
Be mindful and excellent with each other.
https://github.com/cpicanco/

 

TinyPortal © 2005-2018