home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Beijing Paradise BBS Backup
/
PARADISE.ISO
/
software
/
BBSDOORW
/
RUE_200.ZIP
/
STRUCT.RUE
< prev
Wrap
Text File
|
1992-07-28
|
6KB
|
118 lines
(* Structures of SuperBBS Remote User Editor *)
(* ===================================================================== *)
(* Beginning Of Menu File Structure... *)
CONST VERSION = '2.00';
Type
KeyStr = String [1];
TemplateRec = Record
name: string[25];
seclvl: word;
forcesec: boolean;
flags: flagtype;
forceflags: boolean;
importfile: string[79];
end; (* size: 114 *)
EditType1 = (Name, Alias, Password, Domicile, (* sorry *)
Voice, Data, Birthday, SecLvl, (* this *)
HighRead, Calls, Msgs, Ups, Downs, (* messy *)
UpK, DownK, FirstDate, FirstTime, (* list *)
LastDate, LastTime, Expiration,
LastFileChk, TodayDown, TodayCalls,
Elapsed, TotalTime, InBank, Proto,
ScrLen, Credit, Pending, Sex,
Language, FirstMenu, ViewFile,
Comment, FlagsA, FlagsB, FlagsC,
FlagsD, Deleted, Ansis, ScrClears,
More, NoKill, IgnoreDownHours,
NoRatio, MailCheck, FileCheck,
Editor, MsgViewer, DelAfterView,
ViewOnlyOnce, FileViewed,
CombMailCheck, NoHotKeys, DoNotDisturb,
FA1, FA2, FA3, FA4, FA5, FA6, FA7, FA8, (* edit invidual flag *)
FB1, FB2, FB3, FB4, FB5, FB6, FB7, FB8,
FC1, FC2, FC3, FC4, FC5, FC6, FC7, FC8,
FD1, FD2, FD3, FD4, FD5, FD6, FD7, FD8,
FindTemplate, Empty);
EditType2 = (ShowAnsi, GotoMenu, ViewAsw, AddToCtl, ViewLog,
ViewTodayLog, GosubMenu, DeleteNEWERNewUserAnswers,
DeleteOLDERNewUserAnswers, DeleteALLNewUserAnswers);
EditType4 = (Quit, Header, YourCommand, GoUser, CheckCtls,
ClearFindList, SelectFoundUser, ValidateUsers,
ShowCombBoards, ViewLimits, UseTemplate,
Logo, ShowTime, FileToMsg, PrevUser, NextUser,
FirstUser, LastUser, MeUser, ShowAge, ShowCurrTime,
ShowCurrDate, ShowCurrUserNum, ShowMaxUserNum,
DFCA1, DFCA2, DFCA3, DFCA4, DFCA5, DFCA6, DFCA7, DFCA8, (* display flag comment *)
DFCB1, DFCB2, DFCB3, DFCB4, DFCB5, DFCB6, DFCB7, DFCB8,
DFCC1, DFCC2, DFCC3, DFCC4, DFCC5, DFCC6, DFCC7, DFCC8,
DFCD1, DFCD2, DFCD3, DFCD4, DFCD5, DFCD6, DFCD7, DFCD8,
ReturnFromGosub, MoveUser);
MenuFields = (EditField, FileName, Find, Replace, Other);
MenuFieldRec1 = Record (* "edit field" *)
Empty: Byte;
Key: Char; (* function key *)
Menu: EditType1; (* menu type 1 *)
X: Byte; (* x-coordinate *)
Y: Byte; (* y-coordinate *)
C: Byte; (* colour code *)
Ed: KeyStr; (* to be edited *)
end; (* size: 000008 *)
MenuFieldRec2 = Record (* "show/goto" *)
Empty: Byte;
Key: Char; (* function key *)
Menu: EditType2; (* menu type 2 *)
F: PathStr; (* file name *)
end; (* size: 000082 *)
MenuFieldRec3 = Record (* find/replace *)
Empty: Byte;
Key: Char; (* function key *)
Menu: EditType1; (* menu type 1 *)
end; (* size: 000003 *)
MenuFieldRec4 = Record (* "other" *)
Empty: Byte;
Key: Char; (* function key *)
Menu: EditType4; (* menutype 4 *)
X: Byte; (* x-coordinate *)
Y: Byte; (* y-coordinate *)
C: Byte; (* colour code *)
end; (* size: 000006 *)
MenuRec = Record (* MENU RECORDS *)
_SecLvl: Word;
_Flags: FlagType;
case T: MenuFields of
EditField: (M1: MenuFieldRec1);
FileName: (M2: MenuFieldRec2);
Find: (M3: MenuFieldRec3);
Replace: (M4: MenuFieldRec3);
Other: (M5: MenuFieldRec4);
end; (* size: 000089 *)
(* End Of Menu File Structure *)
(*
External routines used in RUE:
---------------------------------------------------------
Unit File Date Version Author
---------------------------------------------------------
CRC32 CYCLIC.ZIP 03/88 Unknown J.R.Louvau
ERRMSGS Unknown 89 1.20 C.B.Falconer
EXECSWAP EXECSW2.ZIP 11/90 1.30 Turbo Power Software
*)