home *** CD-ROM | disk | FTP | other *** search
- *StUEdit2
-
- *Selection
- Numbusers
- SetEqual (j=%ARESP%)
- If (&f)=(1) then goto (Edit) ;%var%f is the user's selection from the main menu.
- If (&f)=(5) then loadmem(control\uedit3.ctl,goto(stUedit3))
- If (&f)=(6) then goto (quit)
- LoadMem(control\uedit.ctl,goto(badsel))
-
- *ClearInfo
- AnsiGoto (11,1)
- Say ( *)
- AnsiGoto (11,2)
- Say ( *)
- AnsiGoto (11,3)
- Say ( )
- AnsiGoto (11,4)
- Say ( *)
- AnsiGoto (11,5)
- Say ( *)
- AnsiGoto (11,6)
- Say ( *)
- AnsiGoto (11,7)
- Say ( *)
- AnsiGoto (11,8)
- Say ( *)
- AnsiGoto (11,9)
- Say ( *)
- AnsiGoto (11,10)
- Say ( *)
- AnsiGoto (11,11)
- Say ( *)
- AnsiGoto (11,12)
- Say ( *)
- AnsiGoto (51,1)
- Say ( *)
- AnsiGoto (51,2)
- Say ( *)
- AnsiGoto (51,3)
- Say ( *)
- AnsiGoto (51,4)
- Say ( *)
- AnsiGoto (51,5)
- Say ( *)
- AnsiGoto (51,6)
- Say ( *)
- AnsiGoto (51,7)
- Say ( *)
- AnsiGoto (51,9)
- Say ( *)
- LoadUser (%var%z)
- SetEqual (x=0)
- LoadMem (Control\uedit.ctl,goto(putinfo))
-
- *Edit
- If (&w)=(1) then goto (GetInput)
- AnsiGoto (2,15);
- Say ( *)
- AnsiGoto (30,15);
- Say ( *)
- AnsiGoto (2,16);
- Say ( *)
- AnsiGoto (30,16);
- Say ( *)
- AnsiGoto (2,17);
- Say ( *)
- AnsiGoto (30,17);
- Say ( *)
- AnsiGoto (2,18);
- Say ( *)
- AnsiGoto (30,18);
- Say ( *)
- AnsiGoto (30,19);
- Say ( *)
- AnsiGoto (30,20);
- Say ( *)
- AnsiGoto (1,1);
- Say (&15&N&7&ame)
- Say (&15&S&7&treet)
- Say (&15&F&7&rom)
- Say (&7&P&15&h&7&one)
- Say (&7&Se&15&c)
- Say (&15&P&7&asswd)
- Say (&15&T&7&imeLeft)
- Say (&15&M&7&emo)
- Say (&15&D&7&ownlds)
- Say (&15&U&7&ploads)
- Say (&15&K&7&Dled)
- Say (&7&KU&15&l&7&ed*)
- AnsiGoto (40,1);
- Say (&15&B&7&irthdate*)
- AnsiGoto (41,2);
- Say (&7&Times &15&O&7&n*)
- AnsiGoto (35,3);
- Say (&7&Compute&15&r&7& Using*)
- AnsiGoto (36,4);
- Say (&7&C&15&a&7&rrier Drops*)
- AnsiGoto (39,5);
- Say (&15&W&7&ork Phone*)
- AnsiGoto (39,6);
- Say (&7&Subscr&15&i&7&ber*)
- AnsiGoto (37,7);
- Say (&7&Sub Date E&15&x&7&p*)
- AnsiGoto (35,9);
- Say (&7&A&15&v&7&ail For Chat*)
- *GetInput
- AnsiGoto (20,17)
- Say ($0$&12&Select Category to Modify (Q to Quit): &15&*)
- Menukey
- BigNiceSay (N:Name,S:Street,F:From,H:Phone,C:Sec,P:Passwd,T:TimeLeft)
- BigNiceSay (M:Memo,D:Downlds,U:Uploads,K:KDled,L:KUled,B:Birthdate,O:Times On)
- BigNiceSay (R:Comp Using,A:Carrier Drops,W:Work Phone,I:Subscriber,X:SubDate Exp,Q:Quit)
- AnsiGoto (20,17)
- Say ( *)
- BigIf (N:ChgName,S:ChgSt,F:ChgFrom,H:ChgPhone,C:ChgSec,P:ChgPass,T:ChgTL,M:ChgMemo,D:ChgDls,U:ChgUls,K:ChgDlk,L:ChgUlk,B:ChgBday)
- BigIf (Q:NoMore)
- BigLoad (O:control\uedit4.ctl,R:control\uedit4.ctl,A:control\uedit4.ctl,W:control\uedit4.ctl,I:control\uedit4.ctl,X:control\uedit4.ctl,Q:control\uedit4.ctl,v:control\uedit4.ctl)
- LoadMem (Control\uedit.ctl,goto(badsel))
-
- *NoMore
- SaveUser (%var%z)
- SetEqual (e=0) ;Set it so that the user is flagged as NOT editing a user record.
- SetEqual (w=0)
- Loadmem (control\uedit.ctl,goto(moreedit))
-
- *ChgName
- AnsiGoto (24,17)
- Say (&15&Enter New Name : &2&*)
- AnsiGoto (41,17)
- Ask (*)
- SetEqual (>NAME=%RESP%)
- SetEqual (e=1)
- SetEqual (w=1)
- SaveUser (%var%z)
- Goto (ClearInfo)
-
- *ChgSt
- AnsiGoto (20,17)
- Say (&15&Enter New Street: &2&*)
- AnsiGoto (38,17)
- Ask (*)
- SetEqual (>STREET=%RESP%)
- SetEqual (e=1) ;Set it so that the user IS flagged as editing a user.
- SetEqual (w=1)
- SaveUser (%var%z)
- Goto (ClearInfo)
-
- *ChgFrom
- AnsiGoto (19,17)
- Say (&15&Enter New User From : &2&*)
- AnsiGoto (41,17)
- Ask (*)
- SetEqual (>FROM=%RESP%)
- SetEqual (e=1)
- SetEqual (w=1)
- SaveUser (%var%z)
- Goto (ClearInfo)
-
- *ChgPhone
- AnsiGoto (25,16)
- Say (&15&Enter New Phone Number : &2&)
- AnsiGoto (29,17);
- Picture(###-###-####)
- setequal(>PHONE=%RESP%)
- SetEqual (e=1)
- SetEqual (w=1)
- SaveUser (%var%z)
- Goto (ClearInfo)
-
- *ChgSec
- AnsiGoto (24,17)
- Ask (&15&Enter New Security: &2&*)
- Number (%RESP%)
- IfNotTrue(goto (badsec))
- SetEqual (>SEC=%RESP%)
- SetEqual (e=1)
- SetEqual (w=1)
- SaveUser (%var%z)
- Goto (ClearInfo)
-
- *badsec
- AnsiGoto (20,17)
- Say ( *)
- AnsiGoto (25,17)
- Say (&4&Bad Security-- Not a Number.*)
- SecPause (2)
- AnsiGoto (20,17)
- Say ( *)
- Goto (ChgSec)
-
- *ChgComp
- AnsiGoto (20,17)
- Ask (&15&Enter New Computer Using: &2&*)
- SetEqual (>COMP=%RESP%)
- SetEqual (e=1)
- SetEqual (w=1)
- SaveUser (%var%z)
- Goto (ClearInfo)
-
- *ChgTL
- AnsiGoto (24,17)
- Ask (&15&Enter New Time Left: &2&*)
- Number (%RESP%)
- IfNotTrue (goto (badtl))
- SetEqual (>LEFT=%RESP%)
- SetEqual (e=1)
- SetEqual (w=1)
- SaveUser (%var%z)
- Goto (ClearInfo)
-
- *badtl
- AnsiGoto (20,17)
- Say ( *)
- AnsiGoto (20,17)
- Say (&4&Bad Time Left Value-- Not a Number.*)
- SecPause (2)
- AnsiGoto (20,17)
- Say ( *)
- Goto (ChgTL)
-
- *ChgPass
- AnsiGoto (24,17)
- Ask (&15&Enter New Password: &2&*)
- SetEqual (>PASS=%RESP%)
- SetEqual (e=1)
- SetEqual (w=1)
- SaveUser (%var%z)
- Goto (ClearInfo)
-
- *ChgMemo
- AnsiGoto (20,17);
- Ask (&15&Enter New Memo: &2&*)
- SetEqual (>MEMO=%RESP%)
- SetEqual (e=1)
- SetEqual (w=1)
- SaveUser (%var%z)
- Goto (ClearInfo)
-
- *ChgDls
- AnsiGoto (20,17)
- Ask (&15&Enter New Number of Downloads: &2&*)
- Number (%RESP%)
- IfNotTrue (goto (baddls))
- SetEqual (>DOWNLOADS=%RESP%)
- SetEqual (e=1)
- SetEqual (w=1)
- SaveUser (%var%z)
- Goto (ClearInfo)
-
- *baddls
- AnsiGoto (20,17)
- Say ( *)
- AnsiGoto (20,17);
- Say (&4&Bad Number of Downloads-- Not a Number.*)
- SecPause (2)
- AnsiGoto (20,17)
- Say ( *)
- Goto (ChgDls)
-
- *ChgUls
- AnsiGoto (20,17)
- Ask (&15&Enter New Number of Uploads: &2&*)
- Number (%RESP%)
- IfNotTrue (goto (baduls))
- SetEqual (>UPLOADS=%RESP%)
- SetEqual (e=1)
- SetEqual (w=1)
- SaveUser (%var%z)
- Goto (ClearInfo)
-
- *baduls
- AnsiGoto (20,17)
- Say ( *)
- AnsiGoto (20,17)
- Say (&4&Bad Number of Uploads-- Not a Number.*)
- SecPause (2)
- AnsiGoto (20,17)
- Say ( *)
- Goto (ChgUls)
-
- *ChgDlK
- AnsiGoto (21,17)
- Ask (&15&Enter New Download K: &2&*)
- Number (%RESP%)
- IfNotTrue (goto (baddlk))
- SetEqual (>KDOWN=%RESP%)
- SetEqual (e=1)
- SetEqual (w=1)
- SaveUser (%var%z)
- Goto (ClearInfo)
-
- *baddlk
- AnsiGoto (20,17)
- Say ( *)
- AnsiGoto (20,17)
- Say (&4&Bad Download K Value-- Not a Number.*)
- SecPause (2)
- AnsiGoto (20,17)
- Say ( *)
- Goto (ChgDlk)
-
- *ChgUlK
- AnsiGoto (21,17)
- Ask (&15&Enter New Upload K: &2&*)
- Number (%RESP%)
- IfNotTrue (goto (badulk))
- SetEqual (>KUP=%RESP%)
- SetEqual (e=1)
- SetEqual (w=1)
- SaveUser (%var%z)
- Goto (ClearInfo)
-
- *ChgBday
- AnsiGoto (21,16)
- Say (&15&Enter New Birthday: &2&*)
- AnsiGoto (25,17)
- Picture (##-##-##)
- SetEqual (>BIRTH=%RESP%)
- SetEqual (e=1)
- SetEqual (w=1)
- SaveUser (%var%z)
- Goto (ClearInfo)
-
- *badulk
- AnsiGoto (20,17)
- Say ( *)
- AnsiGoto (20,17)
- Say (&4&Bad Upload K Value-- Not a Number.*)
- SecPause (2)
- AnsiGoto (20,17)
- Say ( *)
- Goto (ChgUlk)
-