Recent

Author Topic: Record type file doesn't print integer data properly  (Read 7628 times)

Zilveztre

  • New member
  • *
  • Posts: 7
Re: Record type file doesn't print integer data properly
« Reply #15 on: November 24, 2014, 01:22:09 pm »
Problem fixed and progmar working! Many thanks to all!  :)

eny

  • Hero Member
  • *****
  • Posts: 1588
Re: Record type file doesn't print integer data properly
« Reply #16 on: November 24, 2014, 01:30:26 pm »
Problem fixed and progmar working! Many thanks to all!  :)
Now we are all curious as to what was the problem  :D
All posts based on: Win10 (Win64); Lazarus 1.8.0 'stable' (#56594 win64) unless specified otherwise...

Zilveztre

  • New member
  • *
  • Posts: 7
Re: Record type file doesn't print integer data properly
« Reply #17 on: November 25, 2014, 03:15:26 am »
Lol, well... for starters the parameters order on some procedures were wrong and the procedure insertaReg was not inserting the record at all, so that's why it was printing garbage on the cmd. So the fix basically was on those parameters and reviewing insertaReg until it worked properly.
After that it was all about tweaking a bit the code so it'd print the results the way we wanted and that's all!  :)

The hint that helped was the one about insertaReg only moving the records and not writing anything. With that we came to realize a lot that finally ended up making our code to work  :P

So, again... thanks a lot!  :D