Project

General

Profile

Actions

Bug #660

open

Palette causes syntax error in single-line If Then Else statement.

Added by Brian Flanagan over 3 years ago. Updated about 3 years ago.

Status:
Resolved
Priority:
Normal
Target version:
-
Start date:
02/09/2021
Due date:
% Done:

0%

Estimated time:
1:00 h
Affected version:

Description

Example:

#manifest: "aoz"

' This FAILS:
' If Manifest$<>"amiga" Then Palette 0,$00FF00 Else Palette 0,$0F0

' This works:
If Manifest$ <> "amiga"
    Palette 0,$00FF00
Else
    Palette 0,$0F0
End If

Pen 1 : Paper 0 : Cls 0
Print "Done!" ' Should be green text on black background in either manifest.
Actions

Also available in: Atom PDF