* * *

Author Topic: 13 month data array  (Read 712 times)

Griphon

  • Newbie
  • Posts: 1
13 month data array
« on: January 12, 2018, 08:31:26 am »
Good Day,

I have been faced with a bit problem, I currently have a report that has been written in Pascal and need to make 1 change to it. I currently have a report that displays 12 months of data, and I have been asked to add a 13th month. For example, we are now in January! I need to display data from Jan2018, Feb2017, Mar2017, April2017, May2017, Jun2017, Jul2017, Aug2017, Sep2017, Oct2017, Nov2017, Dec2017 and then Jan2017.


Please could someone mail me or reply to this post if you feel you could assist with this issue,  then I can send or post the code, I am not that strong on this level of Pascal development when it comes to arrays and header arrays. PLEASE HELP  ::)

mangakissa

  • Hero Member
  • *****
  • Posts: 785
Re: 13 month data array
« Reply #1 on: January 12, 2018, 08:49:15 am »
As you said it's an issue with using the array correctly. If there's a procedure to fill the data in an array element, it should be easy to expand. I little bit of code would be advisable because now it's only guessing.
Quote
I am not that strong on this level of Pascal development when it comes to arrays and header arrays. PLEASE HELP
On which level are you now? Arrays is a thing to learn in the early stage.
Lazarus 1.64 (32b) / FPC 3.0
Windows 10

 

Recent

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