diff website/src/manual.html.luan @ 642:c4216a583de4 0.17

add links to functions in manual
author Franklin Schmidt <fschmidt@gmail.com>
date Wed, 23 Mar 2016 15:07:06 -0600
parents 35dde32c02ab
children 1e4b0bc0202d
line wrap: on
line diff
--- a/website/src/manual.html.luan	Fri Mar 11 05:59:18 2016 -0700
+++ b/website/src/manual.html.luan	Wed Mar 23 15:07:06 2016 -0600
@@ -1836,7 +1836,7 @@
 The basic library provides basic functions to Luan that don't depend on other libaries.
 
 
-<h4 heading><a name="Luan.assert"><code>Luan.assert (v [, message])</code></a></h4>
+<h4 heading><a name="Luan.assert" href="#Luan.assert"><code>Luan.assert (v [, message])</code></a></h4>
 
 <p>
 Could be defined as:
@@ -1848,7 +1848,7 @@
 </pre>
 
 
-<h4 heading><a name="Luan.assert_binary"><code>Luan.assert_binary (v)</code></a></h4>
+<h4 heading><a name="Luan.assert_binary" href="#Luan.assert_binary"><code>Luan.assert_binary (v)</code></a></h4>
 
 <p>
 Could be defined as:
@@ -1861,49 +1861,49 @@
 </pre>
 
 
-<h4 heading><a name="Luan.assert_boolean"><code>Luan.assert_boolean (v)</code></a></h4>
+<h4 heading><a name="Luan.assert_boolean" href="#Luan.assert_boolean"><code>Luan.assert_boolean (v)</code></a></h4>
 
 <p>
 Like <a href="#Luan.assert_binary"><code>assert_binary</code></a> but for type <code>boolean</code>.
 
 
-<h4 heading><a name="Luan.assert_function"><code>Luan.assert_function (v)</code></a></h4>
+<h4 heading><a name="Luan.assert_function" href="#Luan.assert_function"><code>Luan.assert_function (v)</code></a></h4>
 
 <p>
 Like <a href="#Luan.assert_binary"><code>assert_binary</code></a> but for type <code>function</code>.
 
 
-<h4 heading><a name="Luan.assert_integer"><code>Luan.assert_integer (v)</code></a></h4>
+<h4 heading><a name="Luan.assert_integer" href="#Luan.assert_integer"><code>Luan.assert_integer (v)</code></a></h4>
 
 <p>
 Asserts that <code>v</code> can be converted to Java type <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html">Integer</a> and returns an Integer.
 
 
-<h4 heading><a name="Luan.assert_long"><code>Luan.assert_long (v)</code></a></h4>
+<h4 heading><a name="Luan.assert_long" href="#Luan.assert_long"><code>Luan.assert_long (v)</code></a></h4>
 
 <p>
 Asserts that <code>v</code> can be converted to Java type <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Long.html">Long</a> and returns a Long.
 
 
-<h4 heading><a name="Luan.assert_number"><code>Luan.assert_number (v)</code></a></h4>
+<h4 heading><a name="Luan.assert_number" href="#Luan.assert_number"><code>Luan.assert_number (v)</code></a></h4>
 
 <p>
 Like <a href="#Luan.assert_binary"><code>assert_binary</code></a> but for type <code>number</code>.
 
 
-<h4 heading><a name="Luan.assert_string"><code>Luan.assert_string (v)</code></a></h4>
+<h4 heading><a name="Luan.assert_string" href="#Luan.assert_string"><code>Luan.assert_string (v)</code></a></h4>
 
 <p>
 Like <a href="#Luan.assert_binary"><code>assert_binary</code></a> but for type <code>string</code>.
 
 
-<h4 heading><a name="Luan.assert_table"><code>Luan.assert_table (v)</code></a></h4>
+<h4 heading><a name="Luan.assert_table" href="#Luan.assert_table"><code>Luan.assert_table (v)</code></a></h4>
 
 <p>
 Like <a href="#Luan.assert_binary"><code>assert_binary</code></a> but for type <code>table</code>.
 
 
-<h4 heading><a name="Luan.do_file"><code>Luan.do_file ([uri])</code></a></h4>
+<h4 heading><a name="Luan.do_file" href="#Luan.do_file"><code>Luan.do_file ([uri])</code></a></h4>
 
 <p>
 Could be defined as:
@@ -1916,7 +1916,7 @@
 
 
 
-<h4 heading><a name="Luan.error"><code>Luan.error (message)</code></a></h4>
+<h4 heading><a name="Luan.error" href="#Luan.error"><code>Luan.error (message)</code></a></h4>
 
 <p>
 Throws an error containing the message.
@@ -1932,7 +1932,7 @@
 
 
 
-<h4 heading><a name="Luan.get_metatable"><code>Luan.get_metatable (table)</code></a></h4>
+<h4 heading><a name="Luan.get_metatable" href="#Luan.get_metatable"><code>Luan.get_metatable (table)</code></a></h4>
 
 <p>
 If <code>table</code> does not have a metatable, returns <b>nil</b>.
@@ -1942,7 +1942,7 @@
 Otherwise, returns the metatable of the given table.
 
 
-<h4 heading><a name="Luan.ipairs"><code>Luan.ipairs (t)</code></a></h4>
+<h4 heading><a name="Luan.ipairs" href="#Luan.ipairs"><code>Luan.ipairs (t)</code></a></h4>
 
 <p>
 Returns an iterator function
@@ -1974,7 +1974,7 @@
 
 
 
-<h4 heading><a name="Luan.load"><code>Luan.load (text, [source_name [env, [, allow_expression]]])</code></a></h4>
+<h4 heading><a name="Luan.load" href="#Luan.load"><code>Luan.load (text, [source_name [env, [, allow_expression]]])</code></a></h4>
 
 <p>
 Loads a chunk.
@@ -1995,7 +1995,7 @@
 If the <code>allow_expression</code> parameter is <code>true</code> then the entire text can be nothing more than an expression in which case the chunk returns the value of this expression.
 
 
-<h4 heading><a name="Luan.load_file"><code>Luan.load_file (file_uri [, add_extension])</code></a></h4>
+<h4 heading><a name="Luan.load_file" href="#Luan.load_file"><code>Luan.load_file (file_uri [, add_extension])</code></a></h4>
 
 <p>
 Similar to <a href="#Luan.load"><code>load</code></a>,
@@ -2016,7 +2016,7 @@
 </pre>
 
 
-<h4 heading><a name="Luan.new_error"><code>Luan.new_error (message)</code></a></h4>
+<h4 heading><a name="Luan.new_error" href="#Luan.new_error"><code>Luan.new_error (message)</code></a></h4>
 
 <p>
 Creates a new error table containing the message assigned to "<code>message</code>".  The error table also contains a <code>throw</code> function which throws the error.  The table also contains a list of stack trace elements where each stack trace element is a table containing "<code>source</code>", "<code>line</code>", and possible "<code>call_to</code>".  The table also has a metatable containing "<code>__to_string</code>" to render the error.
@@ -2029,7 +2029,7 @@
 </pre>
 
 
-<h4 heading><a name="Luan.pairs"><code>Luan.pairs (t)</code></a></h4>
+<h4 heading><a name="Luan.pairs" href="#Luan.pairs"><code>Luan.pairs (t)</code></a></h4>
 
 <p>
 If <code>t</code> has a metamethod <code>__pairs</code>,
@@ -2051,7 +2051,7 @@
 
 
 
-<h4 heading><a name="Luan.pcall"><code>Luan.pcall (f [, arg1, &middot;&middot;&middot;])</code></a></h4>
+<h4 heading><a name="Luan.pcall" href="#Luan.pcall"><code>Luan.pcall (f [, arg1, &middot;&middot;&middot;])</code></a></h4>
 
 <p>
 Calls function <code>f</code> with
@@ -2081,7 +2081,7 @@
 
 
 
-<h4 heading><a name="Luan.range"><code>Luan.range (start, stop [, step])</code></a></h4>
+<h4 heading><a name="Luan.range" href="#Luan.range"><code>Luan.range (start, stop [, step])</code></a></h4>
 
 <p>
 Based on <a href="https://docs.python.org/2/library/functions.html#range">the Python range() function</a>, this lets one iterate through a sequence of numbers.
@@ -2118,7 +2118,7 @@
 
 
 
-<h4 heading><a name="Luan.raw_equal"><code>Luan.raw_equal (v1, v2)</code></a></h4>
+<h4 heading><a name="Luan.raw_equal" href="#Luan.raw_equal"><code>Luan.raw_equal (v1, v2)</code></a></h4>
 
 <p>
 Checks whether <code>v1</code> is equal to <code>v2</code>,
@@ -2127,7 +2127,7 @@
 
 
 
-<h4 heading><a name="Luan.raw_get"><code>Luan.raw_get (table, index)</code></a></h4>
+<h4 heading><a name="Luan.raw_get" href="#Luan.raw_get"><code>Luan.raw_get (table, index)</code></a></h4>
 
 <p>
 Gets the real value of <code>table[index]</code>,
@@ -2137,7 +2137,7 @@
 
 
 
-<h4 heading><a name="Luan.raw_len"><code>Luan.raw_len (v)</code></a></h4>
+<h4 heading><a name="Luan.raw_len" href="#Luan.raw_len"><code>Luan.raw_len (v)</code></a></h4>
 
 <p>
 Returns the length of the object <code>v</code>,
@@ -2147,7 +2147,7 @@
 
 
 
-<h4 heading><a name="Luan.raw_set"><code>Luan.raw_set (table, index, value)</code></a></h4>
+<h4 heading><a name="Luan.raw_set" href="#Luan.raw_set"><code>Luan.raw_set (table, index, value)</code></a></h4>
 
 <p>
 Sets the real value of <code>table[index]</code> to <code>value</code>,
@@ -2157,7 +2157,7 @@
 and <code>value</code> any Lua value.
 
 
-<h4 heading><a name="Luan.set_metatable"><code>Luan.set_metatable (table, metatable)</code></a></h4>
+<h4 heading><a name="Luan.set_metatable" href="#Luan.set_metatable"><code>Luan.set_metatable (table, metatable)</code></a></h4>
 
 <p>
 Sets the metatable for the given table.
@@ -2168,7 +2168,7 @@
 
 
 
-<h4 heading><a name="Luan.to_string"><code>Luan.to_string (v)</code></a></h4>
+<h4 heading><a name="Luan.to_string" href="#Luan.to_string"><code>Luan.to_string (v)</code></a></h4>
 
 <p>
 Receives a value of any type and
@@ -2182,7 +2182,7 @@
 
 
 
-<h4 heading><a name="Luan.try"><code>Luan.try (t, &middot;&middot;&middot;)</code></a></h4>
+<h4 heading><a name="Luan.try" href="#Luan.try"><code>Luan.try (t, &middot;&middot;&middot;)</code></a></h4>
 
 <p>
 Implements try-catch as found in other languages where each block is in table <code>t</code>.  <code>t[1]</code> is the "try" block.  The <code>t.catch</code> and <code>t.finally</code> blocks are optional.  Any extra arguments are passed to the "try" function.  Returns the result of the "try" block or the "catch" block.
@@ -2224,7 +2224,7 @@
 </pre>
 
 
-<h4 heading><a name="Luan.type"><code>Luan.type (v)</code></a></h4>
+<h4 heading><a name="Luan.type" href="#Luan.type"><code>Luan.type (v)</code></a></h4>
 
 <p>
 Returns the type of its only argument, coded as a string.
@@ -2239,7 +2239,7 @@
 and "<code>java</code>".
 
 
-<h4 heading><a name="Luan.values"><code>Luan.values (&middot;&middot;&middot;)</code></a></h4>
+<h4 heading><a name="Luan.values" href="#Luan.values"><code>Luan.values (&middot;&middot;&middot;)</code></a></h4>
 
 <p>
 Returns a function so that the construction
@@ -2253,7 +2253,7 @@
 
 
 
-<h4 heading><a name="Luan.VERSION"><code>Luan.VERSION</code></a></h4>
+<h4 heading><a name="Luan.VERSION" href="#Luan.VERSION"><code>Luan.VERSION</code></a></h4>
 
 <p>
 A global variable (not a function) that
@@ -2279,7 +2279,7 @@
 facilities for loading modules in Luan.
 
 
-<h4 heading><a name="Package.load"><code>Package.load (mod_uri)</code></a></h4>
+<h4 heading><a name="Package.load" href="#Package.load"><code>Package.load (mod_uri)</code></a></h4>
 
 <p>
 Loads the given module.
@@ -2301,7 +2301,7 @@
 
 
 
-<h4 heading><a name="Package.loaded"><code>Package.loaded</code></a></h4>
+<h4 heading><a name="Package.loaded" href="#Package.loaded"><code>Package.loaded</code></a></h4>
 
 
 <p>
@@ -2342,7 +2342,7 @@
 
 
 
-<h4 heading><a name="String.char"><code>String.char (&middot;&middot;&middot;)</code></a></h4>
+<h4 heading><a name="String.char" href="#String.char"><code>String.char (&middot;&middot;&middot;)</code></a></h4>
 
 <p>
 Receives zero or more integers.
@@ -2351,14 +2351,14 @@
 to its corresponding argument.
 
 
-<h4 heading><a name="String.concat"><code>String.concat (&middot;&middot;&middot;)</code></a></h4>
+<h4 heading><a name="String.concat" href="#String.concat"><code>String.concat (&middot;&middot;&middot;)</code></a></h4>
 
 <p>
 Concatenates the <a href="#Luan.to_string"><code>to_string</code></a> value of all arguments.
 
 
 
-<h4 heading><a name="String.encode"><code>String.encode (s)</code></a></h4>
+<h4 heading><a name="String.encode" href="#String.encode"><code>String.encode (s)</code></a></h4>
 
 <p>
 Encodes argument <code>s</code> into a string that can be placed in quotes so as to return the original value of the string.
@@ -2366,7 +2366,7 @@
 
 
 
-<h4 heading><a name="String.find"><code>String.find (s, pattern [, init [, plain]])</code></a></h4>
+<h4 heading><a name="String.find" href="#String.find"><code>String.find (s, pattern [, init [, plain]])</code></a></h4>
 
 <p>
 Looks for the first match of
@@ -2392,7 +2392,7 @@
 
 
 
-<h4 heading><a name="String.format"><code>String.format (formatstring, &middot;&middot;&middot;)</code></a></h4>
+<h4 heading><a name="String.format" href="#String.format"><code>String.format (formatstring, &middot;&middot;&middot;)</code></a></h4>
 
 
 <p>
@@ -2405,7 +2405,7 @@
 
 
 
-<h4 heading><a name="String.gmatch"><code>String.gmatch (s, pattern)</code></a></h4>
+<h4 heading><a name="String.gmatch" href="#String.gmatch"><code>String.gmatch (s, pattern)</code></a></h4>
 
 <p>
 Returns an iterator function that,
@@ -2446,7 +2446,7 @@
 
 
 
-<h4 heading><a name="String.gsub"><code>String.gsub (s, pattern, repl [, n])</code></a></h4>
+<h4 heading><a name="String.gsub" href="#String.gsub"><code>String.gsub (s, pattern, repl [, n])</code></a></h4>
 
 <p>
 Returns a copy of <code>s</code>
@@ -2519,12 +2519,12 @@
 
 
 
-<h4 heading><a name="String.literal"><code>String.literal (s)</code></a></h4>
+<h4 heading><a name="String.literal" href="#String.literal"><code>String.literal (s)</code></a></h4>
 <p>
 Returns a string which matches the literal string <code>s</code> in a regular expression.  This function is simply the Java method <a href="http://docs.oracle.com/javase/7/docs/api/java/util/regex/Pattern.html#quote(java.lang.String)"><code>Pattern.quote</code></a>.
 
 
-<h4 heading><a name="String.lower"><code>String.lower (s)</code></a></h4>
+<h4 heading><a name="String.lower" href="#String.lower"><code>String.lower (s)</code></a></h4>
 <p>
 Receives a string and returns a copy of this string with all
 uppercase letters changed to lowercase.
@@ -2533,7 +2533,7 @@
 
 
 
-<h4 heading><a name="String.match"><code>String.match (s, pattern [, init])</code></a></h4>
+<h4 heading><a name="String.match" href="#String.match"><code>String.match (s, pattern [, init])</code></a></h4>
 
 <p>
 Looks for the first <em>match</em> of
@@ -2548,7 +2548,7 @@
 its default value is&nbsp;1 and can be negative.
 
 
-<h4 heading><a name="String.matches"><code>String.matches (s, pattern)</code></a></h4>
+<h4 heading><a name="String.matches" href="#String.matches"><code>String.matches (s, pattern)</code></a></h4>
 <p>
 Returns a boolean indicating whether the <code>pattern</code> can be found in string <code>s</code>.
 This function is equivalent to
@@ -2558,7 +2558,7 @@
 </pre>
 
 
-<h4 heading><a name="String.rep"><code>String.rep (s, n [, sep])</code></a></h4>
+<h4 heading><a name="String.rep" href="#String.rep"><code>String.rep (s, n [, sep])</code></a></h4>
 <p>
 Returns a string that is the concatenation of <code>n</code> copies of
 the string <code>s</code> separated by the string <code>sep</code>.
@@ -2569,14 +2569,14 @@
 
 
 
-<h4 heading><a name="String.reverse"><code>String.reverse (s)</code></a></h4>
+<h4 heading><a name="String.reverse" href="#String.reverse"><code>String.reverse (s)</code></a></h4>
 <p>
 Returns a string that is the string <code>s</code> reversed.
 
 
 
 
-<h4 heading><a name="String.sub"><code>String.sub (s, i [, j])</code></a></h4>
+<h4 heading><a name="String.sub" href="#String.sub"><code>String.sub (s, i [, j])</code></a></h4>
 
 <p>
 Returns the substring of <code>s</code> that
@@ -2603,14 +2603,14 @@
 
 
 
-<h4 heading><a name="String.to_binary"><code>String.to_binary (s)</code></a></h4>
+<h4 heading><a name="String.to_binary" href="#String.to_binary"><code>String.to_binary (s)</code></a></h4>
 
 <p>
 Converts a string to a binary by calling the Java method <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html#getBytes()"><code>String.getBytes</code></a>.
 
 
 
-<h4 heading><a name="String.to_number"><code>String.to_number (s [, base])</code></a></h4>
+<h4 heading><a name="String.to_number" href="#String.to_number"><code>String.to_number (s [, base])</code></a></h4>
 
 <p>
 When called with no <code>base</code>,
@@ -2635,7 +2635,7 @@
 
 
 
-<h4 heading><a name="String.trim"><code>String.trim (s)</code></a></h4>
+<h4 heading><a name="String.trim" href="#String.trim"><code>String.trim (s)</code></a></h4>
 
 <p>
 Removes the leading and trailing whitespace by calling the Java method <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html#trim()"><code>String.trim</code></a>.
@@ -2643,7 +2643,7 @@
 
 
 
-<h4 heading><a name="String.unicode"><code>String.unicode (s [, i [, j]])</code></a></h4>
+<h4 heading><a name="String.unicode" href="#String.unicode"><code>String.unicode (s [, i [, j]])</code></a></h4>
 
 <p>
 Returns the internal numerical codes of the characters <code>s[i]</code>,
@@ -2657,7 +2657,7 @@
 
  
 
-<h4 heading><a name="String.upper"><code>String.upper (s)</code></a></h4>
+<h4 heading><a name="String.upper" href="#String.upper"><code>String.upper (s)</code></a></h4>
 <p>
 Receives a string and returns a copy of this string with all
 lowercase letters changed to uppercase.
@@ -2678,7 +2678,7 @@
 </pre>
 
 
-<h4 heading><a name="Binary.binary"><code>Binary.binary (&middot;&middot;&middot;)</code></a></h4>
+<h4 heading><a name="Binary.binary" href="#Binary.binary"><code>Binary.binary (&middot;&middot;&middot;)</code></a></h4>
 
 <p>
 Receives zero or more bytes (as integers).
@@ -2687,7 +2687,7 @@
 to its corresponding argument.
 
 
-<h4 heading><a name="Binary.byte"><code>Binary.byte (b [, i [, j]])</code></a></h4>
+<h4 heading><a name="Binary.byte" href="#Binary.byte"><code>Binary.byte (b [, i [, j]])</code></a></h4>
 
 <p>
 Returns the internal numerical codes of the bytes <code>b[i]</code>,
@@ -2698,7 +2698,7 @@
 following the same rules of function <a href="#String.sub"><code>String.sub</code></a>.
 
 
-<h4 heading><a name="Binary.to_string"><code>Binary.to_string (b)</code></a></h4>
+<h4 heading><a name="Binary.to_string" href="#Binary.to_string"><code>Binary.to_string (b)</code></a></h4>
 <p>
 Converts the binary <code>b</code> to a string using the Java <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html#String(byte[])">String constructor</a>.
 
@@ -2720,13 +2720,13 @@
 
 
 
-<h4 heading><a name="Table.clear"><code>Table.clear (tbl)</code></a></h4>
+<h4 heading><a name="Table.clear" href="#Table.clear"><code>Table.clear (tbl)</code></a></h4>
 
 <p>
 Clears the table.
 
 
-<h4 heading><a name="Table.concat"><code>Table.concat (list [, sep [, i [, j]]])</code></a></h4>
+<h4 heading><a name="Table.concat" href="#Table.concat"><code>Table.concat (list [, sep [, i [, j]]])</code></a></h4>
 
 <p>
 Given a list,
@@ -2737,7 +2737,7 @@
 If <code>i</code> is greater than <code>j</code>, returns the empty string.
 
 
-<h4 heading><a name="Table.copy"><code>Table.copy (tbl [, i [, j]])</code></a></h4>
+<h4 heading><a name="Table.copy" href="#Table.copy"><code>Table.copy (tbl [, i [, j]])</code></a></h4>
 
 <p>
 If <code>i</code> is <code>nil</code>, returns a shallow copy of <code>tbl</code>.
@@ -2746,7 +2746,7 @@
 
 
 
-<h4 heading><a name="Table.insert"><code>Table.insert (list, pos, value)</code></a></h4>
+<h4 heading><a name="Table.insert" href="#Table.insert"><code>Table.insert (list, pos, value)</code></a></h4>
 
 <p>
 Inserts element <code>value</code> at position <code>pos</code> in <code>list</code>,
@@ -2755,7 +2755,7 @@
 
 
 
-<h4 heading><a name="Table.pack"><code>Table.pack (&middot;&middot;&middot;)</code></a></h4>
+<h4 heading><a name="Table.pack" href="#Table.pack"><code>Table.pack (&middot;&middot;&middot;)</code></a></h4>
 
 <p>
 Returns a new table with all parameters stored into keys 1, 2, etc.
@@ -2765,7 +2765,7 @@
 
 
 
-<h4 heading><a name="Table.remove"><code>Table.remove (list, pos)</code></a></h4>
+<h4 heading><a name="Table.remove" href="#Table.remove"><code>Table.remove (list, pos)</code></a></h4>
 
 
 <p>
@@ -2782,7 +2782,7 @@
 
 
 
-<h4 heading><a name="Table.sort"><code>Table.sort (list [, comp])</code></a></h4>
+<h4 heading><a name="Table.sort" href="#Table.sort"><code>Table.sort (list [, comp])</code></a></h4>
 
 <p>
 Sorts list elements in a given order, <em>in-place</em>,
@@ -2802,7 +2802,7 @@
 
 
 
-<h4 heading><a name="Table.unpack"><code>Table.unpack (list [, i [, j]])</code></a></h4>
+<h4 heading><a name="Table.unpack" href="#Table.unpack"><code>Table.unpack (list [, i [, j]])</code></a></h4>
 
 <p>
 Returns the elements from the given list.
@@ -2828,31 +2828,31 @@
 </pre>
 
 
-<h4 heading><a name="Number.double"><code>Number.double (x)</code></a></h4>
+<h4 heading><a name="Number.double" href="#Number.double"><code>Number.double (x)</code></a></h4>
 <p>
 Returns <code>x</code> as a double.
 
 
-<h4 heading><a name="Number.integer"><code>Number.integer (x)</code></a></h4>
+<h4 heading><a name="Number.integer" href="#Number.integer"><code>Number.integer (x)</code></a></h4>
 <p>
 If the value <code>x</code> is convertible to an integer,
 returns that integer.
 Otherwise throws an error.
 
 
-<h4 heading><a name="Number.long"><code>Number.long (x)</code></a></h4>
+<h4 heading><a name="Number.long" href="#Number.long"><code>Number.long (x)</code></a></h4>
 <p>
 If the value <code>x</code> is convertible to an long,
 returns that long.
 Otherwise throws an error.
 
 
-<h4 heading><a name="Number.long_to_string"><code>Number.long_to_string (i, radix)</code></a></h4>
+<h4 heading><a name="Number.long_to_string" href="#Number.long_to_string"><code>Number.long_to_string (i, radix)</code></a></h4>
 <p>
 Converts long value <code>i</code> to a string by calling <code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Long.html#toString(long,%20int)">Long.toString</a></code>.
 
 
-<h4 heading><a name="Number.type"><code>Number.type (x)</code></a></h4>
+<h4 heading><a name="Number.type" href="#Number.type"><code>Number.type (x)</code></a></h4>
 <p>
 Returns a string for the numeric type of <code>x</code>.  Possible return values include "<code>integer</code>", "<code>long</code>", "<code>double</code>", and "<code>float</code>".
 
@@ -2873,14 +2873,14 @@
 It provides all its functions and constants inside the table <code>Math</code>.
 
 
-<h4 heading><a name="Math.abs"><code>Math.abs (x)</code></a></h4>
+<h4 heading><a name="Math.abs" href="#Math.abs"><code>Math.abs (x)</code></a></h4>
 
 <p>
 Returns the absolute value of <code>x</code>.
 
 
 
-<h4 heading><a name="Math.acos"><code>Math.acos (x)</code></a></h4>
+<h4 heading><a name="Math.acos" href="#Math.acos"><code>Math.acos (x)</code></a></h4>
 
 <p>
 Returns the arc cosine of <code>x</code> (in radians).
@@ -2888,7 +2888,7 @@
 
 
 
-<h4 heading><a name="Math.asin"><code>Math.asin (x)</code></a></h4>
+<h4 heading><a name="Math.asin" href="#Math.asin"><code>Math.asin (x)</code></a></h4>
 
 <p>
 Returns the arc sine of <code>x</code> (in radians).
@@ -2896,7 +2896,7 @@
 
 
 
-<h4 heading><a name="Math.atan"><code>Math.atan (y, x)</code></a></h4>
+<h4 heading><a name="Math.atan" href="#Math.atan"><code>Math.atan (y, x)</code></a></h4>
 
 <p>
 Returns the arc tangent of <code>y/x</code> (in radians),
@@ -2907,7 +2907,7 @@
 
 
 
-<h4 heading><a name="Math.ceil"><code>Math.ceil (x)</code></a></h4>
+<h4 heading><a name="Math.ceil" href="#Math.ceil"><code>Math.ceil (x)</code></a></h4>
 
 <p>
 Returns the smallest integral value larger than or equal to <code>x</code>.
@@ -2915,7 +2915,7 @@
 
 
 
-<h4 heading><a name="Math.cos"><code>Math.cos (x)</code></a></h4>
+<h4 heading><a name="Math.cos" href="#Math.cos"><code>Math.cos (x)</code></a></h4>
 
 <p>
 Returns the cosine of <code>x</code> (assumed to be in radians).
@@ -2923,7 +2923,7 @@
 
 
 
-<h4 heading><a name="Math.deg"><code>Math.deg (x)</code></a></h4>
+<h4 heading><a name="Math.deg" href="#Math.deg"><code>Math.deg (x)</code></a></h4>
 
 <p>
 Converts the angle <code>x</code> from radians to degrees.
@@ -2931,7 +2931,7 @@
 
 
 
-<h4 heading><a name="Math.exp"><code>Math.exp (x)</code></a></h4>
+<h4 heading><a name="Math.exp" href="#Math.exp"><code>Math.exp (x)</code></a></h4>
 
 <p>
 Returns the value <em>e<sup>x</sup></em>
@@ -2940,7 +2940,7 @@
 
 
 
-<h4 heading><a name="Math.floor"><code>Math.floor (x)</code></a></h4>
+<h4 heading><a name="Math.floor" href="#Math.floor"><code>Math.floor (x)</code></a></h4>
 
 <p>
 Returns the largest integral value smaller than or equal to <code>x</code>.
@@ -2948,7 +2948,7 @@
 
 
 
-<h4 heading><a name="Math.fmod"><code>Math.fmod (x, y)</code></a></h4>
+<h4 heading><a name="Math.fmod" href="#Math.fmod"><code>Math.fmod (x, y)</code></a></h4>
 
 <p>
 Returns the remainder of the division of <code>x</code> by <code>y</code>
@@ -2957,7 +2957,7 @@
 
 
 
-<h4 heading><a name="Math.huge"><code>Math.huge</code></a></h4>
+<h4 heading><a name="Math.huge" href="#Math.huge"><code>Math.huge</code></a></h4>
 
 <p>
 A value larger than any other numerical value.
@@ -2965,7 +2965,7 @@
 
 
 
-<h4 heading><a name="Math.log"><code>Math.log (x [, base])</code></a></h4>
+<h4 heading><a name="Math.log" href="#Math.log"><code>Math.log (x [, base])</code></a></h4>
 
 <p>
 Returns the logarithm of <code>x</code> in the given base.
@@ -2975,7 +2975,7 @@
 
 
 
-<h4 heading><a name="Math.max"><code>Math.max (x, &middot;&middot;&middot;)</code></a></h4>
+<h4 heading><a name="Math.max" href="#Math.max"><code>Math.max (x, &middot;&middot;&middot;)</code></a></h4>
 
 <p>
 Returns the argument with the maximum value,
@@ -2984,14 +2984,14 @@
 
 
 
-<h4 heading><a name="Math.max_integer"><code>Math.max_integer</code></a></h4>
+<h4 heading><a name="Math.max_integer" href="#Math.max_integer"><code>Math.max_integer</code></a></h4>
 <p>
 An integer with the maximum value for an integer.
 
 
 
 
-<h4 heading><a name="Math.min"><code>Math.min (x, &middot;&middot;&middot;)</code></a></h4>
+<h4 heading><a name="Math.min" href="#Math.min"><code>Math.min (x, &middot;&middot;&middot;)</code></a></h4>
 
 <p>
 Returns the argument with the minimum value,
@@ -3000,14 +3000,14 @@
 
 
 
-<h4 heading><a name="Math.min_integer"><code>Math.min_integer</code></a></h4>
+<h4 heading><a name="Math.min_integer" href="#Math.min_integer"><code>Math.min_integer</code></a></h4>
 <p>
 An integer with the minimum value for an integer.
 
 
 
 
-<h4 heading><a name="Math.modf"><code>Math.modf (x)</code></a></h4>
+<h4 heading><a name="Math.modf" href="#Math.modf"><code>Math.modf (x)</code></a></h4>
 
 <p>
 Returns the integral part of <code>x</code> and the fractional part of <code>x</code>.
@@ -3015,7 +3015,7 @@
 
 
 
-<h4 heading><a name="Math.pi"><code>Math.pi</code></a></h4>
+<h4 heading><a name="Math.pi" href="#Math.pi"><code>Math.pi</code></a></h4>
 
 <p>
 The value of <em>&pi;</em>.
@@ -3023,7 +3023,7 @@
 
 
 
-<h4 heading><a name="Math.rad"><code>Math.rad (x)</code></a></h4>
+<h4 heading><a name="Math.rad" href="#Math.rad"><code>Math.rad (x)</code></a></h4>
 
 <p>
 Converts the angle <code>x</code> from degrees to radians.
@@ -3031,7 +3031,7 @@
 
 
 
-<h4 heading><a name="Math.random"><code>Math.random ([m [, n])</code></a></h4>
+<h4 heading><a name="Math.random" href="#Math.random"><code>Math.random ([m [, n])</code></a></h4>
 
 
 <p>
@@ -3053,7 +3053,7 @@
 
 
 
-<h4 heading><a name="Math.sin"><code>Math.sin (x)</code></a></h4>
+<h4 heading><a name="Math.sin" href="#Math.sin"><code>Math.sin (x)</code></a></h4>
 
 <p>
 Returns the sine of <code>x</code> (assumed to be in radians).
@@ -3061,7 +3061,7 @@
 
 
 
-<h4 heading><a name="Math.sqrt"><code>Math.sqrt (x)</code></a></h4>
+<h4 heading><a name="Math.sqrt" href="#Math.sqrt"><code>Math.sqrt (x)</code></a></h4>
 
 <p>
 Returns the square root of <code>x</code>.
@@ -3070,7 +3070,7 @@
 
 
 
-<h4 heading><a name="Math.tan"><code>Math.tan (x)</code></a></h4>
+<h4 heading><a name="Math.tan" href="#Math.tan"><code>Math.tan (x)</code></a></h4>
 
 <p>
 Returns the tangent of <code>x</code> (assumed to be in radians).