Project

General

Profile

Bug #574

Border type 0 ignores colours.

Added by Paul Kitching over 3 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Target version:
-
Start date:
11/16/2020
Due date:
% Done:

0%

Estimated time:
Affected version:

Description

The border command should have types from 1 to 16, but if you use type 0 it ignores the colours.

This gives a white paper, with black pen:

#manifest: "aoz"
wind open 4,1,1,20,10,1
border 0,4,5
wait key

If you change the 0 to a 1 it shows the correct colours of green and red.
AMOS Pro takes the 0 as a 1, but AOZ should give an error, or assume a 1 and use the colours.

Also available in: Atom PDF