1 /*===================================================================*/
2 /* Bill N
. Vlachoudis o o
*/
3 /* Computer adDREss
.......V
.Vlachoudis@cern
.ch ____oo_
*/
4 /* HomE AdDreSs
...........Parodos Filippoy
51 /|| |\
*/
5 /* ! TK
555-35 Pylaia
|| | */
6 /* ! tHe bESt Is ThesSALONIKI
, GREECE
'.___.' */
7 /* Y e t to Co mE
! MARMITA
*/
8 /*===================================================================*/
11 colors
= 'BLUE GREEN MAGENTA RED CYAN YELLOW WHITE BLACK'
12 colors
= 'BLACK MAGENTA BLUE RED GREEN CYAN YELLOW WHITE'
13 do i
=1 to
words(colors
)
14 col
.i
= word(colors
,i
)
17 hd
.1 = " ****** **** **** ****"
18 hd
.2 = " *** ** ** ** ***"
19 hd
.3 = " ** ** ** ** **"
21 hd
.5 = " ** ** **** ** ** **** *** **** **"
22 hd
.6 = " ***** ** *** ** ** ** ** ** ****"
23 hd
.7 = " ***** ** ** ** ** ** ** ** **"
24 hd
.8 = " ** ** ** ** ** ** ** ** ** **"
25 hd
.9 = " ** ** ** ** ** ******* ** ** **"
26 hd
.10 = " ** ** ** ** ** ** ** ** **"
27 hd
.11 = " ** ** ** *** ** ** ** ** **"
28 hd
.12 = " *** *** ** **** * ** * ** ** ** * ** **** *"
29 hd
.13 = "***** ****** **** *** **** ***** **** ***** ****"
44 text.1 = center('by bill vlachoudis V
.Vlachoudis@cern
.ch (c
)1988',79)
45 text.2 = center('for DOS ANSI
.SYS is required
.',79)
46 text.3 = center('Press
<ENTER
> to continue
, Control
-C to stop
',79)
51 /* scroll a little bit the colors */
58 call AnsiColor "BOLDYELLOW"
75 do while time('e
')<0.012
81 /* put random colors to text */
83 do j=1 to length(text.i)
84 ch = substr(text.i,j,1)
87 if c>7 then col="BOLD"; else col=""
89 call Ansicolor col||col.c
103 c = trunc(j * 3 / (i + 7) + i * w / 24)
104 if c > 15 then c = c - 15
107 yt = trunc(k/4 + 0.5)
109 if c > 7 then col = 'BOLD
'; else col = ''
112 Call AnsiColor col,col.cc
114 call AnsiGoto xl,yt; call write ,'#'
115 call AnsiGoto xr
,yt
; call write
,'#'
116 call AnsiGoto xl
,yb
; call write
,'#'
117 call AnsiGoto xr
,yb
; call write
,'#'
118 yt
= trunc(i
/4 + 0.5)
122 call AnsiGoto xl
,yt
; call write
,'#'
123 call AnsiGoto xr
,yt
; call write
,'#'
124 call AnsiGoto xl
,yb
; call write
,'#'
125 call AnsiGoto xr
,yb
; call write
,'#'
126 call flush
"<STDOUT>"
134 call AnsiAttr
"normal"