Skip to content

Error using READ with no DATA #900

@boriel

Description

@boriel

What / Why

The following program:

DIM a As UByte

READ a

gives the error

read.bas:71: error: Undefined GLOBAL label '.DATA.__DATA__0'
  1. The line number is wrong
  2. This is not an elegant error. Simply it should not compile saying there is no DATA to read

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions