home *** CD-ROM | disk | FTP | other *** search
- 1 rem *** extended background demo ***
- 9 rem set extended background color mode
- 10 poke 53265,peek(53265)or 64
- 11 rem set up regular string for background #0
- 12 a$(0)="abcdefghijklmnopqrstuvwxyz 1234567890 !#$%&'()+-\_*^@=;:[]/.,<>?"
- 13 a$(0)=a$(0)+chr$(34)+chr$(34)
- 14 rem convert regular characters to shifted characters for background #1
- 15 a$(1)="":for i=1 to len(a$(0)):a=asc(mid$(a$(0),i,1))
- 16 if a<64 then a=a+128:goto 18
- 17 a=a+32
- 18 a$(1)=a$(1)+chr$(a):next
- 19 rem add reverse-on/off characters to both strings for backgrounds 2 & 3
- 20 a$(2)=""+a$(0)+"[146]":a$(3)=""+a$(1)+"[146]"
- 21 for i=0 to 3:print a$(i):next
-