Project

General

Profile

Actions

Bug #660

open

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

Added by Brian Flanagan almost 4 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 #1

Updated by Brian Flanagan almost 4 years ago

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

Actions #2

Updated by Brian Flanagan almost 4 years ago

  • Priority changed from Low to Normal
Actions #3

Updated by Brian Flanagan over 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.

Actions #4

Updated by Brian Flanagan about 3 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.

Actions #5

Updated by Francois Lionet about 3 years ago

  • Status changed from New to Resolved

Fixed!

Actions

Also available in: Atom PDF