Richard Russell wrote:address_of_variable = ^variable
OK. If contiguity of the fixed-position integers really really
matters, plan B is to lay them out such that all the 32-bit low words are packed together first, followed by all the 32-bit high words packed together.
Not in any variant of 6502 BASIC that I am aware of however, if you are still living in the stone age.
Personally, having used BASIC on the Beeb and gradually drifted to C on the Archimedes, for the past twenty years I've been using C++ and Python under Windows and Linux (with the occasional deviation into other OSes and bare metal). Stardot is an Acorn forum, and Acorn died 17 years ago, so I think it's to be expected that anyone here is indeed living in, as you put it, the stone age!
This also means it's more reasonable for me to focus on backwards compatability with 35-year-old language versions than it would be in most contexts.
So far as I'm aware there's still no record/structure support in BBC BASIC.
I think your 'awareness' needs some revising then! Structures
have been in 'my' BASICs for at least 15 years.
OK. I missed that, because it's hidden in DIM and I looked for it by skimming the list of keywords. At first glance, there's no way to coerce an area of memory into being treated as a structure, though? So you couldn't use structures to pick apart data read from files or returned by foreign language API calls?