aboutsummaryrefslogtreecommitdiffstats
path: root/global-functions.rsc
diff options
context:
space:
mode:
Diffstat (limited to 'global-functions.rsc')
-rw-r--r--global-functions.rsc2
1 files changed, 2 insertions, 0 deletions
diff --git a/global-functions.rsc b/global-functions.rsc
index b212d3a..766e8a2 100644
--- a/global-functions.rsc
+++ b/global-functions.rsc
@@ -927,6 +927,8 @@
:if ([ :find $KeyValue "=" ]) do={
:local Key [ :pick $KeyValue 0 [ :find $KeyValue "=" ] ];
:local Value [ :pick $KeyValue ([ :find $KeyValue "=" ] + 1) [ :len $KeyValue ] ];
+ :if ($Value="true") do={ :set Value true; }
+ :if ($Value="false") do={ :set Value false; }
:set ($Result->$Key) $Value;
} else={
:set ($Result->$KeyValue) true;