home *** CD-ROM | disk | FTP | other *** search
- NotIf (/SEC)=(100) then display(%FAREA%)
- If (/SEC)=(100) then goto (sysv)
- *bkh
- MenuAsk%CRON%(&CR&&3&Which file area would you like&11&(ENTER=Quit)&3&?&12&: &15&*)
- If (%RESP%)=(<CR>) then Return
- CmpValo(%MAXFAREA%,%RESP%)
- IfTrue(goto (bds))
- SelFarea(%RESP%)
- CmpVal(%sec%,%FILSEC%)
- IfTrue(goto (nofs))
- SetEqual(/LASTDOWN=%RESP%)
- Display(%FILPATH%welc)
- Say(&CR&&11&Area #%RESP%: &15&%FILNAME% &11&is now selected!&CR&)
- log(--,Changed to %FILNAME% file area)
- Say(&3&Would you like to list this area? &9&[ ]&14&*)
- Back(4)
- YesNoAsk()
- If (%RESP%)=(Yes) Then loadsub(control\macros\flist.ctl)
- Return
- *bds
- loadsub(control\macros\badsel.ctl)
- Return
- *nofs
- display(display\NOFSEC)
- selfarea(/:lastdown/)
- return
-
- *sysv
- seek(%FAREA%.100)
- iftrue(view(%FAREA%.100))
- ifnottrue(display(%FAREA%))
- goto (bkh)
-