\contentsline {chapter}{\numberline {1}Introduction}{1}
\contentsline {chapter}{\numberline {2}Built-in Types, Exceptions and Functions}{2}
\contentsline {section}{\numberline {2.1}Built-in Types}{2}
\contentsline {subsection}{\numberline {2.1.1}Truth Value Testing}{2}
\contentsline {subsection}{\numberline {2.1.2}Boolean Operations}{3}
\contentsline {subsection}{\numberline {2.1.3}Comparisons}{3}
\contentsline {subsection}{\numberline {2.1.4}Numeric Types}{4}
\contentsline {subsubsection}{Bit-string Operations on Integer Types.}{5}
\contentsline {subsection}{\numberline {2.1.5}Sequence Types}{5}
\contentsline {subsubsection}{More String Operations.}{6}
\contentsline {subsubsection}{Mutable Sequence Types.}{7}
\contentsline {subsection}{\numberline {2.1.6}Mapping Types}{8}
\contentsline {subsection}{\numberline {2.1.7}Other Built-in Types}{9}
\contentsline {subsubsection}{Modules.}{9}
\contentsline {subsubsection}{Classes and Class Instances.}{9}
\contentsline {subsubsection}{Functions.}{9}
\contentsline {subsubsection}{Methods.}{9}
\contentsline {subsubsection}{Type Objects.}{10}
\contentsline {subsubsection}{The Null Object.}{10}
\contentsline {subsubsection}{File Objects.}{10}
\contentsline {subsubsection}{Internal Objects.}{11}
\contentsline {subsection}{\numberline {2.1.8}Special Attributes}{11}
\contentsline {section}{\numberline {2.2}Built-in Exceptions}{12}
\contentsline {section}{\numberline {2.3}Built-in Functions}{14}
\contentsline {chapter}{\numberline {3}Built-in Modules}{21}
\contentsline {section}{\numberline {3.1}Built-in Module {\ptt sys}}{21}
\contentsline {section}{\numberline {3.2}Built-in Module {\ptt {\ptt \char '137}{\ptt \char '137}builtin{\ptt \char '137}{\ptt \char '137}}}{23}
\contentsline {section}{\numberline {3.3}Built-in Module {\ptt {\ptt \char '137}{\ptt \char '137}main{\ptt \char '137}{\ptt \char '137}}}{23}
\contentsline {section}{\numberline {3.4}Built-in module {\ptt array}}{23}
\contentsline {section}{\numberline {3.5}Built-in Module {\ptt math}}{25}
\contentsline {section}{\numberline {3.6}Built-in Module {\ptt time}}{26}
\contentsline {section}{\numberline {3.7}Built-in Module {\ptt regex}}{27}
\contentsline {section}{\numberline {3.8}Built-in Module {\ptt marshal}}{30}
\contentsline {section}{\numberline {3.9}Built-in module {\ptt struct}}{31}
\contentsline {chapter}{\numberline {4}Standard Modules}{33}
\contentsline {section}{\numberline {4.1}Standard Module {\ptt getopt}}{33}
\contentsline {section}{\numberline {4.2}Standard Module {\ptt os}}{34}
\contentsline {section}{\numberline {4.3}Standard Module {\ptt rand}}{35}
\contentsline {section}{\numberline {4.4}Standard Module {\ptt regsub}}{35}
\contentsline {section}{\numberline {4.5}Standard Module {\ptt string}}{36}
\contentsline {section}{\numberline {4.6}Standard Module {\ptt whrandom}}{38}
\contentsline {section}{\numberline {4.7}Standard Module {\ptt aifc}}{39}
\contentsline {chapter}{\numberline {5}UNIX ONLY}{42}
\contentsline {section}{\numberline {5.1}Built-in Module {\ptt dbm}}{42}
\contentsline {section}{\numberline {5.2}Built-in module {\ptt fcntl}}{42}
\contentsline {section}{\numberline {5.3}Built-in Module {\ptt gdbm}}{43}
\contentsline {section}{\numberline {5.4}Built-in Module {\ptt grp}}{44}
\contentsline {section}{\numberline {5.5}Built-in Module {\ptt posix}}{44}
\contentsline {section}{\numberline {5.6}Standard Module {\ptt posixfile}}{48}
\contentsline {section}{\numberline {5.7}Standard Module {\ptt posixpath}}{51}
\contentsline {section}{\numberline {5.8}Built-in Module {\ptt pwd}}{53}
\contentsline {section}{\numberline {5.9}Built-in module {\ptt select}}{53}
\contentsline {section}{\numberline {5.10}Built-in Module {\ptt socket}}{54}
\contentsline {subsection}{\numberline {5.10.1}Socket Object Methods}{55}
\contentsline {subsection}{\numberline {5.10.2}Example}{57}
\contentsline {section}{\numberline {5.11}Built-in Module {\ptt thread}}{58}
\contentsline {chapter}{\numberline {6}MULTIMEDIA EXTENSIONS}{61}
\contentsline {section}{\numberline {6.1}Built-in module {\ptt audioop}}{61}
\contentsline {section}{\numberline {6.2}Built-in module {\ptt imageop}}{65}
\contentsline {section}{\numberline {6.3}Built-in Module {\ptt jpeg}}{66}
\contentsline {section}{\numberline {6.4}Built-in module {\ptt rgbimg}}{67}
\contentsline {chapter}{\numberline {7}CRYPTOGRAPHIC EXTENSIONS}{69}
\contentsline {section}{\numberline {7.1}Built-in module {\ptt md5}}{69}
\contentsline {section}{\numberline {7.2}Built-in module {\ptt mpz}}{70}
\contentsline {section}{\numberline {7.3}Built-in module {\ptt rotor}}{71}
\contentsline {chapter}{\numberline {8}STDWIN ONLY}{74}
\contentsline {section}{\numberline {8.1}Built-in Module {\ptt stdwin}}{74}
\contentsline {subsection}{\numberline {8.1.1}Functions Defined in Module {\ptt stdwin}}{74}
\contentsline {subsection}{\numberline {8.1.2}Window Object Methods}{78}
\contentsline {subsection}{\numberline {8.1.3}Drawing Object Methods}{80}
\contentsline {subsection}{\numberline {8.1.4}Menu Object Methods}{82}
\contentsline {subsection}{\numberline {8.1.5}Bitmap Object Methods}{82}
\contentsline {subsection}{\numberline {8.1.6}Text-edit Object Methods}{83}
\contentsline {subsection}{\numberline {8.1.7}Example}{84}
\contentsline {section}{\numberline {8.2}Standard Module {\ptt stdwinevents}}{84}
\contentsline {section}{\numberline {8.3}Standard Module {\ptt rect}}{85}
\contentsline {chapter}{\numberline {9}SGI IRIX ONLY}{87}
\contentsline {section}{\numberline {9.1}Built-in Module {\ptt al}}{87}
\contentsline {section}{\numberline {9.2}Standard Module {\ptt AL}}{89}
\contentsline {section}{\numberline {9.3}Built-in Module {\ptt fl}}{90}
\contentsline {subsection}{\numberline {9.3.1}Functions defined in module {\ptt fl}}{90}
\contentsline {subsection}{\numberline {9.3.2}Form object methods and data attributes}{92}
\contentsline {subsection}{\numberline {9.3.3}FORMS object methods and data attributes}{95}
\contentsline {section}{\numberline {9.4}Standard Module {\ptt FL}}{96}
\contentsline {section}{\numberline {9.5}Standard Module {\ptt flp}}{96}
\contentsline {section}{\numberline {9.6}Built-in Module {\ptt fm}}{97}
\contentsline {section}{\numberline {9.7}Built-in Module {\ptt gl}}{98}
\contentsline {section}{\numberline {9.8}Standard Modules {\ptt GL} and {\ptt DEVICE}}{100}
\contentsline {section}{\numberline {9.9}Built-in module {\ptt imgfile}}{101}
\contentsline {chapter}{\numberline {10}SUNOS ONLY}{102}
\contentsline {section}{\numberline {10.1}Built-in module {\ptt sunaudiodev}}{102}
\contentsline {subsection}{\numberline {10.1.1}Audio device object methods}{102}
