diff --git a/global-functions.rsc b/global-functions.rsc index 50426b69..74ca91b0 100644 --- a/global-functions.rsc +++ b/global-functions.rsc @@ -559,10 +559,12 @@ :set FileGet do={ :local FileName [ :tostr $1 ]; - :local FileVal false; + :local FileVal; :do { :set FileVal [ /file/get $FileName ]; - } on-error={ } + } on-error={ + :return false; + } :return $FileVal; }