1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2025-03-03 02:10:01 +00:00
jeremy@jermolene.com f636349007 Introduce true global variables
The basic idea is that if we don't find a variable `foo` then we fallback to retrieving the value from the tiddler `$:/global/foo`, if it exists.

This allows us to replace the usual importvariables-based mechanism for global definitions, avoiding cluttering up the variable namespace with every macro.

In order to permit subprocedures to be overridden, we also introduce a mechanism for conditional definitions: preceding the word definition|procedure|function|widget with a + causes the definition only to occur if the specified variable doesn't already exist. In the next commit we'll apply this mechanism to the tabs macro
2022-05-28 12:23:50 +01:00
..
2022-03-16 11:57:56 +00:00
2014-04-27 20:03:33 +01:00
2022-05-13 09:18:25 +01:00
2022-05-10 10:21:19 +01:00
2021-10-02 16:17:07 +01:00
2013-11-10 19:22:10 +00:00
2022-05-28 12:23:50 +01:00
2022-05-13 09:18:25 +01:00
2021-10-30 11:42:22 +01:00
2022-05-28 12:23:50 +01:00