News:

PlayBASIC2DLL V0.99 Revision I Commercial Edition released! - Convert PlayBASIC programs to super fast Machine Code. 

Main Menu

background color

Started by skillybob, January 20, 2006, 12:22:31 AM

Previous topic - Next topic

skillybob

Simple program ....
; Set the INK colour to BLUE
  Ink RGB(255, 128, 64)
; Display the "Hello World" message to the screen in the current ink colour
  Print "Hello World"
; Call the SYNC command to show the drawn graphics to the user.
 Sync
; Tell PB to wait for a Key press before going to the next command
 WaitKey
; Tell PB to end program and return to the editor
  End

What determines the background color of the screen? How do you change or control it? I know this is ultra simple but I'm just starting out so any help is greatly appreciated!!

Tracy

Use the

Cls RGB(XXX,XXX,XXX) command.

I know you might have looked at it already, but I've found the help menu to be incredibly useful when I'm trying to do something. The search option works really well - it's very thorough. (And therefore slow.)

Good luck. ;)



QuoteSimple program ....
; Set the INK colour to BLUE
   Ink RGB(255, 128, 64)
; Display the "Hello World" message to the screen in the current ink colour
   Print "Hello World"
; Call the SYNC command to show the drawn graphics to the user.
  Sync
; Tell PB to wait for a Key press before going to the next command
  WaitKey
; Tell PB to end program and return to the editor
   End

What determines the background color of the screen? How do you change or control it? I know this is ultra simple but I'm just starting out so any help is greatly appreciated!!

skillybob