Not as such, no. The incomplete
MAT statement will let you set a constant value (but won't work in other versions of BBC BASIC).
Instead of assigning elements individually (
AX(0)=0:AX(1)=1:...) you can use
DATA and
READ:
Code:
10 DIM AX(4):FORI%=0TO4:READAX(I%):NEXT
20 DATA 1,2,3,4,5
Alternatively, if there's enough data (eg level data), consider using an external data file and reading it using the file I/O routines.
I've run out of ROM space for BBC BASIC (down to around 20 bytes!) so have had to put new features on hold.
