<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://wiki.sierrahelp.com/index.php?action=history&amp;feed=atom&amp;title=ScriptID%28%29</id>
	<title>ScriptID() - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.sierrahelp.com/index.php?action=history&amp;feed=atom&amp;title=ScriptID%28%29"/>
	<link rel="alternate" type="text/html" href="http://wiki.sierrahelp.com/index.php?title=ScriptID()&amp;action=history"/>
	<updated>2026-11-22T10:36:57Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.0</generator>
	<entry>
		<id>http://wiki.sierrahelp.com/index.php?title=ScriptID()&amp;diff=71749&amp;oldid=prev</id>
		<title>Andrew Branscom: 2 revisions imported</title>
		<link rel="alternate" type="text/html" href="http://wiki.sierrahelp.com/index.php?title=ScriptID()&amp;diff=71749&amp;oldid=prev"/>
		<updated>2025-02-16T21:05:23Z</updated>

		<summary type="html">&lt;p&gt;2 revisions imported&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 16:05, 16 February 2025&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Andrew Branscom</name></author>
	</entry>
	<entry>
		<id>http://wiki.sierrahelp.com/index.php?title=ScriptID()&amp;diff=71748&amp;oldid=prev</id>
		<title>Andrew Branscom: 1 revision imported</title>
		<link rel="alternate" type="text/html" href="http://wiki.sierrahelp.com/index.php?title=ScriptID()&amp;diff=71748&amp;oldid=prev"/>
		<updated>2024-06-03T05:14:26Z</updated>

		<summary type="html">&lt;p&gt;1 revision imported&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 00:14, 3 June 2024&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Andrew Branscom</name></author>
	</entry>
	<entry>
		<id>http://wiki.sierrahelp.com/index.php?title=ScriptID()&amp;diff=71747&amp;oldid=prev</id>
		<title>Andrew Branscom at 22:07, 12 April 2018</title>
		<link rel="alternate" type="text/html" href="http://wiki.sierrahelp.com/index.php?title=ScriptID()&amp;diff=71747&amp;oldid=prev"/>
		<updated>2018-04-12T22:07:24Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{ToDo}}&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot; style=&amp;quot;font-size: 22pt&amp;quot;&amp;gt;ScriptID()&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==&amp;lt;br /&amp;gt; Description ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;blockquote&amp;gt;&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;From the SCI Specs:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Kernel function 0x02:ScriptID(word, word)&lt;br /&gt;
&lt;br /&gt;
kfunct 0x02: ScriptID (word ScriptNr, word DispatchNr);&lt;br /&gt;
&lt;br /&gt;
(word) ScriptNr: Number of the script to reference (word) DispatchNr: Number of the Dispatch entry inside the script to reference&lt;br /&gt;
&lt;br /&gt;
Returns: (HeapPtr) : The address pointed to by the specified element of the dispatch/exports table (script block type #7)&lt;br /&gt;
&lt;br /&gt;
This function returns the address pointed to by an element of a script&amp;#039;s dispatch table. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;From the Official Kernel FunctionS:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
(ScriptID script [entry])&lt;br /&gt;
&lt;br /&gt;
Return the object ID for the object which at entry number entry in the publics table of script number script. This will load the script if it is not already in memory. If entry is not present, this returns the ID of entry number 0 of script.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;From the SCI Companion Documentation:&amp;#039;&amp;#039;&amp;#039;&amp;lt;ref&amp;gt;From Phil Fortier&amp;#039;s SCI Companion Documentation&amp;lt;/ref&amp;gt; &lt;br /&gt;
&lt;br /&gt;
ScriptID (Kernel)&lt;br /&gt;
&lt;br /&gt;
ScriptID(scriptNum [index])&lt;br /&gt;
&lt;br /&gt;
Returns the address in memory pointed to by entry Index in the exports segment of SCRIPT.&amp;lt;scriptNum&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
; gets the address in memory pointed to by entry 4 in the exports segment of SCRIPT.100.&lt;br /&gt;
(= heapPointer (ScriptID 100 4))&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;From the SCI Studio Help File:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
ScriptID&lt;br /&gt;
&lt;br /&gt;
heapPtr ScriptID(number scriptNum, number Index)&lt;br /&gt;
&lt;br /&gt;
Returns the address in memory pointed to by entry Index in the exports segment of SCRIPT.&amp;lt;scriptNum&amp;gt;.&lt;br /&gt;
Example&lt;br /&gt;
(var heapPointer)&lt;br /&gt;
= heapPointer ScriptID(100 4) /* gets the address in memory pointed to by entry 4 in the&lt;br /&gt;
exports segment of SCRIPT.100.*/&lt;br /&gt;
&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==&amp;lt;br /&amp;gt; Syntax ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==&amp;lt;br /&amp;gt; Parameters ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==&amp;lt;br /&amp;gt; Note ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==&amp;lt;br /&amp;gt; References ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;references /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==&amp;lt;br /&amp;gt; Related Links ==&lt;br /&gt;
&lt;br /&gt;
* &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:References]]&lt;br /&gt;
[[Category:SCI Documentation]]&lt;br /&gt;
[[Category:SCI Kernel Functions]]&lt;br /&gt;
[[Category:SCI Resource Functions]]&lt;br /&gt;
[[Category:Scripting]]&lt;/div&gt;</summary>
		<author><name>Andrew Branscom</name></author>
	</entry>
</feed>