Thread: Fact of the day
View Single Post
Old 24-02-2004, 15:21   #16
Chris
Trollsplatter
Cable Forum Team
 
Chris's Avatar
 
Join Date: Jun 2003
Location: North of Watford
Services: Humane elimination of all common Internet pests
Posts: 38,612
Chris has a golden auraChris has a golden auraChris has a golden auraChris has a golden auraChris has a golden aura
Chris has a golden auraChris has a golden auraChris has a golden auraChris has a golden auraChris has a golden auraChris has a golden auraChris has a golden auraChris has a golden auraChris has a golden auraChris has a golden auraChris has a golden auraChris has a golden auraChris has a golden auraChris has a golden aura
Re: Fact of the day

Quote:
Originally Posted by Nemesis
Syntax Error
Shouldn't it be

10 PRINT "Richard M"
20 GOTO 10

?

You needed the quotemarks in BBC BASIC, anyway.

Sometimes, just for fun, I'd vary it like so:

10 PRINT "Richard M";
20 GOTO 10

...which resulted in complete lines of the text filling the screen, instead of just a column down the left.

I was going to be smug and say I could still make it output in coloured text, but I can't remember the code numbers any more ...

PRINTCHR$(141) "Richard M" for red, IIRC, and I'm not sure I do.

Ahh, the memories
Chris is offline   Reply With Quote