What I was trying to avoid with my idea of first scanning the whole file and counting how many entries are there, was the potential to overflow the DIM if it hadn't been made big enough to hold all the contents needed. (This is in fact what my HTML generator does, although it uses BGET# and BPUT# rather than PRINT# and INPUT#, scanning the file to work out how many captions are in the set, using number that to sort out memory allocations, then rewinding to 0 and starting the actual work).
400 should be plenty though, that's well over a year's worth if one entry a day is added, as envisaged.
400 should be plenty though, that's well over a year's worth if one entry a day is added, as envisaged.
Statistics: Posted by BeebMaster — Sat Nov 16, 2024 11:02 am