home *** CD-ROM | disk | FTP | other *** search
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: LaTeX Document
(document/latex).
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| LaTeX Document (document/latex)
| magic
| Supported |
90%
| dexvert
| Hypertext Markup Language File (text/html)
| magic
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| HTML document text
| default (weak)
| |
99%
| file
| LaTeX document text
| default
| |
98%
| file
| exported SGML document text
| default
| |
97%
| file
| exported SGML document, ASCII text
| default
| |
80%
| TrID
| HyperText Markup Language with DOCTYPE
| default
| |
19%
| TrID
| HyperText Markup Language
| default
| |
100%
| checkBytes
| Printable ASCII
| default
| |
100%
| perlTextCheck
| Likely Text (Perl)
| default
| |
100%
| gt2
| HTML (Hyper Text Markup Language) Datei
| default
| |
100%
| detectItEasy
| Format: plain text[LF]
| default (weak)
| |
100%
| xdgMime
| text/html
| default
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 3c 21 44 4f 43 54 59 50 | 45 20 48 54 4d 4c 20 50 |<!DOCTYP|E HTML P|
|00000010| 55 42 4c 49 43 20 22 2d | 2f 2f 57 33 43 2f 2f 44 |UBLIC "-|//W3C//D|
|00000020| 54 44 20 48 54 4d 4c 20 | 33 2e 32 20 46 69 6e 61 |TD HTML |3.2 Fina|
|00000030| 6c 2f 2f 65 6e 22 3e 0a | 0a 3c 21 2d 2d 43 6f 6e |l//en">.|.<!--Con|
|00000040| 76 65 72 74 65 64 20 77 | 69 74 68 20 4c 61 54 65 |verted w|ith LaTe|
|00000050| 58 32 48 54 4d 4c 20 32 | 30 32 32 20 28 52 65 6c |X2HTML 2|022 (Rel|
|00000060| 65 61 73 65 64 20 4a 61 | 6e 75 61 72 79 20 31 2c |eased Ja|nuary 1,|
|00000070| 20 32 30 32 32 29 20 2d | 2d 3e 0a 3c 48 54 4d 4c | 2022) -|->.<HTML|
|00000080| 20 6c 61 6e 67 3d 22 65 | 6e 22 3e 0a 3c 48 45 41 | lang="e|n">.<HEA|
|00000090| 44 3e 0a 3c 54 49 54 4c | 45 3e 43 6f 6e 74 65 6e |D>.<TITL|E>Conten|
|000000a0| 74 73 20 6f 66 20 42 75 | 69 6c 74 2d 69 6e 20 4d |ts of Bu|ilt-in M|
|000000b0| 6f 64 75 6c 65 20 6d 61 | 72 73 68 61 6c 3c 2f 54 |odule ma|rshal</T|
|000000c0| 49 54 4c 45 3e 0a 0a 3c | 4d 45 54 41 20 48 54 54 |ITLE>..<|META HTT|
|000000d0| 50 2d 45 51 55 49 56 3d | 22 43 6f 6e 74 65 6e 74 |P-EQUIV=|"Content|
|000000e0| 2d 54 79 70 65 22 20 43 | 4f 4e 54 45 4e 54 3d 22 |-Type" C|ONTENT="|
|000000f0| 74 65 78 74 2f 68 74 6d | 6c 3b 20 63 68 61 72 73 |text/htm|l; chars|
|00000100| 65 74 3d 75 74 66 2d 38 | 22 3e 0a 3c 4d 45 54 41 |et=utf-8|">.<META|
|00000110| 20 4e 41 4d 45 3d 22 76 | 69 65 77 70 6f 72 74 22 | NAME="v|iewport"|
|00000120| 20 43 4f 4e 54 45 4e 54 | 3d 22 77 69 64 74 68 3d | CONTENT|="width=|
|00000130| 64 65 76 69 63 65 2d 77 | 69 64 74 68 2c 20 69 6e |device-w|idth, in|
|00000140| 69 74 69 61 6c 2d 73 63 | 61 6c 65 3d 31 2e 30 22 |itial-sc|ale=1.0"|
|00000150| 3e 0a 3c 4d 45 54 41 20 | 4e 41 4d 45 3d 22 47 65 |>.<META |NAME="Ge|
|00000160| 6e 65 72 61 74 6f 72 22 | 20 43 4f 4e 54 45 4e 54 |nerator"| CONTENT|
|00000170| 3d 22 4c 61 54 65 58 32 | 48 54 4d 4c 20 76 32 30 |="LaTeX2|HTML v20|
|00000180| 32 32 22 3e 0a 0a 3c 4c | 49 4e 4b 20 52 45 4c 3d |22">..<L|INK REL=|
|00000190| 22 53 54 59 4c 45 53 48 | 45 45 54 22 20 48 52 45 |"STYLESH|EET" HRE|
|000001a0| 46 3d 22 6c 69 62 6d 61 | 72 73 68 61 6c 2e 63 73 |F="libma|rshal.cs|
|000001b0| 73 22 3e 0a 0a 3c 4c 49 | 4e 4b 20 52 45 4c 3d 22 |s">..<LI|NK REL="|
|000001c0| 70 72 65 76 69 6f 75 73 | 22 20 48 52 45 46 3d 22 |previous|" HREF="|
|000001d0| 6c 69 62 6d 61 72 73 68 | 61 6c 5f 6d 6e 2e 68 74 |libmarsh|al_mn.ht|
|000001e0| 6d 6c 22 3e 0a 3c 4c 49 | 4e 4b 20 52 45 4c 3d 22 |ml">.<LI|NK REL="|
|000001f0| 75 70 22 20 48 52 45 46 | 3d 22 6c 69 62 6d 61 72 |up" HREF|="libmar|
|00000200| 73 68 61 6c 5f 6d 6e 2e | 68 74 6d 6c 22 3e 0a 3c |shal_mn.|html">.<|
|00000210| 2f 48 45 41 44 3e 0a 20 | 0a 3c 42 4f 44 59 20 62 |/HEAD>. |.<BODY b|
|00000220| 67 63 6f 6c 6f 72 3d 22 | 23 66 66 66 66 66 66 22 |gcolor="|#ffffff"|
|00000230| 20 74 65 78 74 3d 22 23 | 30 30 30 30 30 30 22 20 | text="#|000000" |
|00000240| 6c 69 6e 6b 3d 22 23 39 | 39 34 34 45 45 22 20 76 |link="#9|944EE" v|
|00000250| 6c 69 6e 6b 3d 22 23 30 | 30 30 30 66 66 22 20 61 |link="#0|000ff" a|
|00000260| 6c 69 6e 6b 3d 22 23 30 | 30 66 66 30 30 22 3e 0a |link="#0|0ff00">.|
|00000270| 0a 3c 48 31 3e 3c 41 20 | 49 44 3d 22 53 45 43 54 |.<H1><A |ID="SECT|
|00000280| 49 4f 4e 30 30 30 31 30 | 30 30 30 30 30 30 30 30 |ION00010|00000000|
|00000290| 30 30 30 30 30 30 30 22 | 3e 0a 42 75 69 6c 74 2d |0000000"|>.Built-|
|000002a0| 69 6e 20 4d 6f 64 75 6c | 65 20 6d 61 72 73 68 61 |in Modul|e marsha|
|000002b0| 6c 3c 2f 41 3e 0a 3c 2f | 48 31 3e 0a 0a 3c 50 3e |l</A>.</|H1>..<P>|
|000002c0| 0a 6d 61 72 73 68 61 6c | 0a 54 68 69 73 20 6d 6f |.marshal|.This mo|
|000002d0| 64 75 6c 65 20 63 6f 6e | 74 61 69 6e 73 20 66 75 |dule con|tains fu|
|000002e0| 6e 63 74 69 6f 6e 73 20 | 74 68 61 74 20 63 61 6e |nctions |that can|
|000002f0| 20 72 65 61 64 20 61 6e | 64 20 77 72 69 74 65 20 | read an|d write |
|00000300| 50 79 74 68 6f 6e 0a 76 | 61 6c 75 65 73 20 69 6e |Python.v|alues in|
|00000310| 20 61 20 62 69 6e 61 72 | 79 20 66 6f 72 6d 61 74 | a binar|y format|
|00000320| 2e 20 20 54 68 65 20 66 | 6f 72 6d 61 74 20 69 73 |. The f|ormat is|
|00000330| 20 73 70 65 63 69 66 69 | 63 20 74 6f 20 50 79 74 | specifi|c to Pyt|
|00000340| 68 6f 6e 2c 20 62 75 74 | 0a 69 6e 64 65 70 65 6e |hon, but|.indepen|
|00000350| 64 65 6e 74 20 6f 66 20 | 6d 61 63 68 69 6e 65 20 |dent of |machine |
|00000360| 61 72 63 68 69 74 65 63 | 74 75 72 65 20 69 73 73 |architec|ture iss|
|00000370| 75 65 73 20 28 65 2e 67 | 2e 2c 20 79 6f 75 20 63 |ues (e.g|., you c|
|00000380| 61 6e 20 77 72 69 74 65 | 20 61 0a 50 79 74 68 6f |an write| a.Pytho|
|00000390| 6e 20 76 61 6c 75 65 20 | 74 6f 20 61 20 66 69 6c |n value |to a fil|
|000003a0| 65 20 6f 6e 20 61 20 50 | 43 2c 20 74 72 61 6e 73 |e on a P|C, trans|
|000003b0| 70 6f 72 74 20 74 68 65 | 20 66 69 6c 65 20 74 6f |port the| file to|
|000003c0| 20 61 20 53 75 6e 2c 20 | 61 6e 64 20 72 65 61 64 | a Sun, |and read|
|000003d0| 0a 69 74 20 62 61 63 6b | 20 74 68 65 72 65 29 2e |.it back| there).|
|000003e0| 20 20 44 65 74 61 69 6c | 73 20 6f 66 20 74 68 65 | Detail|s of the|
|000003f0| 20 66 6f 72 6d 61 74 20 | 61 72 65 20 75 6e 64 6f | format |are undo|
|00000400| 63 75 6d 65 6e 74 65 64 | 20 6f 6e 20 70 75 72 70 |cumented| on purp|
|00000410| 6f 73 65 3b 0a 69 74 20 | 6d 61 79 20 63 68 61 6e |ose;.it |may chan|
|00000420| 67 65 20 62 65 74 77 65 | 65 6e 20 50 79 74 68 6f |ge betwe|en Pytho|
|00000430| 6e 20 76 65 72 73 69 6f | 6e 73 20 28 61 6c 74 68 |n versio|ns (alth|
|00000440| 6f 75 67 68 20 69 74 20 | 72 61 72 65 6c 79 20 64 |ough it |rarely d|
|00000450| 6f 65 73 29 2e 3c 41 20 | 4e 41 4d 45 3d 22 74 65 |oes).<A |NAME="te|
|00000460| 78 32 68 74 6d 6c 31 22 | 20 48 52 45 46 3d 22 66 |x2html1"| HREF="f|
|00000470| 6f 6f 74 6e 6f 64 65 5f | 6d 6e 2e 68 74 6d 6c 23 |ootnode_|mn.html#|
|00000480| 66 6f 6f 74 33 22 20 54 | 41 52 47 45 54 3d 22 66 |foot3" T|ARGET="f|
|00000490| 6f 6f 74 65 72 22 3e 3c | 53 55 50 3e 3c 49 4d 47 |ooter"><|SUP><IMG|
|000004a0| 20 20 41 4c 54 3d 22 5b | 2a 5d 22 20 53 52 43 3d | ALT="[|*]" SRC=|
|000004b0| 22 66 6f 6f 74 6e 6f 74 | 65 2e 70 6e 67 22 3e 3c |"footnot|e.png"><|
|000004c0| 2f 53 55 50 3e 3c 2f 41 | 3e 0a 3c 50 3e 0a 54 68 |/SUP></A|>.<P>.Th|
|000004d0| 69 73 20 69 73 20 6e 6f | 74 20 61 20 67 65 6e 65 |is is no|t a gene|
|000004e0| 72 61 6c 20 60 60 70 65 | 72 73 69 73 74 65 6e 63 |ral ``pe|rsistenc|
|000004f0| 79 27 27 20 6d 6f 64 75 | 6c 65 2e 20 20 46 6f 72 |y'' modu|le. For|
|00000500| 20 67 65 6e 65 72 61 6c | 20 70 65 72 73 69 73 74 | general| persist|
|00000510| 65 6e 63 79 0a 61 6e 64 | 20 74 72 61 6e 73 66 65 |ency.and| transfe|
|00000520| 72 20 6f 66 20 50 79 74 | 68 6f 6e 20 6f 62 6a 65 |r of Pyt|hon obje|
|00000530| 63 74 73 20 74 68 72 6f | 75 67 68 20 52 50 43 20 |cts thro|ugh RPC |
|00000540| 63 61 6c 6c 73 2c 20 73 | 65 65 20 74 68 65 20 6d |calls, s|ee the m|
|00000550| 6f 64 75 6c 65 73 0a 70 | 69 63 6b 6c 65 20 61 6e |odules.p|ickle an|
|00000560| 64 20 73 68 65 6c 76 65 | 2e 20 20 54 68 65 20 6d |d shelve|. The m|
|00000570| 61 72 73 68 61 6c 20 6d | 6f 64 75 6c 65 20 65 78 |arshal m|odule ex|
|00000580| 69 73 74 73 0a 6d 61 69 | 6e 6c 79 20 74 6f 20 73 |ists.mai|nly to s|
|00000590| 75 70 70 6f 72 74 20 72 | 65 61 64 69 6e 67 20 61 |upport r|eading a|
|000005a0| 6e 64 20 77 72 69 74 69 | 6e 67 20 74 68 65 20 60 |nd writi|ng the `|
|000005b0| 60 70 73 65 75 64 6f 2d | 63 6f 6d 70 69 6c 65 64 |`pseudo-|compiled|
|000005c0| 27 27 20 63 6f 64 65 20 | 66 6f 72 0a 50 79 74 68 |'' code |for.Pyth|
|000005d0| 6f 6e 20 6d 6f 64 75 6c | 65 73 20 6f 66 20 2e 70 |on modul|es of .p|
|000005e0| 79 63 20 66 69 6c 65 73 | 2e 0a 70 69 63 6b 6c 65 |yc files|..pickle|
|000005f0| 0a 73 68 65 6c 76 65 0a | 63 6f 64 65 0a 0a 3c 50 |.shelve.|code..<P|
|00000600| 3e 0a 4e 6f 74 20 61 6c | 6c 20 50 79 74 68 6f 6e |>.Not al|l Python|
|00000610| 20 6f 62 6a 65 63 74 20 | 74 79 70 65 73 20 61 72 | object |types ar|
|00000620| 65 20 73 75 70 70 6f 72 | 74 65 64 3b 20 69 6e 20 |e suppor|ted; in |
|00000630| 67 65 6e 65 72 61 6c 2c | 20 6f 6e 6c 79 20 6f 62 |general,| only ob|
|00000640| 6a 65 63 74 73 0a 77 68 | 6f 73 65 20 76 61 6c 75 |jects.wh|ose valu|
|00000650| 65 20 69 73 20 69 6e 64 | 65 70 65 6e 64 65 6e 74 |e is ind|ependent|
|00000660| 20 66 72 6f 6d 20 61 20 | 70 61 72 74 69 63 75 6c | from a |particul|
|00000670| 61 72 20 69 6e 76 6f 63 | 61 74 69 6f 6e 20 6f 66 |ar invoc|ation of|
|00000680| 20 50 79 74 68 6f 6e 20 | 63 61 6e 0a 62 65 20 77 | Python |can.be w|
|00000690| 72 69 74 74 65 6e 20 61 | 6e 64 20 72 65 61 64 20 |ritten a|nd read |
|000006a0| 62 79 20 74 68 69 73 20 | 6d 6f 64 75 6c 65 2e 20 |by this |module. |
|000006b0| 20 54 68 65 20 66 6f 6c | 6c 6f 77 69 6e 67 20 74 | The fol|lowing t|
|000006c0| 79 70 65 73 20 61 72 65 | 20 73 75 70 70 6f 72 74 |ypes are| support|
|000006d0| 65 64 3a 0a 4e 6f 6e 65 | 2c 20 69 6e 74 65 67 65 |ed:.None|, intege|
|000006e0| 72 73 2c 20 6c 6f 6e 67 | 20 69 6e 74 65 67 65 72 |rs, long| integer|
|000006f0| 73 2c 20 66 6c 6f 61 74 | 69 6e 67 20 70 6f 69 6e |s, float|ing poin|
|00000700| 74 20 6e 75 6d 62 65 72 | 73 2c 0a 73 74 72 69 6e |t number|s,.strin|
|00000710| 67 73 2c 20 74 75 70 6c | 65 73 2c 20 6c 69 73 74 |gs, tupl|es, list|
|00000720| 73 2c 20 64 69 63 74 69 | 6f 6e 61 72 69 65 73 2c |s, dicti|onaries,|
|00000730| 20 61 6e 64 20 63 6f 64 | 65 20 6f 62 6a 65 63 74 | and cod|e object|
|00000740| 73 2c 20 77 68 65 72 65 | 20 69 74 0a 73 68 6f 75 |s, where| it.shou|
|00000750| 6c 64 20 62 65 20 75 6e | 64 65 72 73 74 6f 6f 64 |ld be un|derstood|
|00000760| 20 74 68 61 74 20 74 75 | 70 6c 65 73 2c 20 6c 69 | that tu|ples, li|
|00000770| 73 74 73 20 61 6e 64 20 | 64 69 63 74 69 6f 6e 61 |sts and |dictiona|
|00000780| 72 69 65 73 20 61 72 65 | 20 6f 6e 6c 79 0a 73 75 |ries are| only.su|
|00000790| 70 70 6f 72 74 65 64 20 | 61 73 20 6c 6f 6e 67 20 |pported |as long |
|000007a0| 61 73 20 74 68 65 20 76 | 61 6c 75 65 73 20 63 6f |as the v|alues co|
|000007b0| 6e 74 61 69 6e 65 64 20 | 74 68 65 72 65 69 6e 20 |ntained |therein |
|000007c0| 61 72 65 20 74 68 65 6d | 73 65 6c 76 65 73 0a 73 |are them|selves.s|
|000007d0| 75 70 70 6f 72 74 65 64 | 3b 20 61 6e 64 20 72 65 |upported|; and re|
|000007e0| 63 75 72 73 69 76 65 20 | 6c 69 73 74 73 20 61 6e |cursive |lists an|
|000007f0| 64 20 64 69 63 74 69 6f | 6e 61 72 69 65 73 20 73 |d dictio|naries s|
|00000800| 68 6f 75 6c 64 20 6e 6f | 74 20 62 65 20 77 72 69 |hould no|t be wri|
|00000810| 74 74 65 6e 0a 28 74 68 | 65 79 20 77 69 6c 6c 20 |tten.(th|ey will |
|00000820| 63 61 75 73 65 20 69 6e | 66 69 6e 69 74 65 20 6c |cause in|finite l|
|00000830| 6f 6f 70 73 29 2e 0a 0a | 3c 50 3e 0a 3c 42 3e 43 |oops)...|<P>.<B>C|
|00000840| 61 76 65 61 74 3a 3c 2f | 42 3e 20 4f 6e 20 6d 61 |aveat:</|B> On ma|
|00000850| 63 68 69 6e 65 73 20 77 | 68 65 72 65 20 43 27 73 |chines w|here C's|
|00000860| 20 6c 6f 6e 67 20 69 6e | 74 20 74 79 70 65 20 68 | long in|t type h|
|00000870| 61 73 20 6d 6f 72 65 20 | 74 68 61 6e 0a 33 32 20 |as more |than.32 |
|00000880| 62 69 74 73 20 28 73 75 | 63 68 20 61 73 20 74 68 |bits (su|ch as th|
|00000890| 65 20 44 45 43 20 41 6c | 70 68 61 29 2c 20 69 74 |e DEC Al|pha), it|
|000008a0| 0a 69 73 20 70 6f 73 73 | 69 62 6c 65 20 74 6f 20 |.is poss|ible to |
|000008b0| 63 72 65 61 74 65 20 70 | 6c 61 69 6e 20 50 79 74 |create p|lain Pyt|
|000008c0| 68 6f 6e 20 69 6e 74 65 | 67 65 72 73 20 74 68 61 |hon inte|gers tha|
|000008d0| 74 20 61 72 65 20 6c 6f | 6e 67 65 72 20 74 68 61 |t are lo|nger tha|
|000008e0| 6e 20 33 32 0a 62 69 74 | 73 2e 20 20 53 69 6e 63 |n 32.bit|s. Sinc|
|000008f0| 65 20 74 68 65 20 63 75 | 72 72 65 6e 74 20 6d 61 |e the cu|rrent ma|
|00000900| 72 73 68 61 6c 20 6d 6f | 64 75 6c 65 20 75 73 65 |rshal mo|dule use|
|00000910| 73 20 33 32 20 62 69 74 | 73 20 74 6f 0a 74 72 61 |s 32 bit|s to.tra|
|00000920| 6e 73 66 65 72 20 70 6c | 61 69 6e 20 50 79 74 68 |nsfer pl|ain Pyth|
|00000930| 6f 6e 20 69 6e 74 65 67 | 65 72 73 2c 20 73 75 63 |on integ|ers, suc|
|00000940| 68 20 76 61 6c 75 65 73 | 20 61 72 65 20 73 69 6c |h values| are sil|
|00000950| 65 6e 74 6c 79 20 74 72 | 75 6e 63 61 74 65 64 2e |ently tr|uncated.|
|00000960| 0a 54 68 69 73 20 70 61 | 72 74 69 63 75 6c 61 72 |.This pa|rticular|
|00000970| 6c 79 20 61 66 66 65 63 | 74 73 20 74 68 65 20 75 |ly affec|ts the u|
|00000980| 73 65 20 6f 66 20 76 65 | 72 79 20 6c 6f 6e 67 20 |se of ve|ry long |
|00000990| 69 6e 74 65 67 65 72 20 | 6c 69 74 65 72 61 6c 73 |integer |literals|
|000009a0| 20 69 6e 0a 50 79 74 68 | 6f 6e 20 6d 6f 64 75 6c | in.Pyth|on modul|
|000009b0| 65 73 20 26 6d 64 61 73 | 68 3b 20 74 68 65 73 65 |es &mdas|h; these|
|000009c0| 20 77 69 6c 6c 20 62 65 | 20 61 63 63 65 70 74 65 | will be| accepte|
|000009d0| 64 20 62 79 20 74 68 65 | 20 70 61 72 73 65 72 20 |d by the| parser |
|000009e0| 6f 6e 20 73 75 63 68 0a | 6d 61 63 68 69 6e 65 73 |on such.|machines|
|000009f0| 2c 20 62 75 74 20 77 69 | 6c 6c 20 62 65 20 73 69 |, but wi|ll be si|
|00000a00| 6c 65 6e 74 6c 79 20 62 | 65 20 74 72 75 6e 63 61 |lently b|e trunca|
|00000a10| 74 65 64 20 77 68 65 6e | 20 74 68 65 20 6d 6f 64 |ted when| the mod|
|00000a20| 75 6c 65 20 69 73 20 72 | 65 61 64 0a 66 72 6f 6d |ule is r|ead.from|
|00000a30| 20 74 68 65 20 2e 70 79 | 63 20 69 6e 73 74 65 61 | the .py|c instea|
|00000a40| 64 2e 3c 41 20 4e 41 4d | 45 3d 22 74 65 78 32 68 |d.<A NAM|E="tex2h|
|00000a50| 74 6d 6c 32 22 20 48 52 | 45 46 3d 22 66 6f 6f 74 |tml2" HR|EF="foot|
|00000a60| 6e 6f 64 65 5f 6d 6e 2e | 68 74 6d 6c 23 66 6f 6f |node_mn.|html#foo|
|00000a70| 74 35 32 22 20 54 41 52 | 47 45 54 3d 22 66 6f 6f |t52" TAR|GET="foo|
|00000a80| 74 65 72 22 3e 3c 53 55 | 50 3e 3c 49 4d 47 20 20 |ter"><SU|P><IMG |
|00000a90| 41 4c 54 3d 22 5b 2a 5d | 22 20 53 52 43 3d 22 66 |ALT="[*]|" SRC="f|
|00000aa0| 6f 6f 74 6e 6f 74 65 2e | 70 6e 67 22 3e 3c 2f 53 |ootnote.|png"></S|
|00000ab0| 55 50 3e 3c 2f 41 3e 0a | 3c 50 3e 0a 54 68 65 72 |UP></A>.|<P>.Ther|
|00000ac0| 65 20 61 72 65 20 66 75 | 6e 63 74 69 6f 6e 73 20 |e are fu|nctions |
|00000ad0| 74 68 61 74 20 72 65 61 | 64 2f 77 72 69 74 65 20 |that rea|d/write |
|00000ae0| 66 69 6c 65 73 20 61 73 | 20 77 65 6c 6c 20 61 73 |files as| well as|
|00000af0| 20 66 75 6e 63 74 69 6f | 6e 73 0a 6f 70 65 72 61 | functio|ns.opera|
|00000b00| 74 69 6e 67 20 6f 6e 20 | 73 74 72 69 6e 67 73 2e |ting on |strings.|
|00000b10| 0a 0a 3c 50 3e 0a 54 68 | 65 20 6d 6f 64 75 6c 65 |..<P>.Th|e module|
|00000b20| 20 64 65 66 69 6e 65 73 | 20 74 68 65 73 65 20 66 | defines| these f|
|00000b30| 75 6e 63 74 69 6f 6e 73 | 3a 0a 0a 3c 50 3e 0a 0a |unctions|:..<P>..|
|00000b40| 3c 50 3e 0a 3c 42 52 3e | 0a 3c 49 4d 47 0a 20 20 |<P>.<BR>|.<IMG. |
|00000b50| 53 54 59 4c 45 3d 22 68 | 65 69 67 68 74 3a 20 31 |STYLE="h|eight: 1|
|00000b60| 39 36 2e 32 35 65 78 3b | 20 76 65 72 74 69 63 61 |96.25ex;| vertica|
|00000b70| 6c 2d 61 6c 69 67 6e 3a | 20 2d 30 2e 37 30 65 78 |l-align:| -0.70ex|
|00000b80| 3b 20 22 20 53 52 43 3d | 22 69 6d 67 31 2e 70 6e |; " SRC=|"img1.pn|
|00000b90| 67 22 0a 20 41 4c 54 3d | 22 5c 62 65 67 69 6e 7b |g". ALT=|"\begin{|
|00000ba0| 66 75 6e 63 64 65 73 63 | 7d 7b 64 75 6d 70 7d 7b |funcdesc|}{dump}{|
|00000bb0| 76 61 6c 75 65 5c 2c 20 | 66 69 6c 65 7d 0a 57 72 |value\, |file}.Wr|
|00000bc0| 69 74 65 20 74 68 65 20 | 76 61 6c 75 65 20 6f 6e |ite the |value on|
|00000bd0| 20 74 68 65 20 6f 70 65 | 6e 20 66 69 6c 65 2e 20 | the ope|n file. |
|00000be0| 54 68 65 20 76 61 6c 75 | 2e 2e 2e 0a 2e 2e 2e 69 |The valu|.......i|
|00000bf0| 6c 65 2e 20 54 68 65 20 | 6f 62 6a 65 63 74 20 77 |le. The |object w|
|00000c00| 69 6c 6c 20 6e 6f 74 20 | 62 65 20 70 72 6f 70 65 |ill not |be prope|
|00000c10| 72 6c 79 20 72 65 61 64 | 20 62 61 63 6b 20 62 79 |rly read| back by|
|00000c20| 0a 5c 63 6f 64 65 7b 6c | 6f 61 64 28 29 7d 2e 0a |.\code{l|oad()}..|
|00000c30| 5c 65 6e 64 7b 66 75 6e | 63 64 65 73 63 7d 22 3e |\end{fun|cdesc}">|
|00000c40| 0a 3c 42 52 3e 0a 0a 3c | 50 3e 0a 3c 42 52 3e 0a |.<BR>..<|P>.<BR>.|
|00000c50| 3c 49 4d 47 0a 20 20 53 | 54 59 4c 45 3d 22 68 65 |<IMG. S|TYLE="he|
|00000c60| 69 67 68 74 3a 20 32 2e | 31 37 65 78 3b 20 76 65 |ight: 2.|17ex; ve|
|00000c70| 72 74 69 63 61 6c 2d 61 | 6c 69 67 6e 3a 20 31 37 |rtical-a|lign: 17|
|00000c80| 36 2e 34 31 65 78 3b 20 | 22 20 53 52 43 3d 22 69 |6.41ex; |" SRC="i|
|00000c90| 6d 67 32 2e 70 6e 67 22 | 0a 20 41 4c 54 3d 22 5c |mg2.png"|. ALT="\|
|00000ca0| 62 65 67 69 6e 7b 66 75 | 6e 63 64 65 73 63 7d 7b |begin{fu|ncdesc}{|
|00000cb0| 6c 6f 61 64 7d 7b 66 69 | 6c 65 7d 0a 52 65 61 64 |load}{fi|le}.Read|
|00000cc0| 20 6f 6e 65 20 76 61 6c | 75 65 20 66 72 6f 6d 20 | one val|ue from |
|00000cd0| 74 68 65 20 6f 70 65 6e | 20 66 69 6c 65 20 61 6e |the open| file an|
|00000ce0| 64 20 72 65 74 75 72 6e | 20 69 74 2e 20 49 2e 2e |d return| it. I..|
|00000cf0| 2e 0a 2e 2e 2e 6c 6f 61 | 64 28 29 7d 20 77 69 6c |.....loa|d()} wil|
|00000d00| 6c 20 73 75 62 73 74 69 | 74 75 74 65 20 5c 63 6f |l substi|tute \co|
|00000d10| 64 65 7b 4e 6f 6e 65 7d | 20 66 6f 72 20 74 68 65 |de{None}| for the|
|00000d20| 0a 75 6e 6d 61 72 73 68 | 61 6c 6c 61 62 6c 65 20 |.unmarsh|allable |
|00000d30| 74 79 70 65 2e 0a 5c 65 | 6e 64 7b 66 75 6e 63 64 |type..\e|nd{funcd|
|00000d40| 65 73 63 7d 22 3e 0a 3c | 42 52 3e 0a 0a 3c 50 3e |esc}">.<|BR>..<P>|
|00000d50| 0a 3c 42 52 3e 0a 3c 49 | 4d 47 0a 20 20 53 54 59 |.<BR>.<I|MG. STY|
|00000d60| 4c 45 3d 22 68 65 69 67 | 68 74 3a 20 32 2e 31 37 |LE="heig|ht: 2.17|
|00000d70| 65 78 3b 20 76 65 72 74 | 69 63 61 6c 2d 61 6c 69 |ex; vert|ical-ali|
|00000d80| 67 6e 3a 20 31 37 36 2e | 34 31 65 78 3b 20 22 20 |gn: 176.|41ex; " |
|00000d90| 53 52 43 3d 22 69 6d 67 | 33 2e 70 6e 67 22 0a 20 |SRC="img|3.png". |
|00000da0| 41 4c 54 3d 22 5c 62 65 | 67 69 6e 7b 66 75 6e 63 |ALT="\be|gin{func|
|00000db0| 64 65 73 63 7d 7b 64 75 | 6d 70 73 7d 7b 76 61 6c |desc}{du|mps}{val|
|00000dc0| 75 65 7d 0a 52 65 74 75 | 72 6e 20 74 68 65 20 73 |ue}.Retu|rn the s|
|00000dd0| 74 72 69 6e 67 20 74 68 | 61 74 20 77 6f 75 6c 64 |tring th|at would|
|00000de0| 20 62 65 20 77 72 69 74 | 74 65 6e 20 74 6f 20 61 | be writ|ten to a|
|00000df0| 20 66 69 6c 2e 2e 2e 0a | 2e 2e 2e 20 76 61 6c 75 | fil....|... valu|
|00000e00| 65 20 68 61 73 20 28 6f | 72 20 63 6f 6e 74 61 69 |e has (o|r contai|
|00000e10| 6e 73 20 61 6e 0a 6f 62 | 6a 65 63 74 20 74 68 61 |ns an.ob|ject tha|
|00000e20| 74 20 68 61 73 29 20 61 | 6e 20 75 6e 73 75 70 70 |t has) a|n unsupp|
|00000e30| 6f 72 74 65 64 20 74 79 | 70 65 2e 0a 5c 65 6e 64 |orted ty|pe..\end|
|00000e40| 7b 66 75 6e 63 64 65 73 | 63 7d 22 3e 0a 3c 42 52 |{funcdes|c}">.<BR|
|00000e50| 3e 0a 0a 3c 50 3e 0a 3c | 42 52 3e 0a 3c 49 4d 47 |>..<P>.<|BR>.<IMG|
|00000e60| 0a 20 20 53 54 59 4c 45 | 3d 22 68 65 69 67 68 74 |. STYLE|="height|
|00000e70| 3a 20 32 2e 33 38 65 78 | 3b 20 76 65 72 74 69 63 |: 2.38ex|; vertic|
|00000e80| 61 6c 2d 61 6c 69 67 6e | 3a 20 31 37 36 2e 34 30 |al-align|: 176.40|
|00000e90| 65 78 3b 20 22 20 53 52 | 43 3d 22 69 6d 67 34 2e |ex; " SR|C="img4.|
|00000ea0| 70 6e 67 22 0a 20 41 4c | 54 3d 22 5c 62 65 67 69 |png". AL|T="\begi|
|00000eb0| 6e 7b 66 75 6e 63 64 65 | 73 63 7d 7b 6c 6f 61 64 |n{funcde|sc}{load|
|00000ec0| 73 7d 7b 73 74 72 69 6e | 67 7d 0a 43 6f 6e 76 65 |s}{strin|g}.Conve|
|00000ed0| 72 74 20 74 68 65 20 73 | 74 72 69 6e 67 20 74 6f |rt the s|tring to|
|00000ee0| 20 61 20 76 61 6c 75 65 | 2e 20 49 66 20 6e 6f 20 | a value|. If no |
|00000ef0| 76 61 6c 69 64 20 76 61 | 6c 75 2e 2e 2e 0a 2e 2e |valid va|lu......|
|00000f00| 2e 6f 72 20 5c 63 6f 64 | 65 7b 54 79 70 65 45 72 |.or \cod|e{TypeEr|
|00000f10| 72 6f 72 7d 2e 20 45 78 | 74 72 61 0a 63 68 61 72 |ror}. Ex|tra.char|
|00000f20| 61 63 74 65 72 73 20 69 | 6e 20 74 68 65 20 73 74 |acters i|n the st|
|00000f30| 72 69 6e 67 20 61 72 65 | 20 69 67 6e 6f 72 65 64 |ring are| ignored|
|00000f40| 2e 0a 5c 65 6e 64 7b 66 | 75 6e 63 64 65 73 63 7d |..\end{f|uncdesc}|
|00000f50| 22 3e 0a 3c 42 52 3e 0a | 3c 48 52 3e 0a 0a 3c 2f |">.<BR>.|<HR>..</|
|00000f60| 42 4f 44 59 3e 0a 3c 2f | 48 54 4d 4c 3e 0a |BODY>.</|HTML>. |
+--------+-------------------------+-------------------------+--------+--------+