Skip to content

Populating an arrays of string causes program to crash  #39

Description

@econtrerasd

Version:
KERNEL: v0.4.0-alpha+333 (2021-08-07)
BASIC VERSION: BASIC816 v0.2.0-alpha+411
HARDWARE: Foenix U

Description:
When you try to assign multiple values to an array of String in BASIC the program crashes and takes you to the MONITOR prompt (PROGRAM COUNTER: 1A67B5)

You can use the following code to demonstrate the issue:

Code:

5 DIM N$(10)
10 FOR C%=1 TO 10
20 READ M$
30 N$(C%)=M$
40 NEXT
50 END
1000 DATA "C","C#","D","D#","E","F","F#","G","G#","A","A#","B"

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions