Skip to content

Editor adds number sequence when line contains a 206 (DEFFN) code #4

Closed
@lippmaje

Description

@lippmaje

The editor adds a number sequence (#14 plus 5 more bytes) in front of a comma whenever the source code contains the number 206. It also happens when the line number itself is made up from a 206 (lowbyte). See the sample below. Saving this sample and reloading it causes the unwanted number sequence(s) to reappear.

   5 REM False number bytes after a 206 data field.
   6 REM Does not happen with 205 or other numbers.
  10 DATA 206: REM a,b,c
  20 DATA 205: REM a,b,c
  30 DATA 206: REM a,
  40 DATA 206: REM ,b
  50 DATA 206: DATA "z,x",z,x: REM z,x
  60 DATA 207: DATA "z,","x,","z,x"
8900 REM Also happens if line nr contains 206, like
8901 REM with 8910 which is 34*256 + 206
8909 DATA "z,x"
8910 DATA "z,z,x"
8911 DATA "z,x"
9998 REM The number bytes prefix all commas of that line.
9999 REM If removed, they reappear after reload.

issue_206

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions