home *** CD-ROM | disk | FTP | other *** search
- Say(&CR&%hWhite%Please wait while we scan the message area for new mail addressed to you...%Yellow%&CR&)
- Clearmem
- EraseVar ;erasevar erases all variables...
- Say(Scanning...%White%)
-
- Zap(lconf.%NODE%,/:lastmsg/)
- ClearMem ; clearmem will clear the array
-
- SetEqual(h=0)
-
- *stscan
- inc(h)
- SelArea(%var%h)
-
- EnufSec(%AREASEC%)
- ifnottrue(Goto (chkeof))
-
- eLine(60)
- Say(Checking area %var%h: %AREANAME%|)
- Scan(%var%h,%NAME%,%NDNUMB%)
- IfTrue (goto (yesmail))
-
- *chkeof
- If (&h)=(%MAXAREA%) Then goto (firstmn)
- Goto (stscan)
-
- *FIRSTMN
- InpLine(lconf.%NODE%,1)
- SetEqual (/lastmsg=%ARESP%)
- SelArea(/:LASTMSG/)
-
- Say(%Yellow%&CR&&CR&Message scan complete!)
- SetEqual (/WAIT=N)
- Kill(lconf.%NODE%)
-
- LoadMem(control\bullets.ctl)
-
- *yesmail
- SetEqual (/lastmsg=%var%h)
- Say(&CR&&15&Mail has been found for you in the&9& %AREANAME% %hWhite%conference!%hWhite%)
- SetEqual(u=2)
- notif (^2)=() then goto (ym1)
- say(&10&Message number &11&^:1^)
- goto (bymail)
- *ym1
- say(&10&Message numbers:&11&&CR&^:1^*)
- *ymail
- if (^%var%u)=() then Goto (bym2)
- Say(, ^:u^*)
- inc(u)
- Goto (ymail)
- *bym2
- linefeed(1)
- *bymail
- Zap(hi.%NODE%,%var%h)
- Say(&CR&%Cyan%Would you like to read these messages? &9&[ ]%hWhite%*)
- back(4)
- YesNoAsk(*)
- If (%RESP%)=(Yes) Then Goto (Rmail)
- *back
- InpLine(hi.%NODE%,1)
- SetEqual(h=%ARESP%)
- ClearScr
- InitTxt
- ClearMem
- Say(%Yellow%&CR&Scanning...%White%)
- ClearMem
- SetActivity(Logging on...)
- Goto (chkeof)
- *Rmail
- Say(&CR&%hCyan%Please wait while we retrieve your mail...*)
- SetEqual(r=10)
- SetEqual(y=^:1^)
- himsg(/:LASTMSG/)
- SetEqual(f=%ARESP%)
- lowmsg(/:lastmsg/)
- SetEqual(n=%ARESP%)
- SetEqual(u=1)
- Loadsub(control\READ.CTL,Goto (repeat))
- goto (back)
-