home *** CD-ROM | disk | FTP | other *** search
- {
- | FileBase menu for NewsFlash
- | Alex Howarth (15 September 1996)
-
- REPORT "FileBase Menu"
-
- | We could make a check to see if the user has a certain user
- | level to access the filebase (maybe a userlevel of 25) which
- | they only get after completing a questionaire: eg,.
- | IF USERLEVEL<25 THEN
- | STD NL
- | }You do not have access to the filebase
- | Please complete the questionaire{
- | GOSUB anykey
- | GOTO "Menus.Main"
- | ENDIF
-
- REPEAT
- STD CLS
- SEND "ANSI.Menus.File",2
-
- | Put some info on the menu screen
- LOCATE 59,5
- BFG 7}[{BFG 1}File Menu{BFG 7}]{STD
-
- LOCATE 3,DLINES-2
- BFG 7}FileMenu/current area ({BFG 3
- OPENFILEBASE
- READFAREA FILEAREA
- PRINT FILEAREANAME
- CLOSEFILEBASE
- BFG 7}) [{here%=XPOS} ]{BFG 3
- TAB here% | puts us inside the []'s
- BFG 7
-
- GETr option,"CLSBDUZ$MQ"
-
- IF option="C" RUN "Scripts.AreaChange"
- IF option="L" RUN "Scripts.LongFList"
- IF option="S" RUN "Scripts.ShortFList"
- IF option="B" RUN "Scripts.BaseChange"
- IF option="D" RUN "Scripts.Download"
- IF option="U" RUN "Scripts.Upload"
- IF option="Z" RUN "Scripts.ZipNewFile"
- IF option="$" RUN "Scripts.FileSearch"
- IF option="M" GOTO "Menus.Main"
- IF option="Q" RUN "Scripts.QueueEdit"
-
- | non of the above? must be 'RETURN' - REDRAW ,. lets REPEAT
- UNTIL FALSE
- }
-