home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.wwiv.com
/
ftp.wwiv.com.zip
/
ftp.wwiv.com
/
pub
/
MISC
/
IPADMGR.ZIP
/
LOGCHK.PRG
< prev
next >
Wrap
Text File
|
1996-02-06
|
2KB
|
83 lines
Select 2
Set Exclusive Off
Use Ipadcfg
Store Ltrim(Rtrim(Logfile)) to Clog
If File("&Clog")
If Fsize("&Clog") < 100
Quit
Endif
Do Case
Case UAnsi() .And. Val(Uline()) > 0
Store .N. To Prompt
Set Color To W+/R
@ 1,16 Clear To 5,62
@ 1,16 To 5,62
@ 2,17 Say " You have credit card transactions in your "
@ 3,17 Say " Ipad Manager System. Download now (Y/N) "
@ 4,61 Get Prompt Picture "Y"
Read
If Prompt
Select 2
Use Ipadcfg
Store Ltrim(Rtrim(Logfile)) to Clog
If At("\",Clog) =0
Store Homepath() + Clog To Line
Else
Store Clog To Line
Endif
Store Rtrim(Line) + " /D /P:B" To Line
Dotbbs Type 1 Optdata "&Line"
Store .F. To Success
Store Ulpeek(246,1) To Byte
If Byte > 127
Store Byte -128 To Byte
Endif
If Byte > 63
Store Byte -64 To Byte
Endif
If Byte > 31
Store Byte -32 To Byte
Endif
If Byte > 15
Store Byte -16 To Byte
Endif
If Byte > 7
Store Byte -8 To Byte
Endif
If Byte > 3
Store .T. To Success
Store Byte -4 To Byte
Endif
If Byte > 1
Store Byte -1 To Byte
Endif
If Byte > 0
Endif
Set Console On
If .Not. Success
Set Color To W+/R
@ 1,16 Clear To 5,62
@ 1,16 To 5,62
@ 2,17 Say " "
Store " " To Mvar
@ 2,17 Say "Download Failed."
@ 3,17 Say " Press any key " Get Mvar
Read
Endif
Endif
Case UAnsi()
Set Color To W+/R
@ 1,16 Clear To 4,62
@ 1,16 To 4,62
@ 2,17 Say " You have credit card transactions in your "
@ 3,17 Say " Ipad Manager System. "
* @ 4,0 Say ""
Set Color To W/N
Wait
Otherwise
? "You have credit card transactions in the Ipad Manager System"
Wait
Endcase
Endif
Quit