home *** CD-ROM | disk | FTP | other *** search
- Path: uunet!cs.utexas.edu!qt.cs.utexas.edu!yale.edu!heifetz!emory!dragon.com!cts
- From: cts@dragon.com
- Newsgroups: vmsnet.sources.games
- Subject: funadv Part 08/08
- Message-ID: <1992Mar7.222402.831@dragon.com>
- Date: 8 Mar 92 03:24:02 GMT
- Organization: Computer Projects Unlimited
- Lines: 38
-
- -+-+-+-+-+-+-+-+ START OF PART 8 -+-+-+-+-+-+-+-+
- X LOGICAL BLKLIN,YESCALL
- X Character*10 Reply, Dummy
- X
- X COMMON /IOSCOM/ BLKLIN,YESCALL
- X 1 IF(X.NE.0)CALL RSPEAK(X)
- X WC=WCOUNT`20
- X YESCALL=.TRUE.
- X CALL GETIN(REPLY,DUMMY,WC)
- X YESCALL=.FALSE.`20
- X IF(REPLY.NE.'YES'.AND.REPLY.NE.'Y') GOTO 2
- X!!!!! WRITE(6,3) 'YES'
- X WCOUNT=WC`20
- X GOTO 10`20
- X 2 IF(REPLY.NE.'NO'.and.reply.ne.'N') GOTO 4`20
- X!!!!! WRITE(6,3) 'NO'`20
- X 3 FORMAT(' ',2H? ,A3)`20
- X WCOUNT=WC`20
- X GOTO 20`20
- X 4 READ(5,5) REPLY`20
- X 5 FORMAT(1A5 )
- X call str$upcase(reply,reply)
- X IF(REPLY.EQ.('YES').OR.REPLY.EQ.('Y'))GOTO 10`20
- X IF(REPLY.EQ.('NO' ).OR.REPLY.EQ.('N'))GOTO 20`20
- X WRITE(6,9)
- X 9 FORMAT(/,' Please answer the question.')
- X IF(X.NE.0) CALL RSPEAK(X)`20
- X GOTO 4
- X 10 YES=.TRUE.
- X IF(Y.NE.0)CALL RSPEAK(Y)
- X RETURN
- X 20 YES=.FALSE.`20
- X IF(Z.NE.0)CALL RSPEAK(Z)
- X RETURN
- X END`20
- $ CALL UNPACK [.SRC]YES.FOR;2 1477381018
- $ v=f$verify(v)
- $ EXIT
-