The color scheme

I am one of those engineer / programmers who learned and programmed in BASIC 20 years ago on PC / Apple II / TRS-80 / TI etc mostly for automation and test. I like True Basic very much but I would really like to work in an amber or green on black editor. For one I focus better without all of the other "windows" distractions and secondly it's easier on my eyes and brain in low light. Are there any options to control the color scheme in the editor and or output windows?

Comments

The Color scheme: to Dr. Samuel Doughty

Hi
I don't think you can change the TB editor colors. I don't like to use the TB editor for a number of reasons, color being one of them. And I wouldn't buy another version of TB just to get that feature.

I do all my editing in a free version of EditPad Lite, a very nice editor. I write my code in it, leave its window open, then run TB and open the file being worked on in the TB editor. Run it, if it needs editing, I return to the open EditPad window, and make changes there, save it, and close and open again in the TB window. Easier than it may sound. Minimizes the amount of time I have to squint at the TB editor. (I can never see the cursor!)
OR, If you make any changes to the code while in the TB editor, just save them there and the newly saved version will appear in the EditPad window.
This EditPad will allow you to change the Background color, as well as the text color and any syntax coloring if you so desire: Options> Configure File Types> Colors and Syntax> Color Pallette> name new pallette, then Change Background color> select new custom color, ditto for text color, ditto for any syntax colors if desired. Then save and Apply your newly created color pallette. You can have any number them. w w w. EditPadPro dot com

Also see another post about the color numbers. I think it wound up down below. ?!

Regards, Mike C.

Editor background color

Hi,

I think you are talking about changing the background color of the editor window itself - not the output windows. This is not possible in any version up to 5.5b19. In the new editor (5.6nn series) both the background color and the text colors and the font can be selected by the user. Hopefully a good workable version of 5.610 will be released soon.

Big John

Hi

Dear, ronnielee@dicola.org,

I'm not sure about how to change the editing window color but to change the output colors you need to put the following statement at the top of your program..

CLEAR
SET WINDOW -13, 0, 1, 13
SET BACK "16"
SET COLOR "15"
CLEAR

First off I believe you can set your window to whatever you want.

The set back is the background color.

The set color is the character color.

So for example if you wanted a black background with grey letters your code would be as follows...

CLEAR
SET WINDOW -13, 0, 1, 13
SET BACK "16"
SET COLOR "15"
CLEAR

1 = blue
2 = green
3 = teal
4 = red
5 = purple
6 = yellow
7 = white
8 = grey
9 = blue
10 = green
11 = teal
12 = red
13 = purple
14 = yellow
15 = white
16 = black

I hope this helps you.
...bubbachunk

Color Numbers

bubbachunk -- As I look at your color number list, I see that it is really the same list repeated twice, with the index augmented by 8 on the second pass. Does the duplication serve any useful purpose? I'm just curious because I don't understand the reason for the duplication.

Color numbers for Dr. Doughty

Hi again Dr. Samuel Doughty
These color numbers repeat because they are not quite the same shades.

Try this:

option nolet ! ----

for i=1 to 16

set color i

print,"color number=";i

print

next i

end ! ------

Somewhere I just posted an answer to your Editor background color question but don't see where it went...

Regards, Mike C.

Re: HI ...

bubbachunk ... You and I were writing reply's at the same time. See mine below. I'm guessing you haven't investigated TB's SET MODE statement, like:

SET MODE "color256"

or "colordos16" or "color16" or "colorsystem" or "colorstandard".

See Chapter 18 of the TB Silver/Gold" Manual for explanations for these color "modes". It's important to put a SET MODE statment at the top of programs you are going to distribute to others who have True BASIC version 5.xxx. Regards ... Tom M

thanks TOM M

Thanks for the advice I'm new to programming.
...Bubbachunk

Re: color scheme

ronnielee ... Thank your lucky stars!! 20-or-more years ago most of us didn't have full RGB computer monitors; they were too expensive! Most of that time's monitors came with a single color phosphor, not three.

It's likely you can "emulate" the colors you want. For example, if you add the programming line

SET MODE "COLOR256"

to your TB programs, you can select from a palette of 256 "colors", including "black" and "white". "black" turns the three monitor color "guns" OFF (zero percent), and "white" turns all color "guns" ON (100 percent). LED monitors don't have "guns" like TV projection tubes have but they have 3-color-dots-per pixel, so closely spaced that you can't see them without a high-power magnifier.

My TB program "COLOR256C.TRU" creates a 256 color palette on the computer monitor. Each "color" has a number assigned and printed on the screen. Send me an email if you want me to reply with the plain-text program listing. Regards ... Tom M