Skip to content

SCREEN(x,y) reported character value of empties such as chr$(255) differs by video mode #195

Description

@robhagemans

Third character of Ok prompt should not always be chr$(255)

Problem
PC_BASIC's prompt is always "Ok"+chr$(255). In GW-BASIC, this is the case in SCREEN 0, 7 and 9; however in SCREEN 1 and SCREEN 2 the prompt is "Ok"+chr$(0)

Steps

  1. SCREEN 1 or SCREEN 2
  2. CLS
  3. ? SCREEN(1,3)

PC-BASIC returns 255 whereas GW-BASIC returns 0.

Notes

PC-BASIC version: 2.0.4
Operating system version: all

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions