September 18, 2021, 06:37:16

Author Topic: rgb / black  (Read 263 times)

Offline steve64

  • Jr. Member
  • **
  • Posts: 17
rgb / black
« on: August 27, 2021, 21:48:49 »
It seems that, at least on Windows, to clear the screen to true black background I have to use a statement
like the following one, where black is rgb(1,1,1) instead of rgb(0,0,0):

color 15, rgb(1,1,1)
cls

Is it confirmed? A kind of bug?


Offline chrisws

  • Full Member
  • ***
  • Posts: 117
    • SmallBASIC
Re: rgb / black
« Reply #1 on: August 28, 2021, 03:26:50 »
I think that's something I've already fixed. I need to make another release soon.

color 15, rgb(1,1,1)
cls
p1 = point(0,0)
color 15, 0
cls
p2 = point(0,0)
print p1
print p2

in this case p2==0

 

SimplePortal 2.3.6 © 2008-2014, SimplePortal