home *** CD-ROM | disk | FTP | other *** search
- * ------------[ BLED merge (c) Ken Goosens ]-------------
- * Merge this against D:\172B\RBBSSUB2.BAS to produce RBBSSUB2.BAS
- * D:\172B\RBBSSUB2.BAS: Date 2-10-1990 Size 134325 bytes
- * ------------[ Created 02-28-1990 10:04:14 ]------------
- * REPLACING old line(s) by new
- 1628 CALL VerifyAns
- IF NOT ZOK THEN _
- CALL QuickTPut1 ("Invalid answer <" + ZUserIn$(1) + ">") : _
- GOTO 1500
- HoldA$ = ""
- ZForceKeyboard = ZFalse
- IF ZMacroSave > 0 THEN _
- ZGSRAra$(ZMacroSave) = ZUserIn$ : _
- ZMacroSave = 0 : _
- GOTO 1632
- IF (ZDistantTGet > 0) OR (ZMacroTemplate$ <> "") THEN _
- CALL WipeLine (38) : _
- IF NOT ZNo THEN _
- GOTO 1632 _
- ELSE ZWasQ = 0 : _
- ZMacroTemplate$ = "" : _
- ZDistantTGet = 0 : _
- ZNo = ZFalse : _
- GOTO 1633
- IF ZMacroActive THEN _
- ZLastIndex = ZWasQ : _
- FirstIndex = 1: _
- * ------[ first line different ]------
- ZMacroActive = NOT EOF(6) : _ ' KG021501
- EXIT SUB
- IF ZAnsIndex > 255 OR ((NOT InStack) AND INSTR(ZUserIn$,".") > 0) THEN _
- EXIT SUB
- IF MacroIndex THEN _
- MacroIndex = 1 _
- ELSE MacroIndex = ZAnsIndex
- CALL NoPath (ZUserIn$(MacroIndex),Found)
- IF Found THEN _
- EXIT SUB
- CALL CheckMacro (ZUserIn$(MacroIndex),Found)
- IF Found THEN _
- ZStoreParseAt = ZAnsIndex : _
- GOTO 1525
- EXIT SUB
- * REPLACING old line(s) by new
- 20143 ZWasZ$ = ZUserIn$(ZAnsIndex)
- * ------[ first line different ]------
- WasZ$ = ZWasZ$ ' KG022205
- CALL AllCaps (ZWasZ$)
- CALL BreakFileName (ZWasZ$,Drive$,Prefix$,Ext$,ZFalse)
- IF Ext$ = "" THEN _
- Ext$ = ZDefaultExtension$ : _
- ZWasZ$ = ZWasZ$ + "." + ZDefaultExtension$
- ZFileNameHold$ = ZWasZ$
- ZFileName$ = ZWasZ$
- CALL BadFile (Prefix$,BadFileNameIndex)
- ON BadFileNameIndex GOTO 20144,20146,20147
- * REPLACING old line(s) by new
- * ------[ first line different ]------
- 20145 CALL RotorsDir (ZFileName$,ZSubDir$(),ZSubDirCount + (NOT ZSysop),ZTrue,"V") ' KG022204
- IF ZOK THEN _
- GOTO 20148
- * REPLACING old line(s) by new
- * ------[ first line different ]------
- 20146 ZWasZ$ = WasZ$ + _ ' KG022205
- " not found!"
- CALL UpdtCalr (ZWasZ$,2)
- ZOutTxt$ = ZWasZ$ + _
- " Type correct filename" + ZPressEnterExpert$
- ZSubParm = 1
- CALL TGet
- IF ZSubParm = -1 OR ZWasQ = 0 THEN _
- RETURN
- ZUserIn$(ZAnsIndex) = ZUserIn$(1)
- GOTO 20143
-