Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
words "bolded" ??
#1
How do you make certain words "brighter" than the rest of the words when printed to the screen?

I don't want to highlight (or inverse) the text; but make them a brighter shade of the same color; like you had clicked the BOLD button in Word or Excel. - for emphasis.

Thanks
Reply
#2
In qbasic.. You don't "bold"
You can change the color of text with
COLOR
[Image: sig.php]
Back by popular demand!
I will byte and nibble you bit by bit until nothing remains but crumbs.
Reply
#3
Thanks........

I didn't want to change the color of the text, but guess I'll have to.
Reply
#4
That's what you asked..
Peace cannot be obtained without war. Why? If there is already peace, it is unnecessary for war. If there is no peace, there is already war."

Visit www.neobasic.net to see rubbish in all its finest.
Reply
#5
The text is, by default light grey (colour 7). You could use colour 15 (pure white) to make it brighter, to stand out.
Reply
#6
This is right out of the QB Online Help for the COLOR statement.
Code:
COLOR - a graphics statement that selects display colors

SCREEN Mode 0 Syntax:  COLOR [foreground][,[background][,border]]
   *  foreground is the text color (range = 0-31, with 16-31 blinking)
   *  background is the screen color (range = 0-7)
   *  border is the color surrounding the screen (range = 0-15)
     0 = black       4 = red           8 = grey             12 = light red
     1 = blue        5 = magenta       9 = light blue       13 = light magenta
     2 = green       6 = brown        10 = light green      14 = yellow
     3 = cyan        7 = white        11 = light cyan       15 = bright white
Note: This is only for Screen Mode 0, the default.
As you can see 15=bright white is like the bold of 7=white.
You can try different combinations to get some of the effects you want.

BTW, when you issue the COLOR statement, everything that you print to the screen will be in that color until you issue another COLOR.
*****
Reply
#7
Thanks, Na_th_an!!!!

Merry Christmas to everyone !
Reply
#8
Quote:Thanks, Na_th_an!!!!

Merry Christmas to everyone !
BTW, my name is Moneo. Na_th_an is a rank or title that the forum assigns, which in this case happens to coincide with the name of one of our senior members from Spain.

Merry Chrismas also to you and yours.
*****
Reply
#9
WOW! I ACTUALLY THOUGHT THAT SOME GUY CALLED NA_TH_AN HAD LOADS OF ALIAS', I THOUGHT YOU WERE ALL THE SAME PERSON
EVEN MEN OF STEEL RUST.
[Image: chav.gif]
Reply
#10
Quote:which in this case happens to coincide with the name of one of our senior members from Spain.

Haha, I like your use of the word "coincide". Makes it sound like Wildcard had randomly made up a name for one of the high ranks and then Na_th_an came along :)

And Yeti, had a little too much to drink last night? ;P
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)