Background
Many BASIC dialects idiomatically use DATA
and READ
commands to store and read input data from the source code. We appear to have a consensus that this form of input is valid in these languages, however we have not formed a consensus on how to score solutions that use this approach.
The Question
Given a snippet of the form shown below, how should it be scored?
Yabasic, ??? bytes
DATA 2
DATA 3
DIM primes(4)
FOR i = 1 TO 4
READ primes(i)
PRINT primes(i)
NEXT
DATA 5
DATA 7