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