home *** CD-ROM | disk | FTP | other *** search
Unknown | 1984-10-23 | 9.7 KB |
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was not able to be converted.
This format is not currently supported by dexvert.
Confidence | Program | Detection | Match Type | Support
|
---|
66%
| dexvert
| Follin Player Module (music/follinPlayer)
| ext
| Supported |
100%
| file
| data
| default
| |
100%
| gt2
| Kopftext: 'FASL FILE
| default (weak)
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 46 41 53 4c 20 46 49 4c | 45 0d 0a 43 6f 70 79 72 |FASL FIL|E..Copyr|
|00000010| 69 67 68 74 20 28 63 29 | 20 31 39 38 34 20 53 61 |ight (c)| 1984 Sa|
|00000020| 6e 20 4d 61 72 63 6f 20 | 41 73 73 6f 63 69 61 74 |n Marco |Associat|
|00000030| 65 73 0d 0a 09 41 6c 6c | 20 72 69 67 68 74 73 20 |es...All| rights |
|00000040| 72 65 73 65 72 76 65 64 | 2e 0d 0a 1a ff 07 04 55 |reserved|.......U|
|00000050| 53 45 52 0e 0d 00 00 00 | 00 07 04 4c 49 53 50 0e |SER.....|...LISP.|
|00000060| 0b 01 04 53 45 54 46 07 | 0a 47 45 54 2d 4c 45 53 |...SETF.|.GET-LES|
|00000070| 53 4f 4e 0b 01 05 51 55 | 4f 54 45 07 0a 54 4f 2d |SON...QU|OTE..TO-|
|00000080| 49 54 45 52 41 54 45 04 | 10 02 04 10 02 0b 01 05 |ITERATE.|........|
|00000090| 51 55 4f 54 45 07 06 4c | 45 53 53 4f 4e 07 0a 54 |QUOTE..L|ESSON..T|
|000000a0| 4f 2d 49 54 45 52 41 54 | 45 0b 01 04 4e 41 4d 45 |O-ITERAT|E...NAME|
|000000b0| 07 0a 54 4f 2d 49 54 45 | 52 41 54 45 04 10 01 07 |..TO-ITE|RATE....|
|000000c0| 04 4e 45 58 54 07 06 54 | 4f 2d 4d 41 50 04 10 01 |.NEXT..T|O-MAP...|
|000000d0| 07 08 50 52 45 56 49 4f | 55 53 0b 01 04 4c 4f 41 |..PREVIO|US...LOA|
|000000e0| 44 07 05 46 49 4c 45 53 | 04 10 02 04 10 01 07 0b |D..FILES|........|
|000000f0| 4c 45 53 53 4f 4e 2d 4e | 41 4d 45 26 16 52 65 70 |LESSON-N|AME&.Rep|
|00000100| 65 61 74 69 6e 67 20 62 | 79 20 49 74 65 72 61 74 |eating b|y Iterat|
|00000110| 69 6e 67 04 10 01 04 10 | 08 07 05 53 4c 49 44 45 |ing.....|...SLIDE|
|00000120| 07 0a 45 58 50 4f 53 49 | 54 49 4f 4e 23 01 00 00 |..EXPOSI|TION#...|
|00000130| 00 04 07 0a 45 58 50 4f | 53 49 54 49 4f 4e 26 df |....EXPO|SITION&.|
|00000140| 0a 49 6e 20 61 6e 20 65 | 61 72 6c 69 65 72 20 74 |.In an e|arlier t|
|00000150| 72 61 79 2c 20 79 6f 75 | 20 73 61 77 20 74 68 69 |ray, you| saw thi|
|00000160| 73 20 64 69 61 67 72 61 | 6d 3a 0a 0a 00 0f c3 c4 |s diagra|m:......|
|00000170| c4 c4 c4 c4 20 52 65 63 | 75 72 73 65 0a 54 6f 20 |.... Rec|urse.To |
|00000180| 72 65 70 65 61 74 20 c4 | c4 c4 c4 c4 b4 00 13 c3 |repeat .|........|
|00000190| c4 c4 c4 c4 c4 20 55 73 | 69 6e 67 20 44 4f 0a 00 |..... Us|ing DO..|
|000001a0| 0f c3 c4 c4 c4 c4 c4 20 | 49 74 65 72 61 74 65 20 |....... |Iterate |
|000001b0| c4 c4 c4 c4 c4 b4 0a 00 | 23 c3 c4 c4 c4 c4 c4 20 |........|#...... |
|000001c0| 55 73 69 6e 67 20 4d 41 | 50 43 41 52 0a 0a 53 6f |Using MA|PCAR..So|
|000001d0| 20 66 61 72 2c 20 79 6f | 75 20 6b 6e 6f 77 20 68 | far, yo|u know h|
|000001e0| 6f 77 20 74 6f 20 75 73 | 65 20 72 65 63 75 72 73 |ow to us|e recurs|
|000001f0| 69 6f 6e 2e 00 02 4e 6f | 77 20 69 74 20 69 73 20 |ion...No|w it is |
|00000200| 74 69 6d 65 20 74 6f 20 | 6c 65 61 72 6e 0a 61 62 |time to |learn.ab|
|00000210| 6f 75 74 20 69 74 65 72 | 61 74 69 6f 6e 2e 0a 23 |out iter|ation..#|
|00000220| 0b 00 00 00 10 01 04 27 | 03 00 00 00 2e 27 05 00 |.......'|.....'..|
|00000230| 00 00 2e 07 05 53 4c 49 | 44 45 07 0a 45 58 50 4f |.....SLI|DE..EXPO|
|00000240| 53 49 54 49 4f 4e 23 02 | 00 00 00 04 07 0a 45 58 |SITION#.|......EX|
|00000250| 50 4f 53 49 54 49 4f 4e | 25 c2 01 00 00 0a 59 6f |POSITION|%.....Yo|
|00000260| 75 20 77 69 6c 6c 20 6f | 66 74 65 6e 20 77 61 6e |u will o|ften wan|
|00000270| 74 20 74 6f 20 64 6f 20 | 61 20 63 6f 6d 70 75 74 |t to do |a comput|
|00000280| 61 74 69 6f 6e 20 6f 76 | 65 72 20 61 6e 64 20 6f |ation ov|er and o|
|00000290| 76 65 72 20 75 6e 74 69 | 6c 20 6f 6e 65 0a 6f 66 |ver unti|l one.of|
|000002a0| 20 74 68 65 20 74 77 6f | 20 66 6f 6c 6c 6f 77 69 | the two| followi|
|000002b0| 6e 67 20 63 72 69 74 65 | 72 69 61 20 69 73 20 73 |ng crite|ria is s|
|000002c0| 61 74 69 73 66 69 65 64 | 3a 0a 0a 31 2e 20 41 20 |atisfied|:..1. A |
|000002d0| 74 65 73 74 20 68 61 73 | 20 62 65 65 6e 20 73 61 |test has| been sa|
|000002e0| 74 69 73 66 69 65 64 2e | 0a 0a 32 2e 20 41 6c 6c |tisfied.|..2. All|
|000002f0| 20 65 6c 65 6d 65 6e 74 | 73 20 69 6e 20 61 20 6c | element|s in a l|
|00000300| 69 73 74 20 68 61 76 65 | 20 62 65 65 6e 20 77 6f |ist have| been wo|
|00000310| 72 6b 65 64 20 6f 6e 2e | 0a 0a 46 6f 72 20 77 6f |rked on.|..For wo|
|00000320| 72 6b 69 6e 67 20 75 6e | 74 69 6c 20 61 20 74 65 |rking un|til a te|
|00000330| 73 74 20 69 73 20 73 61 | 74 69 73 66 69 65 64 2c |st is sa|tisfied,|
|00000340| 20 44 4f 20 67 65 6e 65 | 72 61 6c 6c 79 20 77 6f | DO gene|rally wo|
|00000350| 72 6b 73 0a 77 65 6c 6c | 2e 00 02 46 6f 72 20 77 |rks.well|...For w|
|00000360| 6f 72 6b 69 6e 67 20 6f | 6e 20 6c 69 73 74 73 2c |orking o|n lists,|
|00000370| 20 74 68 65 20 6d 61 70 | 70 69 6e 67 20 70 72 69 | the map|ping pri|
|00000380| 6d 69 74 69 76 65 2c 20 | 4d 41 50 43 41 52 2c 0a |mitive, |MAPCAR,.|
|00000390| 67 65 6e 65 72 61 6c 6c | 79 20 77 6f 72 6b 73 2e |generall|y works.|
|000003a0| 0a 0a 4c 65 74 27 73 20 | 73 74 61 72 74 20 77 69 |..Let's |start wi|
|000003b0| 74 68 20 44 4f 2c 20 74 | 68 65 20 67 65 6e 65 72 |th DO, t|he gener|
|000003c0| 61 6c 20 70 72 69 6d 69 | 74 69 76 65 20 66 6f 72 |al primi|tive for|
|000003d0| 20 64 6f 69 6e 67 20 65 | 78 70 6c 69 63 69 74 0a | doing e|xplicit.|
|000003e0| 69 74 65 72 61 74 69 6f | 6e 2e 00 02 53 74 65 65 |iteratio|n...Stee|
|000003f0| 6c 20 79 6f 75 72 73 65 | 6c 66 2e 00 02 44 4f 20 |l yourse|lf...DO |
|00000400| 66 6f 72 6d 73 20 69 6e | 76 6f 6c 76 65 20 61 20 |forms in|volve a |
|00000410| 6c 6f 74 20 6f 66 20 64 | 65 74 61 69 6c 2e 0a 23 |lot of d|etail..#|
|00000420| 0f 00 00 00 10 01 04 27 | 03 00 00 00 2e 27 05 00 |.......'|.....'..|
|00000430| 00 00 2e 07 05 53 4c 49 | 44 45 07 0a 45 58 50 4f |.....SLI|DE..EXPO|
|00000440| 53 49 54 49 4f 4e 23 03 | 00 00 00 04 07 0a 45 58 |SITION#.|......EX|
|00000450| 50 4f 53 49 54 49 4f 4e | 25 f6 01 00 00 0a 44 4f |POSITION|%.....DO|
|00000460| 20 65 78 70 72 65 73 73 | 69 6f 6e 73 20 68 61 76 | express|ions hav|
|00000470| 65 20 74 68 65 20 66 6f | 6c 6c 6f 77 69 6e 67 20 |e the fo|llowing |
|00000480| 70 61 72 74 73 3a 0a 0a | 31 2e 20 41 20 6c 69 73 |parts:..|1. A lis|
|00000490| 74 20 6f 66 20 70 61 72 | 61 6d 65 74 65 72 20 73 |t of par|ameter s|
|000004a0| 70 65 63 69 66 69 63 61 | 74 69 6f 6e 73 2c 20 65 |pecifica|tions, e|
|000004b0| 61 63 68 20 6f 66 20 77 | 68 69 63 68 20 63 72 65 |ach of w|hich cre|
|000004c0| 61 74 65 73 2c 0a 00 03 | 73 65 74 73 2c 20 61 6e |ates,...|sets, an|
|000004d0| 64 20 72 65 73 65 74 73 | 20 6f 6e 65 20 6f 66 20 |d resets| one of |
|000004e0| 74 68 65 20 44 4f 20 66 | 6f 72 6d 27 73 20 70 61 |the DO f|orm's pa|
|000004f0| 72 61 6d 65 74 65 72 73 | 3a 0a 0a 00 03 28 3c 70 |rameters|:....(<p|
|00000500| 61 72 61 6d 65 74 65 72 | 3e 20 3c 69 6e 69 74 69 |arameter|> <initi|
|00000510| 61 6c 20 76 61 6c 75 65 | 3e 20 3c 72 65 73 65 74 |al value|> <reset|
|00000520| 20 66 6f 72 6d 3e 29 0a | 0a 32 2e 20 41 20 74 65 | form>).|.2. A te|
|00000530| 73 74 20 61 6e 64 20 72 | 65 74 75 72 6e 20 63 6c |st and r|eturn cl|
|00000540| 61 75 73 65 20 74 68 61 | 74 20 64 65 74 65 72 6d |ause tha|t determ|
|00000550| 69 6e 65 73 20 77 68 65 | 6e 20 74 6f 20 73 74 6f |ines whe|n to sto|
|00000560| 70 20 74 68 65 0a 00 03 | 69 74 65 72 61 74 69 6f |p the...|iteratio|
|00000570| 6e 20 61 6e 64 20 73 70 | 65 63 69 66 69 65 73 20 |n and sp|ecifies |
|00000580| 74 68 65 20 44 4f 20 66 | 6f 72 6d 27 73 20 76 61 |the DO f|orm's va|
|00000590| 6c 75 65 20 6f 6e 63 65 | 20 73 74 6f 70 70 65 64 |lue once| stopped|
|000005a0| 3a 0a 0a 00 03 28 3c 74 | 72 69 67 67 65 72 3e 20 |:....(<t|rigger> |
|000005b0| 3c 73 69 64 65 20 65 66 | 66 65 63 74 20 66 6f 72 |<side ef|fect for|
|000005c0| 6d 73 2c 20 69 66 20 61 | 6e 79 3e 20 3c 76 61 6c |ms, if a|ny> <val|
|000005d0| 75 65 20 66 6f 72 6d 3e | 29 0a 0a 33 2e 20 41 20 |ue form>|)..3. A |
|000005e0| 62 6f 64 79 20 74 68 61 | 74 20 63 6f 6e 73 69 73 |body tha|t consis|
|000005f0| 74 73 20 6f 66 20 44 4f | 27 73 20 73 75 62 66 6f |ts of DO|'s subfo|
|00000600| 72 6d 73 2c 20 77 68 69 | 63 68 20 61 72 65 20 65 |rms, whi|ch are e|
|00000610| 76 61 6c 75 61 74 65 64 | 0a 00 03 6f 76 65 72 20 |valuated|...over |
|00000620| 61 6e 64 20 6f 76 65 72 | 20 75 6e 74 69 6c 20 74 |and over| until t|
|00000630| 68 65 20 44 4f 20 69 73 | 20 73 74 6f 70 70 65 64 |he DO is| stopped|
|00000640| 3a 0a 00 03 0a 00 03 3c | 62 6f 64 79 20 66 6f 72 |:......<|body for|
|00000650| 6d 3e 0a 23 12 00 00 00 | 10 01 04 27 03 00 00 00 |m>.#....|...'....|
|00000660| 2e 27 05 00 00 00 2e 07 | 05 53 4c 49 44 45 07 0a |.'......|.SLIDE..|
|00000670| 45 58 50 4f 53 49 54 49 | 4f 4e 23 04 00 00 00 04 |EXPOSITI|ON#.....|
|00000680| 07 0a 45 58 50 4f 53 49 | 54 49 4f 4e 25 9f 01 00 |..EXPOSI|TION%...|
|00000690| 00 0a 48 65 72 65 20 69 | 73 20 77 68 61 74 20 74 |..Here i|s what t|
|000006a0| 68 65 20 44 4f 20 74 65 | 6d 70 6c 61 74 65 20 6c |he DO te|mplate l|
|000006b0| 6f 6f 6b 73 20 6c 69 6b | 65 20 77 68 65 6e 20 65 |ooks lik|e when e|
|000006c0| 76 65 72 79 74 68 69 6e | 67 20 69 73 20 70 75 74 |verythin|g is put|
|000006d0| 0a 74 6f 67 65 74 68 65 | 72 3a 0a 0a 28 44 4f 20 |.togethe|r:..(DO |
|000006e0| 28 28 3c 70 61 72 61 6d | 65 74 65 72 20 31 3e 20 |((<param|eter 1> |
|000006f0| 3c 69 6e 69 74 69 61 6c | 20 76 61 6c 75 65 20 31 |<initial| value 1|
|00000700| 3e 20 3c 72 65 73 65 74 | 20 66 6f 72 6d 20 31 3e |> <reset| form 1>|
|00000710| 29 00 05 3b 50 61 72 61 | 6d 65 74 65 72 2e 0a 00 |)..;Para|meter...|
|00000720| 05 28 3c 70 61 72 61 6d | 65 74 65 72 20 32 3e 20 |.(<param|eter 2> |
|00000730| 3c 69 6e 69 74 69 61 6c | 20 76 61 6c 75 65 20 32 |<initial| value 2|
|00000740| 3e 20 3c 72 65 73 65 74 | 20 66 6f 72 6d 20 32 3e |> <reset| form 2>|
|00000750| 29 00 05 3b 00 03 22 0a | 00 05 2e 2e 2e 00 32 3b |)..;..".|......2;|
|00000760| 00 03 22 0a 00 05 28 3c | 70 61 72 61 6d 65 74 65 |.."...(<|paramete|
|00000770| 72 20 6e 3e 20 3c 69 6e | 69 74 69 61 6c 20 76 61 |r n> <in|itial va|
|00000780| 6c 75 65 20 6e 3e 20 3c | 72 65 73 65 74 20 66 6f |lue n> <|reset fo|
|00000790| 72 6d 20 6e 3e 29 29 00 | 04 3b 00 03 22 0a 00 05 |rm n>)).|.;.."...|
|000007a0| 28 3c 74 72 69 67 67 65 | 72 3e 20 3c 73 69 64 65 |(<trigge|r> <side|
|000007b0| 20 65 66 66 65 63 74 20 | 66 6f 72 6d 73 2c 20 69 | effect |forms, i|
|000007c0| 66 20 61 6e 79 3e 20 3c | 76 61 6c 75 65 20 66 6f |f any> <|value fo|
|000007d0| 72 6d 3e 29 20 3b 54 72 | 69 67 67 65 72 2e 0a 00 |rm>) ;Tr|igger...|
|000007e0| 02 3c 62 6f 64 79 20 66 | 6f 72 6d 20 31 3e 00 2b |.<body f|orm 1>.+|
|000007f0| 3b 42 6f 64 79 2e 0a 00 | 02 3c 62 6f 64 79 20 66 |;Body...|.<body f|
|00000800| 6f 72 6d 20 32 3e 00 2b | 3b 00 03 22 0a 00 02 2e |orm 2>.+|;.."....|
|00000810| 2e 2e 00 35 3b 00 03 22 | 0a 00 02 3c 62 6f 64 79 |...5;.."|...<body|
|00000820| 20 66 6f 72 6d 20 6e 3e | 29 00 2a 3b 00 03 22 0a | form n>|).*;..".|
|00000830| 23 0e 00 00 00 10 01 04 | 27 03 00 00 00 2e 27 05 |#.......|'.....'.|
|00000840| 00 00 00 2e 07 05 53 4c | 49 44 45 07 0a 45 58 50 |......SL|IDE..EXP|
|00000850| 4f 53 49 54 49 4f 4e 23 | 05 00 00 00 04 07 0a 45 |OSITION#|.......E|
|00000860| 58 50 4f 53 49 54 49 4f | 4e 26 ed 0a 4c 65 74 27 |XPOSITIO|N&..Let'|
|00000870| 73 20 6c 6f 6f 6b 20 61 | 74 20 74 68 69 73 20 65 |s look a|t this e|
|00000880| 78 61 6d 70 6c 65 20 66 | 6f 72 20 61 20 66 65 77 |xample f|or a few|
|00000890| 20 73 6c 69 64 65 73 3a | 0a 0a 28 44 4f 20 28 28 | slides:|..(DO ((|
|000008a0| 4c 20 27 28 54 48 49 53 | 20 49 53 20 41 20 4c 49 |L '(THIS| IS A LI|
|000008b0| 53 54 29 20 28 52 45 53 | 54 20 4c 29 29 00 08 3b |ST) (RES|T L))..;|
|000008c0| 50 61 72 61 6d 65 74 65 | 72 20 73 70 65 63 69 66 |Paramete|r specif|
|000008d0| 69 63 61 74 69 6f 6e 2e | 0a 00 05 28 52 45 53 55 |ication.|...(RESU|
|000008e0| 4c 54 20 4e 49 4c 29 29 | 00 19 3b 50 61 72 61 6d |LT NIL))|..;Param|
|000008f0| 65 74 65 72 20 73 70 65 | 63 69 66 69 63 61 74 69 |eter spe|cificati|
|00000900| 6f 6e 2e 0a 00 04 28 28 | 4e 55 4c 4c 20 4c 29 20 |on....((|NULL L) |
|00000910| 52 45 53 55 4c 54 29 00 | 16 3b 54 65 73 74 20 63 |RESULT).|.;Test c|
|00000920| 6c 61 75 73 65 2e 0a 00 | 02 28 53 45 54 46 20 52 |lause...|.(SETF R|
|00000930| 45 53 55 4c 54 20 28 43 | 4f 4e 53 20 28 46 49 52 |ESULT (C|ONS (FIR|
|00000940| 53 54 20 4c 29 20 52 45 | 53 55 4c 54 29 29 29 00 |ST L) RE|SULT))).|
|00000950| 03 3b 42 6f 64 79 2e 0a | 23 08 00 00 00 10 01 04 |.;Body..|#.......|
|00000960| 27 03 00 00 00 2e 27 05 | 00 00 00 2e 07 05 53 4c |'.....'.|......SL|
|00000970| 49 44 45 07 0a 45 58 50 | 4f 53 49 54 49 4f 4e 23 |IDE..EXP|OSITION#|
|00000980| 06 00 00 00 04 07 0a 45 | 58 50 4f 53 49 54 49 4f |.......E|XPOSITIO|
|00000990| 4e 25 00 02 00 00 0a 45 | 78 61 6d 70 6c 65 3a 00 |N%.....E|xample:.|
|000009a0| 02 28 44 4f 20 28 28 4c | 20 27 28 54 48 49 53 20 |.(DO ((L| '(THIS |
|000009b0| 49 53 20 41 20 4c 49 53 | 54 29 20 28 52 45 53 54 |IS A LIS|T) (REST|
|000009c0| 20 4c 29 29 0a 00 0f 28 | 52 45 53 55 4c 54 20 4e | L))...(|RESULT N|
|000009d0| 49 4c 29 29 0a 00 0e 28 | 28 4e 55 4c 4c 20 4c 29 |IL))...(|(NULL L)|
|000009e0| 20 52 45 53 55 4c 54 29 | 0a 00 0c 28 53 45 54 46 | RESULT)|...(SETF|
|000009f0| 20 52 45 53 55 4c 54 20 | 28 43 4f 4e 53 20 28 46 | RESULT |(CONS (F|
|00000a00| 49 52 53 54 20 4c 29 20 | 52 45 53 55 4c 54 29 29 |IRST L) |RESULT))|
|00000a10| 29 0a 0a 6f 00 05 4f 6e | 20 65 6e 74 65 72 69 6e |)..o..On| enterin|
|00000a20| 67 20 61 20 44 4f 2c 20 | 74 68 65 20 70 61 72 61 |g a DO, |the para|
|00000a30| 6d 65 74 65 72 73 20 61 | 72 65 20 73 65 74 2c 20 |meters a|re set, |
|00000a40| 69 6e 20 70 61 72 61 6c | 6c 65 6c 2c 20 61 73 0a |in paral|lel, as.|
|00000a50| 00 06 69 6e 20 4c 45 54 | 2c 20 74 6f 20 74 68 65 |..in LET|, to the|
|00000a60| 20 69 6e 69 74 69 61 6c | 20 76 61 6c 75 65 73 2e | initial| values.|
|00000a70| 0a 0a 54 68 75 73 20 4c | 20 69 73 20 73 65 74 20 |..Thus L| is set |
|00000a80| 74 6f 20 28 54 48 49 53 | 20 49 53 20 41 20 4c 49 |to (THIS| IS A LI|
|00000a90| 53 54 29 20 61 6e 64 20 | 52 45 53 55 4c 54 20 69 |ST) and |RESULT i|
|00000aa0| 73 20 73 65 74 20 74 6f | 20 4e 49 4c 2c 20 61 73 |s set to| NIL, as|
|00000ab0| 0a 64 69 63 74 61 74 65 | 64 20 62 79 20 74 68 65 |.dictate|d by the|
|00000ac0| 20 69 6e 69 74 69 61 6c | 2d 76 61 6c 75 65 20 73 | initial|-value s|
|00000ad0| 70 65 63 69 66 69 63 61 | 74 69 6f 6e 73 3a 0a 0a |pecifica|tions:..|
|00000ae0| 00 07 4c 00 09 28 54 48 | 49 53 20 49 53 20 41 20 |..L..(TH|IS IS A |
|00000af0| 4c 49 53 54 29 0a 00 07 | 1e 00 10 1e 0a 00 07 b3 |LIST)...|........|
|00000b00| 00 10 b3 0a 28 28 3c 70 | 61 72 61 6d 65 74 65 72 |....((<p|arameter|
|00000b10| 20 31 3e 20 3c 69 6e 69 | 74 69 61 6c 20 76 61 6c | 1> <ini|tial val|
|00000b20| 75 65 20 31 3e 20 3c 72 | 65 73 65 74 20 66 6f 72 |ue 1> <r|eset for|
|00000b30| 6d 20 31 3e 29 0a 20 28 | 3c 70 61 72 61 6d 65 74 |m 1>). (|<paramet|
|00000b40| 65 72 20 32 3e 20 3c 69 | 6e 69 74 69 61 6c 20 76 |er 2> <i|nitial v|
|00000b50| 61 6c 75 65 20 32 3e 20 | 3c 72 65 73 65 74 20 66 |alue 2> |<reset f|
|00000b60| 6f 72 6d 20 32 3e 29 29 | 0a 00 07 b3 00 10 b3 0a |orm 2>))|........|
|00000b70| 00 07 1f 00 10 1f 0a 00 | 05 52 45 53 55 4c 54 00 |........|.RESULT.|
|00000b80| 0c 4e 49 4c 0a 0a 28 63 | 6f 6e 74 69 6e 75 65 64 |.NIL..(c|ontinued|
|00000b90| 20 2e 2e 2e 29 0a 23 17 | 00 00 00 10 01 04 27 03 | ...).#.|......'.|
|00000ba0| 00 00 00 2e 27 05 00 00 | 00 2e 07 05 53 4c 49 44 |....'...|....SLID|
|00000bb0| 45 07 0a 45 58 50 4f 53 | 49 54 49 4f 4e 23 07 00 |E..EXPOS|ITION#..|
|00000bc0| 00 00 04 07 0a 45 58 50 | 4f 53 49 54 49 4f 4e 25 |.....EXP|OSITION%|
|00000bd0| 5a 01 00 00 0a 45 78 61 | 6d 70 6c 65 3a 00 02 28 |Z....Exa|mple:..(|
|00000be0| 44 4f 20 28 28 4c 20 27 | 28 54 48 49 53 20 49 53 |DO ((L '|(THIS IS|
|00000bf0| 20 41 20 4c 49 53 54 29 | 20 28 52 45 53 54 20 4c | A LIST)| (REST L|
|00000c00| 29 29 0a 00 0f 28 52 45 | 53 55 4c 54 20 4e 49 4c |))...(RE|SULT NIL|
|00000c10| 29 29 0a 00 0e 28 28 4e | 55 4c 4c 20 4c 29 20 52 |))...((N|ULL L) R|
|00000c20| 45 53 55 4c 54 29 0a 00 | 0c 28 53 45 54 46 20 52 |ESULT)..|.(SETF R|
|00000c30| 45 53 55 4c 54 20 28 43 | 4f 4e 53 20 28 46 49 52 |ESULT (C|ONS (FIR|
|00000c40| 53 54 20 4c 29 20 52 45 | 53 55 4c 54 29 29 29 0a |ST L) RE|SULT))).|
|00000c50| 0a 6f 00 05 54 68 65 20 | 74 72 69 67 67 65 72 20 |.o..The |trigger |
|00000c60| 66 6f 72 6d 20 69 73 20 | 65 76 61 6c 75 61 74 65 |form is |evaluate|
|00000c70| 64 2e 0a 0a 49 6e 20 74 | 68 65 20 65 78 61 6d 70 |d...In t|he examp|
|00000c80| 6c 65 2c 20 62 65 63 61 | 75 73 65 20 28 54 48 49 |le, beca|use (THI|
|00000c90| 53 20 49 53 20 41 20 4c | 49 53 54 29 20 69 73 20 |S IS A L|IST) is |
|00000ca0| 6e 6f 74 20 61 6e 20 65 | 6d 70 74 79 20 6c 69 73 |not an e|mpty lis|
|00000cb0| 74 2c 0a 74 68 65 20 74 | 72 69 67 67 65 72 20 66 |t,.the t|rigger f|
|00000cc0| 6f 72 6d 27 73 20 76 61 | 6c 75 65 20 69 73 20 4e |orm's va|lue is N|
|00000cd0| 49 4c 2e 0a 0a 28 3c 74 | 72 69 67 67 65 72 3e 20 |IL...(<t|rigger> |
|00000ce0| 3c 73 69 64 65 20 65 66 | 66 65 63 74 20 66 6f 72 |<side ef|fect for|
|00000cf0| 6d 73 2c 20 69 66 20 61 | 6e 79 3e 20 3c 76 61 6c |ms, if a|ny> <val|
|00000d00| 75 65 20 66 6f 72 6d 3e | 29 0a 00 05 b3 0a 00 05 |ue form>|).......|
|00000d10| 1f 0a 00 02 28 4e 55 4c | 4c 20 4c 29 0a 0a 28 63 |....(NUL|L L)..(c|
|00000d20| 6f 6e 74 69 6e 75 65 64 | 20 2e 2e 2e 29 0a 23 12 |ontinued| ...).#.|
|00000d30| 00 00 00 10 01 04 27 03 | 00 00 00 2e 27 05 00 00 |......'.|....'...|
|00000d40| 00 2e 07 05 53 4c 49 44 | 45 07 0a 45 58 50 4f 53 |....SLID|E..EXPOS|
|00000d50| 49 54 49 4f 4e 23 08 00 | 00 00 04 07 0a 45 58 50 |ITION#..|.....EXP|
|00000d60| 4f 53 49 54 49 4f 4e 25 | a4 01 00 00 0a 45 78 61 |OSITION%|.....Exa|
|00000d70| 6d 70 6c 65 3a 00 02 28 | 44 4f 20 28 28 4c 20 27 |mple:..(|DO ((L '|
|00000d80| 28 54 48 49 53 20 49 53 | 20 41 20 4c 49 53 54 29 |(THIS IS| A LIST)|
|00000d90| 20 28 52 45 53 54 20 4c | 29 29 0a 00 0f 28 52 45 | (REST L|))...(RE|
|00000da0| 53 55 4c 54 20 4e 49 4c | 29 29 0a 00 0e 28 28 4e |SULT NIL|))...((N|
|00000db0| 55 4c 4c 20 4c 29 20 52 | 45 53 55 4c 54 29 0a 00 |ULL L) R|ESULT)..|
|00000dc0| 0c 28 53 45 54 46 20 52 | 45 53 55 4c 54 20 28 43 |.(SETF R|ESULT (C|
|00000dd0| 4f 4e 53 20 28 46 49 52 | 53 54 20 4c 29 20 52 45 |ONS (FIR|ST L) RE|
|00000de0| 53 55 4c 54 29 29 29 0a | 0a 6f 00 04 49 66 20 74 |SULT))).|.o..If t|
|00000df0| 68 65 20 74 72 69 67 67 | 65 72 20 65 76 61 6c 75 |he trigg|er evalu|
|00000e00| 61 74 65 73 20 74 6f 20 | 4e 49 4c 2c 20 61 6c 6c |ates to |NIL, all|
|00000e10| 20 74 68 65 20 66 6f 72 | 6d 73 20 69 6e 20 74 68 | the for|ms in th|
|00000e20| 65 20 44 4f 27 73 0a 00 | 05 62 6f 64 79 20 61 72 |e DO's..|.body ar|
|00000e30| 65 20 65 76 61 6c 75 61 | 74 65 64 2e 0a 0a 54 68 |e evalua|ted...Th|
|00000e40| 65 72 65 20 69 73 20 6f | 6e 6c 79 20 6f 6e 65 20 |ere is o|nly one |
|00000e50| 66 6f 72 6d 20 69 6e 20 | 74 68 65 20 62 6f 64 79 |form in |the body|
|00000e60| 3b 00 02 77 68 65 6e 20 | 65 76 61 6c 75 61 74 65 |;..when |evaluate|
|00000e70| 64 2c 20 69 74 20 73 65 | 74 73 0a 52 45 53 55 4c |d, it se|ts.RESUL|
|00000e80| 54 27 73 20 76 61 6c 75 | 65 20 74 6f 20 74 68 65 |T's valu|e to the|
|00000e90| 20 76 61 6c 75 65 20 6f | 66 20 28 43 4f 4e 53 20 | value o|f (CONS |
|00000ea0| 28 46 49 52 53 54 20 4c | 29 20 52 45 53 55 4c 54 |(FIRST L|) RESULT|
|00000eb0| 29 2c 20 6e 61 6d 65 6c | 79 0a 28 54 48 49 53 29 |), namel|y.(THIS)|
|00000ec0| 2e 0a 0a 3c 62 6f 64 79 | 20 66 6f 72 6d 20 31 3e |...<body| form 1>|
|00000ed0| 0a 00 06 b3 0a 00 06 1f | 0a 28 53 45 54 46 20 52 |........|.(SETF R|
|00000ee0| 45 53 55 4c 54 20 28 43 | 4f 4e 53 20 28 46 49 52 |ESULT (C|ONS (FIR|
|00000ef0| 53 54 20 4c 29 20 52 45 | 53 55 4c 54 29 29 0a 0a |ST L) RE|SULT))..|
|00000f00| 28 63 6f 6e 74 69 6e 75 | 65 64 20 2e 2e 2e 29 0a |(continu|ed ...).|
|00000f10| 23 14 00 00 00 10 01 04 | 27 03 00 00 00 2e 27 05 |#.......|'.....'.|
|00000f20| 00 00 00 2e 07 05 53 4c | 49 44 45 07 0a 45 58 50 |......SL|IDE..EXP|
|00000f30| 4f 53 49 54 49 4f 4e 23 | 09 00 00 00 04 07 0a 45 |OSITION#|.......E|
|00000f40| 58 50 4f 53 49 54 49 4f | 4e 25 13 02 00 00 0a 45 |XPOSITIO|N%.....E|
|00000f50| 78 61 6d 70 6c 65 3a 00 | 02 28 44 4f 20 28 28 4c |xample:.|.(DO ((L|
|00000f60| 20 27 28 54 48 49 53 20 | 49 53 20 41 20 4c 49 53 | '(THIS |IS A LIS|
|00000f70| 54 29 20 28 52 45 53 54 | 20 4c 29 29 0a 00 0f 28 |T) (REST| L))...(|
|00000f80| 52 45 53 55 4c 54 20 4e | 49 4c 29 29 0a 00 0e 28 |RESULT N|IL))...(|
|00000f90| 28 4e 55 4c 4c 20 4c 29 | 20 52 45 53 55 4c 54 29 |(NULL L)| RESULT)|
|00000fa0| 0a 00 0c 28 53 45 54 46 | 20 52 45 53 55 4c 54 20 |...(SETF| RESULT |
|00000fb0| 28 43 4f 4e 53 20 28 46 | 49 52 53 54 20 4c 29 20 |(CONS (F|IRST L) |
|00000fc0| 52 45 53 55 4c 54 29 29 | 29 0a 0a 6f 00 04 54 68 |RESULT))|)..o..Th|
|00000fd0| 65 6e 20 65 61 63 68 20 | 70 61 72 61 6d 65 74 65 |en each |paramete|
|00000fe0| 72 20 74 68 61 74 20 68 | 61 73 20 61 20 72 65 73 |r that h|as a res|
|00000ff0| 65 74 20 66 6f 72 6d 20 | 69 73 20 72 65 73 65 74 |et form |is reset|
|00001000| 2e 0a 0a 4c 27 73 20 76 | 61 6c 75 65 20 69 73 20 |...L's v|alue is |
|00001010| 72 65 73 65 74 2c 20 62 | 65 63 6f 6d 69 6e 67 20 |reset, b|ecoming |
|00001020| 28 49 53 20 41 20 4c 49 | 53 54 29 2c 20 62 65 63 |(IS A LI|ST), bec|
|00001030| 61 75 73 65 20 74 68 61 | 74 20 69 73 20 74 68 65 |ause tha|t is the|
|00001040| 0a 76 61 6c 75 65 20 6f | 66 20 28 52 45 53 54 20 |.value o|f (REST |
|00001050| 4c 29 2e 00 02 42 65 63 | 61 75 73 65 20 74 68 65 |L)...Bec|ause the|
|00001060| 72 65 20 69 73 20 6e 6f | 20 72 65 73 65 74 20 66 |re is no| reset f|
|00001070| 6f 72 6d 20 66 6f 72 20 | 52 45 53 55 4c 54 2c 0a |orm for |RESULT,.|
|00001080| 69 74 73 20 76 61 6c 75 | 65 20 72 65 6d 61 69 6e |its valu|e remain|
|00001090| 73 20 28 54 48 49 53 29 | 2c 20 74 68 65 20 76 61 |s (THIS)|, the va|
|000010a0| 6c 75 65 20 65 73 74 61 | 62 6c 69 73 68 65 64 20 |lue esta|blished |
|000010b0| 69 6e 20 74 68 65 20 62 | 6f 64 79 2e 0a 0a 00 07 |in the b|ody.....|
|000010c0| 4c 00 1e 28 52 45 53 54 | 20 4c 29 0a 00 07 1e 00 |L..(REST| L).....|
|000010d0| 21 1e 0a 00 07 b3 00 21 | b3 0a 28 28 3c 70 61 72 |!......!|..((<par|
|000010e0| 61 6d 65 74 65 72 20 31 | 3e 20 3c 69 6e 69 74 69 |ameter 1|> <initi|
|000010f0| 61 6c 20 76 61 6c 75 65 | 20 31 3e 20 3c 72 65 73 |al value| 1> <res|
|00001100| 65 74 20 66 6f 72 6d 20 | 31 3e 29 0a 20 28 3c 70 |et form |1>). (<p|
|00001110| 61 72 61 6d 65 74 65 72 | 20 32 3e 20 3c 69 6e 69 |arameter| 2> <ini|
|00001120| 74 69 61 6c 20 76 61 6c | 75 65 20 32 3e 20 3c 72 |tial val|ue 2> <r|
|00001130| 65 73 65 74 20 66 6f 72 | 6d 20 32 3e 29 29 0a 00 |eset for|m 2>))..|
|00001140| 07 b3 0a 00 07 1f 0a 00 | 05 52 45 53 55 4c 54 0a |........|.RESULT.|
|00001150| 0a 28 63 6f 6e 74 69 6e | 75 65 64 20 2e 2e 2e 29 |.(contin|ued ...)|
|00001160| 0a 23 17 00 00 00 10 01 | 04 27 03 00 00 00 2e 27 |.#......|.'.....'|
|00001170| 05 00 00 00 2e 07 05 53 | 4c 49 44 45 07 0a 45 58 |.......S|LIDE..EX|
|00001180| 50 4f 53 49 54 49 4f 4e | 23 0a 00 00 00 04 07 0a |POSITION|#.......|
|00001190| 45 58 50 4f 53 49 54 49 | 4f 4e 25 0c 02 00 00 0a |EXPOSITI|ON%.....|
|000011a0| 45 78 61 6d 70 6c 65 3a | 00 02 28 44 4f 20 28 28 |Example:|..(DO ((|
|000011b0| 4c 20 27 28 54 48 49 53 | 20 49 53 20 41 20 4c 49 |L '(THIS| IS A LI|
|000011c0| 53 54 29 20 28 52 45 53 | 54 20 4c 29 29 0a 00 0f |ST) (RES|T L))...|
|000011d0| 28 52 45 53 55 4c 54 20 | 4e 49 4c 29 29 0a 00 0e |(RESULT |NIL))...|
|000011e0| 28 28 4e 55 4c 4c 20 4c | 29 20 52 45 53 55 4c 54 |((NULL L|) RESULT|
|000011f0| 29 0a 00 0c 28 53 45 54 | 46 20 52 45 53 55 4c 54 |)...(SET|F RESULT|
|00001200| 20 28 43 4f 4e 53 20 28 | 46 49 52 53 54 20 4c 29 | (CONS (|FIRST L)|
|00001210| 20 52 45 53 55 4c 54 29 | 29 29 0a 0a 6f 00 04 45 | RESULT)|))..o..E|
|00001220| 76 65 72 79 74 68 69 6e | 67 20 72 65 70 65 61 74 |verythin|g repeat|
|00001230| 73 20 75 6e 74 69 6c 20 | 74 68 65 20 74 72 69 67 |s until |the trig|
|00001240| 67 65 72 20 65 76 61 6c | 75 61 74 65 73 20 74 6f |ger eval|uates to|
|00001250| 20 6e 6f 6e 4e 49 4c 2e | 0a 0a 45 61 63 68 20 74 | nonNIL.|..Each t|
|00001260| 69 6d 65 20 74 68 65 20 | 44 4f 20 72 65 70 65 61 |ime the |DO repea|
|00001270| 74 73 2c 20 74 68 65 20 | 76 61 6c 75 65 73 20 6f |ts, the |values o|
|00001280| 66 20 4c 20 61 6e 64 20 | 52 45 53 55 4c 54 20 63 |f L and |RESULT c|
|00001290| 68 61 6e 67 65 2e 20 0a | 48 65 72 65 20 69 73 20 |hange. .|Here is |
|000012a0| 61 20 72 65 63 6f 72 64 | 20 6f 66 20 74 68 65 20 |a record| of the |
|000012b0| 76 61 6c 75 65 73 20 66 | 6f 72 20 4c 20 61 6e 64 |values f|or L and|
|000012c0| 20 52 45 53 55 4c 54 2c | 20 6e 6f 74 65 64 20 6a | RESULT,| noted j|
|000012d0| 75 73 74 0a 61 66 74 65 | 72 20 67 6f 69 6e 67 20 |ust.afte|r going |
|000012e0| 74 68 72 6f 75 67 68 20 | 74 68 65 20 70 61 72 61 |through |the para|
|000012f0| 6d 65 74 65 72 2d 73 65 | 74 74 69 6e 67 20 70 61 |meter-se|tting pa|
|00001300| 72 74 20 6f 66 20 74 68 | 65 20 44 4f 3a 0a 0a 49 |rt of th|e DO:..I|
|00001310| 74 65 72 61 74 69 6f 6e | 00 02 4c 00 11 52 45 53 |teration|..L..RES|
|00001320| 55 4c 54 0a 0a 31 00 0a | 28 54 48 49 53 20 49 53 |ULT..1..|(THIS IS|
|00001330| 20 41 20 4c 49 53 54 29 | 00 02 28 29 0a 32 00 0a | A LIST)|..().2..|
|00001340| 28 49 53 20 41 20 4c 49 | 53 54 29 00 07 28 54 48 |(IS A LI|ST)..(TH|
|00001350| 49 53 29 0a 33 00 0a 28 | 41 20 4c 49 53 54 29 00 |IS).3..(|A LIST).|
|00001360| 0a 28 49 53 20 54 48 49 | 53 29 0a 34 00 0a 28 4c |.(IS THI|S).4..(L|
|00001370| 49 53 54 29 00 0c 28 41 | 20 49 53 20 54 48 49 53 |IST)..(A| IS THIS|
|00001380| 29 0a 35 00 0a 28 29 00 | 10 28 4c 49 53 54 20 41 |).5..().|.(LIST A|
|00001390| 20 49 53 20 54 48 49 53 | 29 0a 0a 28 63 6f 6e 74 | IS THIS|)..(cont|
|000013a0| 69 6e 75 65 64 20 2e 2e | 2e 29 0a 23 16 00 00 00 |inued ..|.).#....|
|000013b0| 10 01 04 27 03 00 00 00 | 2e 27 05 00 00 00 2e 07 |...'....|.'......|
|000013c0| 05 53 4c 49 44 45 07 0a | 45 58 50 4f 53 49 54 49 |.SLIDE..|EXPOSITI|
|000013d0| 4f 4e 23 0b 00 00 00 04 | 07 0a 45 58 50 4f 53 49 |ON#.....|..EXPOSI|
|000013e0| 54 49 4f 4e 25 22 02 00 | 00 0a 45 78 61 6d 70 6c |TION%"..|..Exampl|
|000013f0| 65 3a 00 02 28 44 4f 20 | 28 28 4c 20 27 28 54 48 |e:..(DO |((L '(TH|
|00001400| 49 53 20 49 53 20 41 20 | 4c 49 53 54 29 20 28 52 |IS IS A |LIST) (R|
|00001410| 45 53 54 20 4c 29 29 0a | 00 0f 28 52 45 53 55 4c |EST L)).|..(RESUL|
|00001420| 54 20 4e 49 4c 29 29 0a | 00 0e 28 28 4e 55 4c 4c |T NIL)).|..((NULL|
|00001430| 20 4c 29 20 52 45 53 55 | 4c 54 29 0a 00 0c 28 53 | L) RESU|LT)...(S|
|00001440| 45 54 46 20 52 45 53 55 | 4c 54 20 28 43 4f 4e 53 |ETF RESU|LT (CONS|
|00001450| 20 28 46 49 52 53 54 20 | 4c 29 20 52 45 53 55 4c | (FIRST |L) RESUL|
|00001460| 54 29 29 29 0a 0a 6f 00 | 04 49 66 20 74 68 65 20 |T)))..o.|.If the |
|00001470| 74 72 69 67 67 65 72 20 | 69 6e 20 74 68 65 20 74 |trigger |in the t|
|00001480| 65 73 74 20 63 6c 61 75 | 73 65 20 65 76 61 6c 75 |est clau|se evalu|
|00001490| 61 74 65 73 20 74 6f 20 | 6e 6f 6e 4e 49 4c 2c 20 |ates to |nonNIL, |
|000014a0| 61 6c 6c 0a 00 05 74 68 | 65 20 6f 74 68 65 72 20 |all...th|e other |
|000014b0| 66 6f 72 6d 73 20 69 6e | 20 74 68 65 20 74 65 73 |forms in| the tes|
|000014c0| 74 20 63 6c 61 75 73 65 | 20 61 72 65 20 65 76 61 |t clause| are eva|
|000014d0| 6c 75 61 74 65 64 2c 20 | 61 6e 64 20 74 68 65 0a |luated, |and the.|
|000014e0| 00 05 6c 61 73 74 20 69 | 73 20 72 65 74 75 72 6e |..last i|s return|
|000014f0| 65 64 20 61 73 20 74 68 | 65 20 44 4f 27 73 20 76 |ed as th|e DO's v|
|00001500| 61 6c 75 65 2e 0a 0a 49 | 6e 20 74 68 65 20 65 78 |alue...I|n the ex|
|00001510| 61 6d 70 6c 65 2c 20 74 | 68 65 72 65 20 69 73 20 |ample, t|here is |
|00001520| 6f 6e 6c 79 20 6f 6e 65 | 20 6f 74 68 65 72 20 66 |only one| other f|
|00001530| 6f 72 6d 2c 20 52 45 53 | 55 4c 54 2c 20 77 68 6f |orm, RES|ULT, who|
|00001540| 73 65 0a 76 61 6c 75 65 | 2c 20 28 4c 49 53 54 20 |se.value|, (LIST |
|00001550| 41 20 49 53 20 54 48 49 | 53 29 2c 20 69 73 20 72 |A IS THI|S), is r|
|00001560| 65 74 75 72 6e 65 64 2e | 00 02 45 76 69 64 65 6e |eturned.|..Eviden|
|00001570| 74 6c 79 20 74 68 65 20 | 44 4f 20 69 6e 20 74 68 |tly the |DO in th|
|00001580| 69 73 0a 65 78 61 6d 70 | 6c 65 20 61 63 74 73 20 |is.examp|le acts |
|00001590| 65 78 61 63 74 6c 79 20 | 6c 69 6b 65 20 74 68 65 |exactly |like the|
|000015a0| 20 52 45 56 45 52 53 45 | 20 70 72 69 6d 69 74 69 | REVERSE| primiti|
|000015b0| 76 65 2e 0a 0a 28 3c 74 | 72 69 67 67 65 72 3e 20 |ve...(<t|rigger> |
|000015c0| 3c 73 69 64 65 20 65 66 | 66 65 63 74 20 66 6f 72 |<side ef|fect for|
|000015d0| 6d 73 2c 20 69 66 20 61 | 6e 79 3e 20 3c 76 61 6c |ms, if a|ny> <val|
|000015e0| 75 65 20 66 6f 72 6d 3e | 29 0a 00 05 b3 00 27 b3 |ue form>|).....'.|
|000015f0| 0a 00 05 1f 00 27 1f 0a | 00 02 28 4e 55 4c 4c 20 |.....'..|..(NULL |
|00001600| 4c 29 00 21 52 45 53 55 | 4c 54 0a 23 13 00 00 00 |L).!RESU|LT.#....|
|00001610| 10 01 04 27 03 00 00 00 | 2e 27 05 00 00 00 2e 07 |...'....|.'......|
|00001620| 05 53 4c 49 44 45 07 0a | 45 58 50 4f 53 49 54 49 |.SLIDE..|EXPOSITI|
|00001630| 4f 4e 23 0c 00 00 00 04 | 07 0a 45 58 50 4f 53 49 |ON#.....|..EXPOSI|
|00001640| 54 49 4f 4e 26 a0 0a 54 | 68 65 72 65 20 69 73 20 |TION&..T|here is |
|00001650| 6f 6e 65 20 6f 74 68 65 | 72 20 75 73 65 66 75 6c |one othe|r useful|
|00001660| 20 70 6f 69 6e 74 3a 0a | 0a 6f 00 04 44 4f 73 20 | point:.|.o..DOs |
|00001670| 61 72 65 20 74 65 72 6d | 69 6e 61 74 65 64 20 69 |are term|inated i|
|00001680| 6d 6d 65 64 69 61 74 65 | 6c 79 20 6f 6e 20 65 6e |mmediate|ly on en|
|00001690| 63 6f 75 6e 74 65 72 69 | 6e 67 20 61 20 66 6f 72 |counteri|ng a for|
|000016a0| 6d 20 74 68 61 74 0a 00 | 05 69 73 20 6c 69 6b 65 |m that..|.is like|
|000016b0| 20 28 52 45 54 55 52 4e | 20 3c 65 78 70 72 65 73 | (RETURN| <expres|
|000016c0| 73 69 6f 6e 20 77 68 6f | 73 65 20 76 61 6c 75 65 |sion who|se value|
|000016d0| 20 69 73 20 74 6f 20 62 | 65 20 72 65 74 75 72 6e | is to b|e return|
|000016e0| 65 64 3e 29 2e 0a 23 06 | 00 00 00 10 01 04 27 03 |ed>)..#.|......'.|
|000016f0| 00 00 00 2e 27 05 00 00 | 00 2e 07 05 53 4c 49 44 |....'...|....SLID|
|00001700| 45 07 08 45 58 41 4d 50 | 4c 45 53 23 0d 00 00 00 |E..EXAMP|LES#....|
|00001710| 04 07 0d 45 58 41 4d 50 | 4c 45 2d 47 52 4f 55 50 |...EXAMP|LE-GROUP|
|00001720| 26 2f 0a 41 73 73 75 6d | 65 20 49 4e 50 55 54 27 |&/.Assum|e INPUT'|
|00001730| 73 20 76 61 6c 75 65 20 | 69 73 20 28 41 20 4c 49 |s value |is (A LI|
|00001740| 53 54 20 46 4f 52 20 44 | 4f 20 54 45 53 54 53 29 |ST FOR D|O TESTS)|
|00001750| 2e 23 02 00 00 00 10 01 | 26 31 2a 20 28 44 4f 20 |.#......|&1* (DO |
|00001760| 28 28 4c 20 49 4e 50 55 | 54 20 28 52 45 53 54 20 |((L INPU|T (REST |
|00001770| 4c 29 29 29 0a 00 06 28 | 28 4e 55 4c 4c 20 28 52 |L)))...(|(NULL (R|
|00001780| 45 53 54 20 4c 29 29 20 | 4c 29 29 23 02 00 00 00 |EST L)) |L))#....|
|00001790| 10 01 26 07 28 54 45 53 | 54 53 29 23 01 00 00 00 |..&.(TES|TS)#....|
|000017a0| 10 01 27 04 00 00 00 2e | 07 0d 45 58 41 4d 50 4c |..'.....|..EXAMPL|
|000017b0| 45 2d 47 52 4f 55 50 04 | 26 31 57 68 61 74 20 69 |E-GROUP.|&1What i|
|000017c0| 73 20 61 20 73 69 6d 70 | 6c 65 72 20 77 61 79 20 |s a simp|ler way |
|000017d0| 74 6f 20 70 72 6f 64 75 | 63 65 20 74 68 65 20 73 |to produ|ce the s|
|000017e0| 61 6d 65 20 72 65 73 75 | 6c 74 3f 23 01 00 00 00 |ame resu|lt?#....|
|000017f0| 10 01 26 0c 28 4c 41 53 | 54 20 49 4e 50 55 54 29 |..&.(LAS|T INPUT)|
|00001800| 23 01 00 00 00 10 01 27 | 04 00 00 00 2e 04 10 02 |#......'|........|
|00001810| 27 05 00 00 00 2e 07 05 | 53 4c 49 44 45 07 08 45 |'.......|SLIDE..E|
|00001820| 58 41 4d 50 4c 45 53 23 | 0e 00 00 00 04 07 0d 45 |XAMPLES#|.......E|
|00001830| 58 41 4d 50 4c 45 2d 47 | 52 4f 55 50 26 2e 41 73 |XAMPLE-G|ROUP&.As|
|00001840| 73 75 6d 65 20 49 4e 50 | 55 54 27 73 20 76 61 6c |sume INP|UT's val|
|00001850| 75 65 20 69 73 20 28 41 | 20 4c 49 53 54 20 46 4f |ue is (A| LIST FO|
|00001860| 52 20 44 4f 20 54 45 53 | 54 53 29 2e 23 01 00 00 |R DO TES|TS).#...|
|00001870| 00 10 01 26 5e 2a 20 28 | 44 4f 20 28 28 4c 20 49 |...&^* (|DO ((L I|
|00001880| 4e 50 55 54 20 28 52 45 | 53 54 20 4c 29 29 0a 00 |NPUT (RE|ST L))..|
|00001890| 07 28 52 45 53 55 4c 54 | 20 4e 49 4c 29 29 0a 00 |.(RESULT| NIL))..|
|000018a0| 06 28 28 4e 55 4c 4c 20 | 4c 29 20 52 45 53 55 4c |.((NULL |L) RESUL|
|000018b0| 54 29 0a 00 04 28 53 45 | 54 46 20 52 45 53 55 4c |T)...(SE|TF RESUL|
|000018c0| 54 20 28 43 4f 4e 53 20 | 4c 20 52 45 53 55 4c 54 |T (CONS |L RESULT|
|000018d0| 29 29 29 23 04 00 00 00 | 10 01 26 51 28 28 54 45 |)))#....|..&Q((TE|
|000018e0| 53 54 53 29 0a 20 28 44 | 4f 20 54 45 53 54 53 29 |STS). (D|O TESTS)|
|000018f0| 0a 20 28 46 4f 52 20 44 | 4f 20 54 45 53 54 53 29 |. (FOR D|O TESTS)|
|00001900| 0a 20 28 4c 49 53 54 20 | 46 4f 52 20 44 4f 20 54 |. (LIST |FOR DO T|
|00001910| 45 53 54 53 29 0a 20 28 | 41 20 4c 49 53 54 20 46 |ESTS). (|A LIST F|
|00001920| 4f 52 20 44 4f 20 54 45 | 53 54 53 29 29 23 05 00 |OR DO TE|STS))#..|
|00001930| 00 00 10 01 27 04 00 00 | 00 2e 04 10 01 27 05 00 |....'...|.....'..|
|00001940| 00 00 2e 07 05 53 4c 49 | 44 45 07 08 45 58 41 4d |.....SLI|DE..EXAM|
|00001950| 50 4c 45 53 23 0f 00 00 | 00 04 07 0d 45 58 41 4d |PLES#...|....EXAM|
|00001960| 50 4c 45 2d 47 52 4f 55 | 50 26 4b 41 73 73 75 6d |PLE-GROU|P&KAssum|
|00001970| 65 20 49 4e 50 55 54 27 | 73 20 76 61 6c 75 65 20 |e INPUT'|s value |
|00001980| 69 73 20 28 41 20 4c 49 | 53 54 20 46 4f 52 20 44 |is (A LI|ST FOR D|
|00001990| 4f 20 54 45 53 54 53 29 | 2c 0a 61 73 73 75 6d 65 |O TESTS)|,.assume|
|000019a0| 20 43 4f 55 4e 54 45 52 | 27 73 20 76 61 6c 75 65 | COUNTER|'s value|
|000019b0| 20 69 73 20 34 2e 23 02 | 00 00 00 10 01 26 61 2a | is 4.#.|.....&a*|
|000019c0| 20 28 44 4f 20 28 28 4c | 20 49 4e 50 55 54 20 28 | (DO ((L| INPUT (|
|000019d0| 52 45 53 54 20 4c 29 29 | 0a 00 07 28 43 4f 55 4e |REST L))|...(COUN|
|000019e0| 54 45 52 20 28 2d 20 43 | 4f 55 4e 54 45 52 20 31 |TER (- C|OUNTER 1|
|000019f0| 29 20 28 2d 20 43 4f 55 | 4e 54 45 52 20 31 29 29 |) (- COU|NTER 1))|
|00001a00| 29 0a 00 06 28 28 5a 45 | 52 4f 50 20 43 4f 55 4e |)...((ZE|ROP COUN|
|00001a10| 54 45 52 29 20 28 46 49 | 52 53 54 20 4c 29 29 29 |TER) (FI|RST L)))|
|00001a20| 23 03 00 00 00 10 01 26 | 02 44 4f 23 01 00 00 00 |#......&|.DO#....|
|00001a30| 10 01 27 04 00 00 00 2e | 07 0d 45 58 41 4d 50 4c |..'.....|..EXAMPL|
|00001a40| 45 2d 47 52 4f 55 50 26 | 2e 41 73 73 75 6d 65 20 |E-GROUP&|.Assume |
|00001a50| 49 4e 50 55 54 27 73 20 | 76 61 6c 75 65 20 69 73 |INPUT's |value is|
|00001a60| 20 28 41 20 4c 49 53 54 | 20 46 4f 52 20 44 4f 20 | (A LIST| FOR DO |
|00001a70| 54 45 53 54 53 29 2e 23 | 01 00 00 00 10 01 26 77 |TESTS).#|......&w|
|00001a80| 2a 20 28 44 4f 20 28 28 | 4c 20 49 4e 50 55 54 20 |* (DO ((|L INPUT |
|00001a90| 28 52 45 53 54 20 4c 29 | 29 0a 00 07 28 52 45 53 |(REST L)|)...(RES|
|00001aa0| 55 4c 54 20 4e 49 4c 29 | 29 0a 00 06 28 28 4e 55 |ULT NIL)|)...((NU|
|00001ab0| 4c 4c 20 4c 29 20 28 52 | 45 56 45 52 53 45 20 52 |LL L) (R|EVERSE R|
|00001ac0| 45 53 55 4c 54 29 29 0a | 00 04 28 53 45 54 46 20 |ESULT)).|..(SETF |
|00001ad0| 52 45 53 55 4c 54 20 28 | 43 4f 4e 53 20 28 4c 49 |RESULT (|CONS (LI|
|00001ae0| 53 54 20 28 46 49 52 53 | 54 20 4c 29 29 20 52 45 |ST (FIRS|T L)) RE|
|00001af0| 53 55 4c 54 29 29 29 23 | 04 00 00 00 10 01 26 1f |SULT)))#|......&.|
|00001b00| 28 28 41 29 20 28 4c 49 | 53 54 29 20 28 46 4f 52 |((A) (LI|ST) (FOR|
|00001b10| 29 20 28 44 4f 29 20 28 | 54 45 53 54 53 29 29 23 |) (DO) (|TESTS))#|
|00001b20| 01 00 00 00 10 01 27 04 | 00 00 00 2e 04 10 02 27 |......'.|.......'|
|00001b30| 05 00 00 00 2e 07 05 53 | 4c 49 44 45 07 08 45 58 |.......S|LIDE..EX|
|00001b40| 41 4d 50 4c 45 53 23 10 | 00 00 00 04 07 0d 45 58 |AMPLES#.|......EX|
|00001b50| 41 4d 50 4c 45 2d 47 52 | 4f 55 50 26 24 41 73 73 |AMPLE-GR|OUP&$Ass|
|00001b60| 75 6d 65 20 49 4e 50 55 | 54 27 73 20 76 61 6c 75 |ume INPU|T's valu|
|00001b70| 65 20 69 73 20 28 31 20 | 2b 20 31 20 3d 20 32 29 |e is (1 |+ 1 = 2)|
|00001b80| 2e 23 01 00 00 00 10 01 | 26 8f 2a 20 28 44 4f 20 |.#......|&.* (DO |
|00001b90| 28 28 4c 20 49 4e 50 55 | 54 20 28 52 45 53 54 20 |((L INPU|T (REST |
|00001ba0| 4c 29 29 0a 00 07 28 52 | 45 53 55 4c 54 20 4e 49 |L))...(R|ESULT NI|
|00001bb0| 4c 29 29 0a 00 06 28 28 | 4e 55 4c 4c 20 4c 29 20 |L))...((|NULL L) |
|00001bc0| 28 52 45 56 45 52 53 45 | 20 52 45 53 55 4c 54 29 |(REVERSE| RESULT)|
|00001bd0| 29 0a 00 04 28 55 4e 4c | 45 53 53 20 28 4e 55 4d |)...(UNL|ESS (NUM|
|00001be0| 42 45 52 50 20 28 46 49 | 52 53 54 20 4c 29 29 0a |BERP (FI|RST L)).|
|00001bf0| 00 0c 28 53 45 54 46 20 | 52 45 53 55 4c 54 20 28 |..(SETF |RESULT (|
|00001c00| 43 4f 4e 53 20 28 46 49 | 52 53 54 20 4c 29 20 52 |CONS (FI|RST L) R|
|00001c10| 45 53 55 4c 54 29 29 29 | 29 23 05 00 00 00 10 01 |ESULT)))|)#......|
|00001c20| 26 05 28 2b 20 3d 29 23 | 01 00 00 00 10 01 27 04 |&.(+ =)#|......'.|
|00001c30| 00 00 00 2e 04 10 01 27 | 05 00 00 00 2e 07 05 53 |.......'|.......S|
|00001c40| 4c 49 44 45 07 08 45 58 | 41 4d 50 4c 45 53 23 11 |LIDE..EX|AMPLES#.|
|00001c50| 00 00 00 04 07 0d 45 58 | 41 4d 50 4c 45 2d 47 52 |......EX|AMPLE-GR|
|00001c60| 4f 55 50 26 24 41 73 73 | 75 6d 65 20 49 4e 50 55 |OUP&$Ass|ume INPU|
|00001c70| 54 27 73 20 76 61 6c 75 | 65 20 69 73 20 28 31 20 |T's valu|e is (1 |
|00001c80| 2b 20 31 20 3d 20 32 29 | 2e 23 01 00 00 00 10 01 |+ 1 = 2)|.#......|
|00001c90| 26 8d 2a 20 28 44 4f 20 | 28 28 4c 20 49 4e 50 55 |&.* (DO |((L INPU|
|00001ca0| 54 20 28 52 45 53 54 20 | 4c 29 29 0a 00 07 28 52 |T (REST |L))...(R|
|00001cb0| 45 53 55 4c 54 20 4e 49 | 4c 29 29 0a 00 06 28 28 |ESULT NI|L))...((|
|00001cc0| 4e 55 4c 4c 20 4c 29 20 | 28 52 45 56 45 52 53 45 |NULL L) |(REVERSE|
|00001cd0| 20 52 45 53 55 4c 54 29 | 29 0a 00 04 28 57 48 45 | RESULT)|)...(WHE|
|00001ce0| 4e 20 28 4e 55 4d 42 45 | 52 50 20 28 46 49 52 53 |N (NUMBE|RP (FIRS|
|00001cf0| 54 20 4c 29 29 0a 00 0a | 28 53 45 54 46 20 52 45 |T L))...|(SETF RE|
|00001d00| 53 55 4c 54 20 28 43 4f | 4e 53 20 28 46 49 52 53 |SULT (CO|NS (FIRS|
|00001d10| 54 20 4c 29 20 52 45 53 | 55 4c 54 29 29 29 29 23 |T L) RES|ULT))))#|
|00001d20| 05 00 00 00 10 01 26 08 | 28 31 20 31 20 32 29 0a |......&.|(1 1 2).|
|00001d30| 23 02 00 00 00 10 01 27 | 04 00 00 00 2e 04 10 01 |#......'|........|
|00001d40| 27 05 00 00 00 2e 07 05 | 53 4c 49 44 45 07 0a 45 |'.......|SLIDE..E|
|00001d50| 58 50 4f 53 49 54 49 4f | 4e 23 12 00 00 00 04 07 |XPOSITIO|N#......|
|00001d60| 0a 45 58 50 4f 53 49 54 | 49 4f 4e 25 79 01 00 00 |.EXPOSIT|ION%y...|
|00001d70| 0a 4e 6f 77 20 6c 65 74 | 27 73 20 6c 6f 6f 6b 20 |.Now let|'s look |
|00001d80| 61 74 20 73 6f 6d 65 20 | 70 72 6f 63 65 64 75 72 |at some |procedur|
|00001d90| 65 73 20 74 68 61 74 20 | 75 73 65 20 44 4f 2e 20 |es that |use DO. |
|00001da0| 48 65 72 65 20 69 73 20 | 6f 6e 65 20 74 68 61 74 |Here is |one that|
|00001db0| 0a 63 6f 6d 70 75 74 65 | 73 20 74 68 65 20 70 6f |.compute|s the po|
|00001dc0| 77 65 72 20 6f 66 20 61 | 20 6e 75 6d 62 65 72 3a |wer of a| number:|
|00001dd0| 0a 0a 28 44 45 46 55 4e | 20 4f 55 52 2d 45 58 50 |..(DEFUN| OUR-EXP|
|00001de0| 54 20 28 4d 20 4e 29 0a | 00 02 28 44 4f 20 28 28 |T (M N).|..(DO ((|
|00001df0| 52 45 53 55 4c 54 20 31 | 20 28 2a 20 4d 20 52 45 |RESULT 1| (* M RE|
|00001e00| 53 55 4c 54 29 29 00 04 | 3b 52 45 53 55 4c 54 27 |SULT))..|;RESULT'|
|00001e10| 73 20 69 6e 69 74 69 61 | 6c 20 61 6e 64 20 72 65 |s initia|l and re|
|00001e20| 73 65 74 2e 0a 00 07 28 | 43 4f 55 4e 54 45 52 20 |set....(|COUNTER |
|00001e30| 4e 20 28 2d 20 43 4f 55 | 4e 54 45 52 20 31 29 29 |N (- COU|NTER 1))|
|00001e40| 29 20 3b 43 4f 55 4e 54 | 45 52 27 73 20 69 6e 69 |) ;COUNT|ER's ini|
|00001e50| 74 69 61 6c 20 61 6e 64 | 20 72 65 73 65 74 2e 0a |tial and| reset..|
|00001e60| 00 06 28 28 5a 45 52 4f | 50 20 43 4f 55 4e 54 45 |..((ZERO|P COUNTE|
|00001e70| 52 29 20 52 45 53 55 4c | 54 29 29 29 00 02 3b 54 |R) RESUL|T)))..;T|
|00001e80| 72 69 67 67 65 72 20 61 | 6e 64 20 72 65 73 75 6c |rigger a|nd resul|
|00001e90| 74 2e 0a 0a 54 68 69 73 | 20 6d 61 79 20 6c 6f 6f |t...This| may loo|
|00001ea0| 6b 20 61 20 62 69 74 20 | 73 74 72 61 6e 67 65 2c |k a bit |strange,|
|00001eb0| 20 62 65 63 61 75 73 65 | 20 74 68 65 72 65 20 69 | because| there i|
|00001ec0| 73 20 6e 6f 20 62 6f 64 | 79 2c 20 62 75 74 20 69 |s no bod|y, but i|
|00001ed0| 74 20 69 73 0a 6c 65 67 | 61 6c 20 61 6e 64 20 69 |t is.leg|al and i|
|00001ee0| 74 20 77 6f 72 6b 73 2e | 0a 23 0c 00 00 00 10 01 |t works.|.#......|
|00001ef0| 04 27 03 00 00 00 2e 27 | 05 00 00 00 2e 07 05 53 |.'.....'|.......S|
|00001f00| 4c 49 44 45 07 0a 45 58 | 50 4f 53 49 54 49 4f 4e |LIDE..EX|POSITION|
|00001f10| 23 13 00 00 00 04 07 0a | 45 58 50 4f 53 49 54 49 |#.......|EXPOSITI|
|00001f20| 4f 4e 26 d2 0a 48 65 72 | 65 20 69 73 20 61 6e 6f |ON&..Her|e is ano|
|00001f30| 74 68 65 72 20 73 61 6d | 70 6c 65 20 6f 66 20 61 |ther sam|ple of a|
|00001f40| 20 70 72 6f 63 65 64 75 | 72 65 20 75 73 69 6e 67 | procedu|re using|
|00001f50| 20 44 4f 3b 20 74 68 69 | 73 20 6f 6e 65 20 63 6f | DO; thi|s one co|
|00001f60| 6d 70 75 74 65 73 0a 74 | 68 65 20 6c 65 6e 67 74 |mputes.t|he lengt|
|00001f70| 68 20 6f 66 20 61 20 6c | 69 73 74 3a 0a 0a 28 44 |h of a l|ist:..(D|
|00001f80| 45 46 55 4e 20 43 4f 55 | 4e 54 2d 45 4c 45 4d 45 |EFUN COU|NT-ELEME|
|00001f90| 4e 54 53 20 28 4c 49 53 | 54 29 0a 00 02 28 44 4f |NTS (LIS|T)...(DO|
|00001fa0| 20 28 28 4c 20 4c 49 53 | 54 20 28 52 45 53 54 20 | ((L LIS|T (REST |
|00001fb0| 4c 29 29 0a 00 07 28 52 | 45 53 55 4c 54 20 30 20 |L))...(R|ESULT 0 |
|00001fc0| 28 2b 20 52 45 53 55 4c | 54 20 31 29 29 29 0a 00 |(+ RESUL|T 1)))..|
|00001fd0| 06 28 28 4e 55 4c 4c 20 | 4c 29 20 52 45 53 55 4c |.((NULL |L) RESUL|
|00001fe0| 54 29 29 29 0a 0a 41 67 | 61 69 6e 2c 20 6e 6f 20 |T)))..Ag|ain, no |
|00001ff0| 62 6f 64 79 2e 0a 23 0b | 00 00 00 10 01 04 27 03 |body..#.|......'.|
|00002000| 00 00 00 2e 27 05 00 00 | 00 2e 07 05 53 4c 49 44 |....'...|....SLID|
|00002010| 45 07 0a 45 58 50 4f 53 | 49 54 49 4f 4e 23 14 00 |E..EXPOS|ITION#..|
|00002020| 00 00 04 07 0a 45 58 50 | 4f 53 49 54 49 4f 4e 25 |.....EXP|OSITION%|
|00002030| dc 01 00 00 0a 44 4f 20 | 69 73 20 74 6f 20 4c 45 |.....DO |is to LE|
|00002040| 54 20 61 73 20 44 4f 2a | 20 69 73 20 74 6f 20 4c |T as DO*| is to L|
|00002050| 45 54 2a 2e 00 02 54 68 | 61 74 20 69 73 2c 20 44 |ET*...Th|at is, D|
|00002060| 4f 20 61 6e 64 20 4c 45 | 54 20 64 6f 20 74 68 65 |O and LE|T do the|
|00002070| 69 72 0a 70 61 72 61 6d | 65 74 65 72 20 61 73 73 |ir.param|eter ass|
|00002080| 69 67 6e 6d 65 6e 74 20 | 69 6e 20 70 61 72 61 6c |ignment |in paral|
|00002090| 6c 65 6c 2c 20 77 68 69 | 6c 65 20 44 4f 2a 20 61 |lel, whi|le DO* a|
|000020a0| 6e 64 20 4c 45 54 2a 20 | 64 6f 20 69 74 0a 73 65 |nd LET* |do it.se|
|000020b0| 71 75 65 6e 74 69 61 6c | 6c 79 2e 00 02 48 65 72 |quential|ly...Her|
|000020c0| 65 20 69 73 20 61 6e 20 | 65 78 61 6d 70 6c 65 20 |e is an |example |
|000020d0| 6f 66 20 44 4f 2a 2c 20 | 75 73 65 64 20 69 6e 20 |of DO*, |used in |
|000020e0| 6f 6e 65 20 6f 66 20 6d | 61 6e 79 0a 77 61 79 73 |one of m|any.ways|
|000020f0| 20 74 6f 20 64 65 66 69 | 6e 65 20 4f 55 52 2d 52 | to defi|ne OUR-R|
|00002100| 45 56 45 52 53 45 3a 0a | 0a 28 44 45 46 55 4e 20 |EVERSE:.|.(DEFUN |
|00002110| 4f 55 52 2d 52 45 56 45 | 52 53 45 20 28 4c 49 53 |OUR-REVE|RSE (LIS|
|00002120| 54 29 0a 00 02 28 44 4f | 2a 20 28 28 4c 20 4c 49 |T)...(DO|* ((L LI|
|00002130| 53 54 20 28 52 45 53 54 | 20 4c 29 29 0a 00 08 28 |ST (REST| L))...(|
|00002140| 52 45 53 55 4c 54 20 28 | 4c 49 53 54 20 28 46 49 |RESULT (|LIST (FI|
|00002150| 52 53 54 20 4c 29 29 20 | 0a 00 10 28 43 4f 4e 53 |RST L)) |...(CONS|
|00002160| 20 28 46 49 52 53 54 20 | 4c 29 20 52 45 53 55 4c | (FIRST |L) RESUL|
|00002170| 54 29 29 29 0a 00 07 28 | 28 4e 55 4c 4c 20 4c 29 |T)))...(|(NULL L)|
|00002180| 20 52 45 53 55 4c 54 29 | 29 29 0a 0a 49 74 20 77 | RESULT)|))..It w|
|00002190| 6f 75 6c 64 20 62 65 20 | 77 72 6f 6e 67 20 74 6f |ould be |wrong to|
|000021a0| 20 75 73 65 20 44 4f 20 | 69 6e 73 74 65 61 64 20 | use DO |instead |
|000021b0| 6f 66 20 44 4f 2a 2c 20 | 62 65 63 61 75 73 65 20 |of DO*, |because |
|000021c0| 74 68 65 20 70 72 6f 70 | 65 72 0a 76 61 6c 75 65 |the prop|er.value|
|000021d0| 73 20 6f 66 20 4c 20 77 | 6f 75 6c 64 20 6e 6f 74 |s of L w|ould not|
|000021e0| 20 62 65 20 61 76 61 69 | 6c 61 62 6c 65 20 66 6f | be avai|lable fo|
|000021f0| 72 20 73 65 74 74 69 6e | 67 20 61 6e 64 20 72 65 |r settin|g and re|
|00002200| 73 65 74 74 69 6e 67 0a | 52 45 53 55 4c 54 2e 0a |setting.|RESULT..|
|00002210| 23 10 00 00 00 10 01 04 | 27 03 00 00 00 2e 27 05 |#.......|'.....'.|
|00002220| 00 00 00 2e 07 05 53 4c | 49 44 45 07 0a 45 58 50 |......SL|IDE..EXP|
|00002230| 4f 53 49 54 49 4f 4e 23 | 15 00 00 00 04 07 0a 45 |OSITION#|.......E|
|00002240| 58 50 4f 53 49 54 49 4f | 4e 26 9c 0a 52 65 6d 65 |XPOSITIO|N&..Reme|
|00002250| 6d 62 65 72 20 2e 2e 2e | 0a 0a 6f 00 04 49 46 20 |mber ...|..o..IF |
|00002260| 79 6f 75 20 77 61 6e 74 | 20 74 6f 20 64 6f 20 65 |you want| to do e|
|00002270| 78 70 6c 69 63 69 74 20 | 69 74 65 72 61 74 69 6f |xplicit |iteratio|
|00002280| 6e 2c 0a 00 05 41 4e 44 | 20 79 6f 75 20 61 72 65 |n,...AND| you are|
|00002290| 20 6e 6f 74 20 73 69 6d | 70 6c 79 20 77 6f 72 6b | not sim|ply work|
|000022a0| 69 6e 67 20 6f 6e 20 65 | 76 65 72 79 20 65 6c 65 |ing on e|very ele|
|000022b0| 6d 65 6e 74 20 69 6e 20 | 61 20 6c 69 73 74 2c 0a |ment in |a list,.|
|000022c0| 00 05 54 48 45 4e 20 75 | 73 65 20 44 4f 20 6f 72 |..THEN u|se DO or|
|000022d0| 20 44 4f 2a 2e 0a 0a 28 | 63 6f 6e 74 69 6e 75 65 | DO*...(|continue|
|000022e0| 64 20 2e 2e 2e 29 0a 23 | 09 00 00 00 10 01 04 27 |d ...).#|.......'|
|000022f0| 03 00 00 00 2e 27 05 00 | 00 00 2e 07 05 53 4c 49 |.....'..|.....SLI|
|00002300| 44 45 07 0a 45 58 50 4f | 53 49 54 49 4f 4e 23 16 |DE..EXPO|SITION#.|
|00002310| 00 00 00 04 07 0a 45 58 | 50 4f 53 49 54 49 4f 4e |......EX|POSITION|
|00002320| 25 89 01 00 00 0a 6f 00 | 04 49 46 20 79 6f 75 20 |%.....o.|.IF you |
|00002330| 77 61 6e 74 20 74 6f 20 | 75 73 65 20 44 4f 20 6f |want to |use DO o|
|00002340| 72 20 44 4f 2a 2c 0a 00 | 05 41 4e 44 20 79 6f 75 |r DO*,..|.AND you|
|00002350| 20 77 61 6e 74 20 74 68 | 65 20 70 61 72 61 6d 65 | want th|e parame|
|00002360| 74 65 72 73 20 61 73 73 | 69 67 6e 65 64 20 69 6e |ters ass|igned in|
|00002370| 20 70 61 72 61 6c 6c 65 | 6c 0a 00 05 54 48 45 4e | paralle|l...THEN|
|00002380| 20 75 73 65 20 44 4f 3a | 0a 0a 00 05 28 44 4f 20 | use DO:|....(DO |
|00002390| 28 28 3c 70 61 72 61 6d | 65 74 65 72 20 31 3e 20 |((<param|eter 1> |
|000023a0| 3c 69 6e 69 74 69 61 6c | 20 76 61 6c 75 65 20 31 |<initial| value 1|
|000023b0| 3e 20 3c 72 65 73 65 74 | 20 66 6f 72 6d 20 31 3e |> <reset| form 1>|
|000023c0| 29 0a 00 0a 28 3c 70 61 | 72 61 6d 65 74 65 72 20 |)...(<pa|rameter |
|000023d0| 32 3e 20 3c 69 6e 69 74 | 69 61 6c 20 76 61 6c 75 |2> <init|ial valu|
|000023e0| 65 20 32 3e 20 3c 72 65 | 73 65 74 20 66 6f 72 6d |e 2> <re|set form|
|000023f0| 20 32 3e 29 0a 00 0a 2e | 2e 2e 0a 00 0a 28 3c 70 | 2>)....|.....(<p|
|00002400| 61 72 61 6d 65 74 65 72 | 20 6e 3e 20 3c 69 6e 69 |arameter| n> <ini|
|00002410| 74 69 61 6c 20 76 61 6c | 75 65 20 6e 3e 20 3c 72 |tial val|ue n> <r|
|00002420| 65 73 65 74 20 66 6f 72 | 6d 20 6e 3e 29 29 0a 00 |eset for|m n>))..|
|00002430| 09 28 3c 74 72 69 67 67 | 65 72 3e 20 3c 73 69 64 |.(<trigg|er> <sid|
|00002440| 65 20 65 66 66 65 63 74 | 20 66 6f 72 6d 73 2c 20 |e effect| forms, |
|00002450| 69 66 20 61 6e 79 3e 20 | 3c 76 61 6c 75 65 20 66 |if any> |<value f|
|00002460| 6f 72 6d 3e 29 0a 00 07 | 3c 62 6f 64 79 20 66 6f |orm>)...|<body fo|
|00002470| 72 6d 20 31 3e 0a 00 07 | 3c 62 6f 64 79 20 66 6f |rm 1>...|<body fo|
|00002480| 72 6d 20 32 3e 0a 00 07 | 2e 2e 2e 0a 00 07 3c 62 |rm 2>...|......<b|
|00002490| 6f 64 79 20 66 6f 72 6d | 20 6e 3e 29 0a 0a 28 63 |ody form| n>)..(c|
|000024a0| 6f 6e 74 69 6e 75 65 64 | 20 2e 2e 2e 29 0a 23 11 |ontinued| ...).#.|
|000024b0| 00 00 00 10 01 04 27 03 | 00 00 00 2e 27 05 00 00 |......'.|....'...|
|000024c0| 00 2e 07 05 53 4c 49 44 | 45 07 0a 45 58 50 4f 53 |....SLID|E..EXPOS|
|000024d0| 49 54 49 4f 4e 23 17 00 | 00 00 04 07 0a 45 58 50 |ITION#..|.....EXP|
|000024e0| 4f 53 49 54 49 4f 4e 25 | 7b 01 00 00 0a 6f 00 04 |OSITION%|{....o..|
|000024f0| 49 46 20 79 6f 75 20 77 | 61 6e 74 20 74 6f 20 75 |IF you w|ant to u|
|00002500| 73 65 20 44 4f 20 6f 72 | 20 44 4f 2a 2c 0a 00 05 |se DO or| DO*,...|
|00002510| 41 4e 44 20 79 6f 75 20 | 77 61 6e 74 20 74 68 65 |AND you |want the|
|00002520| 20 70 61 72 61 6d 65 74 | 65 72 73 20 61 73 73 69 | paramet|ers assi|
|00002530| 67 6e 65 64 20 73 65 71 | 75 65 6e 74 69 61 6c 6c |gned seq|uentiall|
|00002540| 79 0a 00 05 54 48 45 4e | 20 75 73 65 20 44 4f 2a |y...THEN| use DO*|
|00002550| 3a 0a 0a 00 05 28 44 4f | 2a 20 28 28 3c 70 61 72 |:....(DO|* ((<par|
|00002560| 61 6d 65 74 65 72 20 31 | 3e 20 3c 69 6e 69 74 69 |ameter 1|> <initi|
|00002570| 61 6c 20 76 61 6c 75 65 | 20 31 3e 20 3c 72 65 73 |al value| 1> <res|
|00002580| 65 74 20 66 6f 72 6d 20 | 31 3e 29 0a 00 0b 28 3c |et form |1>)...(<|
|00002590| 70 61 72 61 6d 65 74 65 | 72 20 32 3e 20 3c 69 6e |paramete|r 2> <in|
|000025a0| 69 74 69 61 6c 20 76 61 | 6c 75 65 20 32 3e 20 3c |itial va|lue 2> <|
|000025b0| 72 65 73 65 74 20 66 6f | 72 6d 20 32 3e 29 0a 00 |reset fo|rm 2>)..|
|000025c0| 0b 2e 2e 2e 0a 00 0b 28 | 3c 70 61 72 61 6d 65 74 |.......(|<paramet|
|000025d0| 65 72 20 6e 3e 20 3c 69 | 6e 69 74 69 61 6c 20 76 |er n> <i|nitial v|
|000025e0| 61 6c 75 65 20 6e 3e 20 | 3c 72 65 73 65 74 20 66 |alue n> |<reset f|
|000025f0| 6f 72 6d 20 6e 3e 29 29 | 0a 00 0a 28 3c 74 72 69 |orm n>))|...(<tri|
|00002600| 67 67 65 72 3e 20 3c 73 | 69 64 65 20 65 66 66 65 |gger> <s|ide effe|
|00002610| 63 74 20 66 6f 72 6d 73 | 2c 20 69 66 20 61 6e 79 |ct forms|, if any|
|00002620| 3e 20 3c 76 61 6c 75 65 | 20 66 6f 72 6d 3e 29 0a |> <value| form>).|
|00002630| 00 07 3c 62 6f 64 79 20 | 66 6f 72 6d 20 31 3e 0a |..<body |form 1>.|
|00002640| 00 07 3c 62 6f 64 79 20 | 66 6f 72 6d 20 32 3e 0a |..<body |form 2>.|
|00002650| 00 07 2e 2e 2e 0a 00 07 | 3c 62 6f 64 79 20 66 6f |........|<body fo|
|00002660| 72 6d 20 6e 3e 29 0a 23 | 0f 00 00 00 10 01 04 27 |rm n>).#|.......'|
|00002670| 03 00 00 00 2e 27 05 00 | 00 00 2e 27 17 00 00 00 |.....'..|...'....|
|00002680| 04 27 05 00 00 00 2e 04 | 10 02 04 10 03 36 0b 01 |.'......|.....6..|
|00002690| 04 53 45 54 46 07 15 2a | 4c 41 53 54 2d 4c 4f 41 |.SETF..*|LAST-LOA|
|000026a0| 44 45 44 2d 4c 45 53 53 | 4f 4e 53 2a 0b 01 05 51 |DED-LESS|ONS*...Q|
|000026b0| 55 4f 54 45 07 0a 54 4f | 2d 49 54 45 52 41 54 45 |UOTE..TO|-ITERATE|
|000026c0| 04 10 01 04 10 02 04 10 | 03 36 40 |........|.6@ |
+--------+-------------------------+-------------------------+--------+--------+