Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Author
Message
Gamer
23
Years of Service
User Offline
Joined: 29th Apr 2003
Location:
Posted: 25th Jun 2003 23:42
I thought this would clear the screen with a red background, but I still
get a black screen. Why?

INK 0,RGB(255,0,0)
CLS
WAIT KEY
END
MrTAToad
23
Years of Service
User Offline
Joined: 26th Aug 2002
Location: United Kingdom
Posted: 25th Jun 2003 23:57
Because the default background colour (as set using CLS) is 0...

Try :



Good news everyone! I really am THAT good...
http://www.nickk.nildram.co.uk/ for great plug-ins - oh my, yes!
Gamer
23
Years of Service
User Offline
Joined: 29th Apr 2003
Location:
Posted: 26th Jun 2003 02:07
So the book is wrong? Because in it it says CLS will clear the screen
with the background color last set by the INK command.

MrTAToad
23
Years of Service
User Offline
Joined: 26th Aug 2002
Location: United Kingdom
Posted: 26th Jun 2003 02:18
What book is that ? Sounds like it's wrong.

Good news everyone! I really am THAT good...
http://www.nickk.nildram.co.uk/ for great plug-ins - oh my, yes!

Login to post a reply

Server time is: 2026-07-16 14:59:18
Your offset time is: 2026-07-16 14:59:18