basic/doc/statements/data.rs
1/*!
2# `DATA <literal>[,<literal>...]`
3
4## Purpose
5`DATA` defines a list of constants to be read in sequentially.
6
7## Remarks
8The `READ` statement will load the next data into a variable.
9An `OUT OF DATA` error will occur when reading past the end.
10Some versions of BASIC allow simple strings without quotes;
1164K BASIC requires quotes.
12
13## Example
14```text
1510 READ A$,A%
1620 PRINT A$;A%
1730 DATA "NUGGET",3
18RUN
19NUGGET 3
20```
21
22*/