home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 1997 April (Special)
/
Chip-Special_1997-04_cd.bin
/
mediavis
/
xdiag
/
mvdxdiag.exe
/
GET.DAT
< prev
next >
Wrap
Text File
|
1995-03-30
|
946b
|
49 lines
script getCDROMPORT
set x type str ""
:again
getstring x length 3 hexnumonly
local y type long ${x}h
if isequal $y 300h return $x
if isequal $y 310h return $x
if isequal $y 320h return $x
if isequal $y 330h return $x
if isequal $y 340h return $x
flushkeys
goto again
script getString
set x type str ""
getstring x length 40
trim x
return $x
script getDriveLetter
set x type str ""
local y type str ""
:again
getstring x length 1 wordonly
flushkeys
set y "${x}" - "[a-z]"
if ! $_strop goto again
set x "$x" + ":"
return $x
script getPathExisting
set x type str ""
:again
getstring x length 20 wordonly
flushkeys
if ! isdir $x goto again
return $x
script getFilename
set x type str ""
getstring x length 13 wordonly
return $x
script getFilenameExisting
set x type str ""
:again
getstring x length 40 wordonly
flushkeys
if not isfile $x goto again
return $x