Minor changes

This commit is contained in:
Scott C. MacCallum 2022-11-14 19:38:01 -05:00
parent be08571a9c
commit 26fbc38141
1 changed files with 12 additions and 14 deletions

View File

@ -2,8 +2,8 @@
;; This program is part of the Betsy program, it is where Betsy asks the human if
;; they have another question
;; Copyright (C) 2015, 2016, 2018, 2020, 2021 Scott C. MacCallum
;; scm@sdf.org
;; Copyright (C) 2015, 2016, 2018, 2020, 2021, 2022 Scott C. MacCallum
;; (scm@sdf.org)
;; This program is free software: you can redistribute it and/or modify it under
;; the terms of the GNU Affero General Public License as published by the Free
@ -30,17 +30,15 @@
(princ " ] ")
(setq *answer* (read-line))
(if (string-equal *answer* "no")
(progn
(princ *betsy*)
(princ "It was nice talking with you, ")
(princ *human*)
(princ ".")
(terpri)
(main)))
(progn (princ *betsy*)
(princ "It was nice talking with you, ")
(princ *human*)
(princ ".")
(terpri)
(main)))
(if (string-not-equal *answer* "yes")
(progn
(princ *betsy*)
(princ "Please answer me with a yes or no.")
(terpri)
(another-question)))
(progn (princ *betsy*)
(princ "Please answer me with a yes or no.")
(terpri)
(another-question)))
(question))