diff runtime/doc/eval.txt @ 370:3a21825ad207

updated for version 7.0095
author vimboss
date Mon, 27 Jun 2005 22:42:44 +0000
parents 6c62b9b939bd
children 575dacb554d8
line wrap: on
line diff
--- a/runtime/doc/eval.txt
+++ b/runtime/doc/eval.txt
@@ -1,4 +1,4 @@
-*eval.txt*      For Vim version 7.0aa.  Last change: 2005 Jun 25
+*eval.txt*      For Vim version 7.0aa.  Last change: 2005 Jun 27
 
 
 		  VIM REFERENCE MANUAL    by Bram Moolenaar
@@ -36,7 +36,7 @@ 1. Variables						*variables*
 
 1.1 Variable types ~
 							*E712*
-There are four types of variables:
+There are five types of variables:
 
 Number		A 32 bit signed number.
 		Examples:  -123  0x10  0177
@@ -50,6 +50,10 @@ Funcref		A reference to a function |Func
 List		An ordered sequence of items |List|.
 		Example: [1, 2, ['a', 'b']]
 
+Dictionary	An associative, unordered array: Each entry has a key and a
+		value. |Dictionary|
+		Example: {'blue': "#0000ff", 'red': "#ff0000"}
+
 The Number and String types are converted automatically, depending on how they
 are used.
 
@@ -2376,6 +2380,17 @@ function({name})					*function()* *E700*
 		{name} can be a user defined function or an internal function.
 
 
+garbagecollect()					*garbagecollect()*
+		Cleanup unused Lists and Dictionaries that have circular
+		references.  There is hardly ever a need to invoke this
+		function, as it is automatically done when Vim runs out of
+		memory or is waiting for the user to press a key after
+		'updatetime'.  Items without circular references are always
+		freed when they become unused.
+		This is useful if you have deleted a very big List and/or
+		Dictionary with circular references in a script that runs for
+		a long time.
+
 get({list}, {idx} [, {default}])			*get()*
 		Get item {idx} from List {list}.  When this item is not
 		available return {default}.  Return zero when {default} is