From 552cb9bf439b9094c0ecc6b2ade0b70a926be7bb Mon Sep 17 00:00:00 2001 From: Kai Stevenson Date: Sat, 18 Feb 2023 18:30:49 -0800 Subject: update function dictionary --- doc/internal_functions_dictionary | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'doc') 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 -- cgit v1.3.1