r/Basic • u/CharlieJV13 • Feb 15 '23
BAM Update: For one dimension arrays: 🆕 Array initialisation 🆕 Constant Arrays
https://basicanywheremachine-news.blogspot.com/2023/02/for-one-dimension-arrays-array.html
3
Upvotes
View all comments
Show parent comment
2
u/CharlieJV13 Feb 15 '23
Oops, I meant I'm having a hard time picturing the value in the initialisation of a multi-dimensional array using this kind of syntax.
Use cases for multi-dimensional arrays, I've been at this for way too long to not get that.
That aside, I don't think the javascript would be any faster with a different implementation. To setup the constants differently would totally gum up the works with really useless complexity and overhead. And likely slow things down.
You'll have to go investigate wwwBASIC.js and see if you think differently.