Project

General

Profile

Actions

Bug #566

open

RGB$(r,g,b) is not working.

Added by Brian Flanagan about 4 years ago. Updated about 4 years ago.

Status:
Resolved
Priority:
Normal
Target version:
Start date:
11/12/2020
Due date:
% Done:

0%

Estimated time:
1:00 h
Affected version:

Description

Example:

' Broken syntax:
Print RGB$($FF,0,0),RGB$(255,0,0) ' both should be FF0000
Print RGB$(0,$FF,0),RGB$(0,255,0) ' both should be 00FF00
Print RGB$(0,0,$FF),RGB$(0,0,255) ' both should be 0000FF
Print RGB$($FF,128,$0F) ' should be FF800F
Print RGB$($01,$02,$03) ' should be 010203
Print RGB$($FF,$FF,$FF), RGB$(255,255,255) ' both should be FFFFFF
Print
' Working syntax:
Print RGB$($FFFFFF) ' should be FFFFFF
Print RGB$($FF0000) ' should be FF0000
Print RGB$($00FF00) ' should be 00FF00
Print RGB$(255)     ' should be 0000FF
Actions

Also available in: Atom PDF