Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!rutgers!mit-eddie!genrad!decvax!ucbvax!MITRE-BEDFORD.ARPA!jhs From: jhs@MITRE-BEDFORD.ARPA.UUCP Newsgroups: comp.sys.atari.8bit Subject: Re: modification of end condition test for BASIC uudecode program. Message-ID: <8702080547.AA21962@mitre-bedford.ARPA> Date: Sun, 8-Feb-87 00:47:09 EST Article-I.D.: mitre-be.8702080547.AA21962 Posted: Sun Feb 8 00:47:09 1987 Date-Received: Wed, 11-Feb-87 04:54:34 EST References: <8702062200.AA00982@mitre-bedford.ARPA> Sender: daemon@ucbvax.BERKELEY.EDU Organization: The ARPA Internet Lines: 15 Oops! I said OBUF$ and should have said IBUF$, of course... If you want to modify my uudecode so it terminates on "end" rather than on the line containing just a space, or in addition to it, then you should test with IF IBUF$(1,3)="end" THEN GOTO (wherever) instead of or in addtion to IF M=0 THEN GOTO ... The two tests could of course be combined, e.g. IF M=0 OR IBUF$(1,3)="end" THEN GOTO ... I used the simple test for M=0 because I thought it would be the fastest thing to do. -John Sangster / jhs@mitre-bedford.arpa