From 20854fc3b05290fa4d89e52fb25f8b6156cb9a6f Mon Sep 17 00:00:00 2001 From: Jim Saxton Date: Fri, 7 Jul 2017 13:37:44 -0700 Subject: [PATCH] add an option to close all files --- src/io.c | 12 ++++++++++++ yab-IDE/data/Help_En.dat | 14 +++++++++++--- 2 files changed, 23 insertions(+), 3 deletions(-) diff --git a/src/io.c b/src/io.c index 854d97a..93015d8 100644 --- a/src/io.c +++ b/src/io.c @@ -762,12 +762,24 @@ void myclose(void) /* close the specified stream */ #endif s=(int)pop(stNUMBER)->value; + if (s == -2){ + for(s=1;s