[Swift-commit] r2468 - trunk/docs
noreply at svn.ci.uchicago.edu
noreply at svn.ci.uchicago.edu
Thu Jan 29 06:06:50 CST 2009
Author: benc
Date: 2009-01-29 06:06:49 -0600 (Thu, 29 Jan 2009)
New Revision: 2468
Modified:
trunk/docs/userguide.xml
Log:
remove old type section replaced by hpdc import
Modified: trunk/docs/userguide.xml
===================================================================
--- trunk/docs/userguide.xml 2009-01-28 15:26:43 UTC (rev 2467)
+++ trunk/docs/userguide.xml 2009-01-29 12:06:49 UTC (rev 2468)
@@ -513,42 +513,7 @@
</section>
- <section>
- <title>Type System</title>
- <para>
-The SwiftScript type system consists of a number of <firstterm>simple
-types</firstterm>, <firstterm>marker types</firstterm> for files,
-arrays, and <firstterm>complex types</firstterm> composed of these types.
- </para>
- <para>
-The simple types are: string, float, int and boolean.
- </para>
-
- <para>
-Complex types are specified using the <firstterm>type</firstterm>
-keyword. The syntax is similar to struct in C or class in Java.
-For example, the below example declares a complex type with two
-members, a string called name and an integer called age.
-<programlisting>
-type person {
- string name;
- int age;
-}
-</programlisting>
- </para>
-
- <para>
-When referring to files on disk, the internal structure of the
-file is irrelevant; but it is still useful to declare types for those
-files so that Swift can perform type-checking on SwiftScript programs.
-In this case, a marker type can be declared, like this:
-
-<programlisting>
-type binaryfile;
-</programlisting>
- </para>
</section>
- </section>
<section><title>Variables</title>
<para>Variables in SwiftScript are declared to be of a specific type.
More information about the Swift-commit
mailing list