LB Booster
« Flashing text »

Welcome Guest. Please Login or Register.
Jan 18th, 2018, 10:14pm


Speed up Liberty BASIC programs by up to ten times!
Compile Liberty BASIC programs to compact, standalone executables!
Overcome many of Liberty BASIC's bugs and limitations!
LB Booster Resources
LB Booster documentation
LB Booster Home Page
LB Booster technical Wiki
Just BASIC forum
LB Umbrella forum
Liberty BASIC forum (the original)

« Previous Topic | Next Topic »
Pages: 1  Notify Send Topic Print
 thread  Author  Topic: Flashing text  (Read 68 times)
Richard Russell
Administrator
ImageImageImageImageImage


member is offline

Avatar




Homepage PM


Posts: 1320
xx Flashing text
« Thread started on: Dec 16th, 2017, 9:26pm »

Somebody asked about flashing text. This is cheating:

Code:
    print chr$(22); chr$(7);
    print chr$(136); "Flashing text" 

Richard.
User IP Logged

RNBW
Full Member
ImageImageImage


member is offline

Avatar




PM

Gender: Male
Posts: 106
xx Re: Flashing text
« Reply #1 on: Dec 17th, 2017, 10:32am »

Hi Richard

It works in LBB, but I couldn't get it to work in any of the other BASICs I have access to.

How does it work?
User IP Logged

Richard Russell
Administrator
ImageImageImageImageImage


member is offline

Avatar




Homepage PM


Posts: 1320
xx Re: Flashing text
« Reply #2 on: Dec 17th, 2017, 12:56pm »

on Dec 17th, 2017, 10:32am, RNBW wrote:
How does it work?

As I said, it's cheating! The first line:

Code:
print chr$(22); chr$(7); 

is equivalent to Code:
VDU 22,7 

which is equivalent to Code:
MODE 7 

which selects the BBC Micro's Teletext/Videotex mode. The second line is just the Videotex control code for 'flash' followed by the text. Not really useful, but interesting (maybe).

Richard.
User IP Logged

Pages: 1  Notify Send Topic Print
« Previous Topic | Next Topic »

Donate $6.99 for 50,000 Ad-Free Pageviews!


This forum powered for FREE by Conforums ©
Sign up for your own Free Message Board today!
Terms of Service | Privacy Policy | Conforums Support | Parental Controls