endbasic / endbasic

BASIC environment with a REPL, a web interface, a graphical console, and RPi support written in Rust

Home Page:https://www.endbasic.dev/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add single-line IF statements

jmmv opened this issue · comments

It seems like writing one-line IF statements is a pretty common need and QuickBASIC, for example, has special syntax for them that looks like this:

IF condition THEN statement

Note the lack of END IF and the lack of colon separators in the line.

Research this a bit more before implementing to see how these really behave in at least QuickBASIC and maybe GW-BASIC.

This was added in dc4e0cd.