home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Overload
/
ShartewareOverload.cdr
/
progm
/
baslib1.zip
/
ASCII.BAS
next >
Wrap
BASIC Source File
|
1987-03-27
|
1KB
|
57 lines
'ASCII CHR set by Jeff Bretz, John Craig
'Converted to Quickbasic 2.01 by Dennis Dreyer
'ASCII.BAS
CLS
locate 9,30:Print " "
locate 10,30,0:Print " Displaying ASCII CHR "
locate 11,30:Print " In Quickbasic 2.01 "
locate 12,30:Print " "
color 4,4,1:locate 13,30:Print " "
locate 8,30:Print " "
locate 20,22:color 4,0:Print " To Quit after DEMO press any key!"
for w=1 to 10000:next
screen 0:color 7,0:cls:width 40
def seg=&HB800
color 4
locate 1,12,0
print "ASCII Character Set";
locate 3,14
print "EX: A = 41 HEX"
color 6
for x=0 to 15
for y=0 to 15
poke (8+x)*80+14+Y*4,X*16+Y
next Y,X
locate 8,7
print string$(32,205)
locate 8,6
print chr$(201);
for x=9 to 24
locate x,6
print chr$(186);
next
for X=0 to 15
locate 7,X*2+8,0
print hex$(X);
next X
for X=0 to 15
locate X+9,5,0
print hex$(x);
next
REPEATQUIT:
A$=inkey$
IF A$ <> "" then end else goto repeatquit