EDB Question
- Posted by tbohon Nov 30, 2015
- 1231 views
Trying to count and display number of records in a simple EDB file. Pretty sure I have the logic correct below but when it prints it shows a graphics character rather than a number so I'm missing something ... and it's driving me nuts!
Any help you can provide is most appreciated.
Thanks.
Tom
procedure show_count(file_number f) atom rcount rcount = 0 for rec = 1 to db_table_size() do rcount = rcount + 1 end for puts(f, "\n\nRecord count: " & rcount & "\n\n") end procedure