summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKai Stevenson <kai@kaistevenson.com>2023-02-18 18:30:49 -0800
committerKai Stevenson <kai@kaistevenson.com>2023-02-18 18:30:49 -0800
commit552cb9bf439b9094c0ecc6b2ade0b70a926be7bb (patch)
treee53d4ce341a120f8c283746936ec22f0e25728ce
parent12b7cb016c637a73406ce894db9fb286bf069dca (diff)
update function dictionary
-rw-r--r--doc/internal_functions_dictionary3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/internal_functions_dictionary b/doc/internal_functions_dictionary
index 3b85c71..f7243b2 100644
--- a/doc/internal_functions_dictionary
+++ b/doc/internal_functions_dictionary
@@ -1,5 +1,6 @@
root() -- executes all arguments. returns the eval of the last symbol
-store() -- stores a pointer to the first argument under the name specified by the eval of the second argument
+store() -- stores a pointer to the first argument under the name specified by the eval of the second argument, within the local scope
+update() -- same as store(), but tries to overwrite the value of an already stored key - if the current scope doesn't contain the key, checks upwards. if no scope contains the key, update() does nothing
eq() -- returns 1 if the eval of all the arguments is the same, 0 if different. accepts any number of arguments
if() -- if the eval of the first argument is 1, executes all the other arguments
not() -- if the eval of the first argument is 1, returns 0, and vice versa