Project

General

Profile

Bug #660

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

Added by Brian Flanagan about 3 years ago. Updated over 2 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.
#1

Updated by Brian Flanagan about 3 years ago

Re-tested on 2/16/2021: Still fails.

#2

Updated by Brian Flanagan about 3 years ago

  • Priority changed from Low to Normal
#3

Updated by Brian Flanagan almost 3 years ago

  • Affected version changed from 1.0.0 (B3) to 1.0.0 (B4)

Re-tested 3/9/2021 1.0.0 (B4)
Still fails.

#4

Updated by Brian Flanagan over 2 years ago

  • Assignee set to Francois Lionet
  • Affected version changed from 1.0.0 (B4) to 1.0.0 (B10) u16

This problem still occurs in both manifests.

#5

Updated by Francois Lionet over 2 years ago

  • Status changed from New to Resolved

Fixed!

Also available in: Atom PDF