-->
Page 1 of 1

Can I read a multi-item data file into an array?

PostPosted: Thu Aug 04, 2016 1:47 pm
by bugs
I would like a string array of about 40 items.
Each item would be a hex string e.g "5EA1A857".
But I would also need to change the whole 40 items at once at the click of a button.

The simplest way (for me) would be to create two comma separated data files in visual basic or excel then have BASIC read a specified file into the single array.
Looking at the documentation on the 'read' command it seems to just read a single named item from somewhere.
Is there a way to read multiple values into an array?