<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.inspired-lua.org/index.php?action=history&amp;feed=atom&amp;title=var.recall</id>
	<title>var.recall - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.inspired-lua.org/index.php?action=history&amp;feed=atom&amp;title=var.recall"/>
	<link rel="alternate" type="text/html" href="https://wiki.inspired-lua.org/index.php?title=var.recall&amp;action=history"/>
	<updated>2026-05-11T03:01:25Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.33.0</generator>
	<entry>
		<id>https://wiki.inspired-lua.org/index.php?title=var.recall&amp;diff=426&amp;oldid=prev</id>
		<title>Jimbauwens: Created page with &quot;var.'''recall'''&amp;nbsp;is a function that is part of the Var Library.   &lt;br&gt;   The function returns a the content of a math variable in the current document. It tries to return th...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.inspired-lua.org/index.php?title=var.recall&amp;diff=426&amp;oldid=prev"/>
		<updated>2011-06-01T12:19:53Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;var.&amp;#039;&amp;#039;&amp;#039;recall&amp;#039;&amp;#039;&amp;#039; is a function that is part of the Var Library.   &amp;lt;br&amp;gt;   The function returns a the content of a math variable in the current document. It tries to return th...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;var.'''recall'''&amp;amp;nbsp;is a function that is part of the Var Library. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
The function returns a the content of a math variable in the current document. It tries to return the value in a compatible Lua type. If there is no compatible type, it returns nil and an error message.&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
== Syntax  ==&lt;br /&gt;
&lt;br /&gt;
var.'''recall(varname)'''&amp;lt;br&amp;gt; returns the content of the variable varname (must be a string). &lt;br /&gt;
&lt;br /&gt;
== Example  ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
function on.paint(gc)&lt;br /&gt;
	variable = var.recall(&amp;quot;sol&amp;quot;) --assuming that sol exists &lt;br /&gt;
	gc:drawString(&amp;quot;The diameter of the sun is &amp;quot; .. tostring(variable) .. &amp;quot; KM&amp;quot;, 10, 10, &amp;quot;top&amp;quot;)&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/source&amp;gt; &lt;br /&gt;
&lt;br /&gt;
This code retrieves the content of the variable sol (number), and prints it on the screen. &lt;br /&gt;
&lt;br /&gt;
== See also  ==&lt;br /&gt;
&lt;br /&gt;
*[[var.list]]&amp;lt;br&amp;gt; &lt;br /&gt;
*[[var.recallstr]]&amp;lt;br&amp;gt; &lt;br /&gt;
*[[var.store]]&amp;lt;br&amp;gt; &lt;br /&gt;
*[[var.monitor]]&amp;lt;br&amp;gt; &lt;br /&gt;
*[[var.unmonitor]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:var]]&lt;/div&gt;</summary>
		<author><name>Jimbauwens</name></author>
		
	</entry>
</feed>