How to resolve the algorithm Terminal control/Coloured text step by step in the BBC BASIC programming language
Published on 12 May 2024 09:40 PM
How to resolve the algorithm Terminal control/Coloured text step by step in the BBC BASIC programming language
Table of Contents
Problem Statement
Display a word in various colours on the terminal. The system palette, or colours such as Red, Green, Blue, Magenta, Cyan, and Yellow can be used.
Optionally demonstrate:
Let's start with the solution:
Step by Step solution about How to resolve the algorithm Terminal control/Coloured text step by step in the BBC BASIC programming language
Source code in the bbc programming language
FOR col% = 0 TO 14
COLOUR col% : REM foreground
COLOUR 128+(15-col%) : REM background
PRINT "Rosetta Code"
NEXT
You may also check:How to resolve the algorithm Exceptions/Catch an exception thrown in a nested call step by step in the OCaml programming language
You may also check:How to resolve the algorithm Sum and product of an array step by step in the REXX programming language
You may also check:How to resolve the algorithm Pascal's triangle step by step in the CoffeeScript programming language
You may also check:How to resolve the algorithm Fibonacci sequence step by step in the Pike programming language
You may also check:How to resolve the algorithm Semordnilap step by step in the PicoLisp programming language