On Mon, Nov 27, 2017 at 06:08:46PM +0000, John Williams wrote: > An genuine real-life number would be better!
>From memory, they are dynamically allocated as needed and can be of arbitrary length. This is a lot more efficient than using statically-sized buffers for the worst common case, especially in a piece of software that might be storing information on tens of thousands of URLs (Everything in your history, the links to all the resources on every page you have open, etc). My advice is firstly to either measure and then allocate, or read in the data and reallocate as needed dynamically. Secondly, use a different language; BBC Basic really isn't good for this sort of thing :) (If using a modern interpreted language like Lua, Python, or even Perl, asking this question would never have occurred to you.) B.