Script Classes for Adventure Games/Set Class: Difference between revisions

From Sierra Wiki
Jump to navigationJump to search
Andrew Branscom (talk | contribs)
m 1 revision imported
Andrew Branscom (talk | contribs)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Del}}
[[Category:SCI Pages]]
[[Official SCI Documentation]]<br />
[[Official SCI Documentation]]<br />
[[Script Classes for Adventure Games | Table of Contents]]
[[Script Classes for Adventure Games | Table of Contents]]
<div align="center">
<div align="center">
Chapter:  
Chapter:  
Line 33: Line 32:
[[Script Classes for Adventure Games/Global Variables|27]] |  
[[Script Classes for Adventure Games/Global Variables|27]] |  
[[Script Classes for Adventure Games/Index|Index]]
[[Script Classes for Adventure Games/Index|Index]]
</div><br />
</div>
 
<div align="center"><span style="font-size: 22pt">The Set Class</span><br />''Author: [[Jeff Stephenson]]''<br />''1988-04-05''</div></div>
<div align="center"><span style="font-size: 22pt">The Set Class</span><br />
''Author: [[Jeff Stephenson]]''<br />
''Date: 5 April 1988''</div>
 
&nbsp;


<br />
==<br /> The Set Class ==
==<br /> The Set Class ==


Line 68: Line 63:
==<br /> References ==
==<br /> References ==


<references />
<references /><!-- Do not edit this section. It is autopopulated by <ref></ref> tags -->


==<br /> See Also: ==
==<br /> Also See ==


* [[:Category:SCI Documentation|SCI Documentation]]
* [[:Category:Official SCI Documentation|Official SCI Documentation]]
* [[:Category:SCI Scripting|SCI Scripting]]
* [[:Category:SCI Classes|SCI]]
* [[:Category:SCI Set Class | The SCI Set Class]]
* [[SCI Specifications]]
* [[SCI Specifications]]
&nbsp;
&nbsp;


[[Official SCI Documentation]]<br />
[[Script Classes for Adventure Games | Table of Contents]]
[[Script Classes for Adventure Games | Table of Contents]]


<span style="float: left">[[Script Classes for Adventure Games/List Class|&lt; Previous: The List Class]]</span>
<span style="float: left">[[Script Classes for Adventure Games/List Class|&lt; Previous: The List Class]]</span>
<span style="float: right">[[Script Classes for Adventure Games/EventHandler Class|Next: The EventHandler Class &gt;]]</span>
<span style="float: right">[[Script Classes for Adventure Games/EventHandler Class|Next: The &gt;]]</span>
 
&nbsp;
&nbsp;
[[Category:References]]
[[Category:References]]
[[Category:SCI References]]
[[Category:SCI References]]
[[Category:Historical Pages]]
[[Category:SCI Historical Pages]]
[[Category:Development]]
[[Category:SCI Development]]
[[Category:Documentation]]
[[Category:Documentation]]
[[Category:SCI Documentation]]
[[Category:SCI Documentation]]
[[Category:Official Documentation]]
[[Category:Official SCI Documentation]]
[[Category:Scripting]]
[[Category:Scripting]]
[[Category:SCI Scripting]]
[[Category:SCI Scripting]]
[[Category:Classes]]
[[Category:Classes]]
[[Category:SCI Classes]]
[[Category:SCI Classes]]
[[Category:Set Class]]
[[Category:SCI Set Class]]

Latest revision as of 20:34, 5 January 2026

Official SCI Documentation
Table of Contents

Chapter: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14
15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | Index

The Set Class
Author: Jeff Stephenson
1988-04-05



The Set Class

A Set is a kind of List which does not contain duplicate elements: adding an object to a Set

which already contains the object does not change the Set.

In file: system.sc
Inherits from: Collection
Inherited by: EventHandler


Properties

 


Methods


add: element [element ...]

Adds each element to the set only if it is not already a member of the set.


References



Also See

 

Official SCI Documentation
Table of Contents

< Previous: The List Class Next: The >