home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ProfitPress Mega CDROM2 …eeware (MSDOS)(1992)(Eng)
/
ProfitPress-MegaCDROM2.B6I
/
MAGAZINE
/
MISC
/
PCTV2N1.ZIP
/
TEST.BAS
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
NeXTSTEP
RISC OS/Acorn
UTF-8
Wrap
BASIC Source File
|
1991-01-20
|
330 b
|
14 lines
' TEST.BAS - a test driver for VALSUB.ASM
' compiled with BC 7.1, switch "/O"
' linked to VALSUB.OBJ and NOFLTIN.OBJ
' switches "/E/NOE"
declare function atoi% (a$)
declare function atol& (a$)
restart:
input "Enter a digit string: ", a$
print , atoi(a$), atol(a$)
print
goto restart