| [ Acima ] |
|
| Unit CRT: Window |
Objetivo:
|
|
Exemplo: Uses CRT; Var x, y: Byte; Begin TextBackGround(Black); { Muda cor de fundo para preto }
ClrScr; { Apaga a tela }
Repeat { Cria janelas aleatórias }
x := Succ(Random(80)); y := Succ(Random(25)); Window(x, y, x + Random(10), y + Random(8)); TextBackGround(Random(16)); ClrScr; Until KeyPressed; End. |
| [ Acima ] |
|