Const Annoying_Sounds
= -1 'TRUE!
centerText 10, "Hello World", 1
centerText 12, "presented by", 1
centerText 14, "Steve McNeill", 1
centerText 16, "1990, Floyd VA", 1
Sub centerText
(y
, text$
, delay
) text$
= _Trim$(text$
) 'strip off leading or trailing spaces l
= Len(text$
) 'length of text If l
Mod 2 Then text$
= text$
+ " " 'make it even sized length h = l \ 2 + 1 'half length
xLimit = w / 2 - 1
x = 1
x = x + 1
xLimit = xLimit - 1