home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 14 / 14.iso / s / s005 / 61.ddi / TECHREF.DC$ / TECHREF.bin
Unknown  |  1992-04-01  |  148.0 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.

ConfidenceProgramDetectionMatch TypeSupport
1% dexvert Debian floppy split (archive/debianFloppySplit) ext Unsupported
1% dexvert Sound Images sound sample (audio/soundImagesSoundSample) ext Unsupported
1% dexvert STarKos tune (music/sTarKosTune) ext Unsupported
1% dexvert CADVANCE drawing (image/cadvanceDrawing) ext Unsupported
1% dexvert DESI-III drawing (image/desiIIIDrawing) ext Unsupported
1% dexvert MS-DOS PMODE extender executable (executable/msdosPMODEExtenderExecutable) ext Unsupported
1% dexvert Alien Trilogytextures (other/alienTrilogyTextures) ext Unsupported
1% dexvert APT cache data (other/aptCacheData) ext Unsupported
1% dexvert CADVANCE 2D symbol (other/cadvance2DSymbol) ext Unsupported
1% dexvert Cakewalk Groove (other/cakewalkGroove) ext Unsupported
1% dexvert Comic Book Creator Background (other/comicBookCreatorBackground) ext Unsupported
1% dexvert Comic Book Creator shape Table (other/comicBookCreatorShapeTable) ext Unsupported
1% dexvert CorelTRACE configuration (other/corelTRACEConfiguration) ext Unsupported
1% dexvert Dreamcast Disc (other/dreamcastDisc) ext Unsupported
1% dexvert EST flat binary (other/estFlatBinary) ext Unsupported
1% dexvert Finale Enigma Binary Format (other/finaleEnigmaBinaryFormat) ext Unsupported
1% dexvert Sega Genesis/Megadrive/32x ROM (other/genesisROM) ext Unsupported
1% dexvert Myth: The Fallen Lords game archive (other/mythTheFallenLordsGameArchive) ext Unsupported
1% dexvert Sega Saturn ROM (other/segaSaturnROM) ext Unsupported
1% dexvert Sound Images Sound Driver (other/soundImagesSoundDriver) ext Unsupported
1% dexvert Symantec/Norton Config (other/symantecNortonConfig) ext Unsupported
1% dexvert Vectrex ROM (other/vectrexROM) ext Unsupported
1% dexvert Adrenaline Rush Hour game data (other/adrenalineRushHourGameData) ext Unsupported
1% dexvert Bandai Tamagochi game data (other/bandaiTamagochiGameData) ext Unsupported
1% dexvert BIS raP encoded format (other/bisraPEncoded) ext Unsupported
1% dexvert Linksys RT31P2-NA firmware (other/linksysRT31P2NAFirmware) ext Unsupported
1% dexvert Pascal Script binary (other/pascalScriptBinary) ext Unsupported
1% dexvert 7th Level game data archive (other/seventhLevelGameDataArchive) ext Unsupported
1% dexvert Star Wars Galaxies TRE archive (other/starWarsGalaxiesTREArchive) ext Unsupported
1% dexvert Statistica MFM data (other/statisticaMFMData) ext Unsupported
1% dexvert Surf's Up game data archive (other/surfsUpGameDataArchive) ext Unsupported
1% dexvert TP-Link router firmware (other/tpLinkRouterFirmware) ext Unsupported
1% dexvert Binary Text (image/binaryText) fallback Supported
100% file data default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 9c a5 21 00 46 20 02 00 | 00 00 08 00 19 00 00 00 |..!.F ..|........|
|00000010| 00 00 00 00 00 00 00 00 | 80 01 00 00 5c f2 01 00 |........|....\...|
|00000020| c3 50 02 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |.P......|........|
|00000030| 00 00 00 00 33 f0 01 00 | 00 00 00 00 a7 00 00 00 |....3...|........|
|00000040| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000050| 00 00 00 00 00 00 00 00 | 00 4a 02 00 ca 01 00 4a |........|.J.....J|
|00000060| 02 00 ca 01 ca 4b 02 00 | 00 00 ca 4b 02 00 00 00 |.....K..|...K....|
|00000070| ca 4b 02 00 00 00 ca 4b | 02 00 00 00 ca 4b 02 00 |.K.....K|.....K..|
|00000080| 0e 00 d8 4b 02 00 b2 02 | 8a 4e 02 00 00 00 8a 4e |...K....|.N.....N|
|00000090| 02 00 00 00 8a 4e 02 00 | 00 00 8a 4e 02 00 0c 00 |.....N..|...N....|
|000000a0| 96 4e 02 00 40 00 d6 4e | 02 00 a0 00 8a 4e 02 00 |.N..@..N|.....N..|
|000000b0| 00 00 76 4f 02 00 24 00 | 9a 4f 02 00 00 00 9a 4f |..vO..$.|.O.....O|
|000000c0| 02 00 04 00 9e 4f 02 00 | 00 00 9e 4f 02 00 00 00 |.....O..|...O....|
|000000d0| 9e 4f 02 00 00 00 9e 4f | 02 00 00 00 9e 4f 02 00 |.O.....O|.....O..|
|000000e0| 00 00 9e 4f 02 00 00 00 | 9e 4f 02 00 00 00 9e 4f |...O....|.O.....O|
|000000f0| 02 00 00 00 9e 4f 02 00 | 00 00 9e 4f 02 00 62 00 |.....O..|...O..b.|
|00000100| 00 50 02 00 1e 00 1e 50 | 02 00 42 00 60 50 02 00 |.P.....P|..B.`P..|
|00000110| 63 00 1e 50 02 00 00 00 | ca 4b 02 00 00 00 1e 50 |c..P....|.K.....P|
|00000120| 02 00 00 00 1e 50 02 00 | 00 00 1e 50 02 00 00 00 |.....P..|...P....|
|00000130| 00 00 01 01 0b 01 0a 00 | 1a 00 00 00 00 00 00 00 |........|........|
|00000140| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000150| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000160| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000170| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000180| 54 68 69 73 20 64 6f 63 | 75 6d 65 6e 74 20 69 73 |This doc|ument is|
|00000190| 20 61 6e 20 61 62 72 69 | 64 67 65 64 20 76 65 72 | an abri|dged ver|
|000001a0| 73 69 6f 6e 20 6f 66 20 | 74 68 65 20 4d 61 63 72 |sion of |the Macr|
|000001b0| 6f 73 20 73 65 63 74 69 | 6f 6e 73 20 66 72 6f 6d |os secti|ons from|
|000001c0| 20 74 68 65 20 54 65 63 | 68 6e 69 63 61 6c 20 52 | the Tec|hnical R|
|000001d0| 65 66 65 72 65 6e 63 65 | 2e 20 20 49 6e 20 79 6f |eference|. In yo|
|000001e0| 75 72 20 57 6f 72 64 20 | 66 6f 72 20 4f 53 2f 32 |ur Word |for OS/2|
|000001f0| 20 20 70 61 63 6b 61 67 | 65 2c 20 79 6f 75 20 77 | packag|e, you w|
|00000200| 69 6c 6c 20 66 69 6e 64 | 20 61 20 66 6f 72 6d 20 |ill find| a form |
|00000210| 74 6f 20 66 69 6c 6c 20 | 6f 75 74 20 61 6e 64 20 |to fill |out and |
|00000220| 6d 61 69 6c 20 69 6e 20 | 74 6f 20 70 75 72 63 68 |mail in |to purch|
|00000230| 61 73 65 20 74 68 65 20 | 54 65 63 68 6e 69 63 61 |ase the |Technica|
|00000240| 6c 20 52 65 66 65 72 65 | 6e 63 65 2e 0d 0a 0c 4d |l Refere|nce....M|
|00000250| 61 63 72 6f 73 3a 20 20 | 49 6e 74 72 6f 64 75 63 |acros: |Introduc|
|00000260| 74 69 6f 6e 0d 0a 0d 0a | 41 20 6d 61 63 72 6f 20 |tion....|A macro |
|00000270| 69 73 20 61 20 73 65 74 | 20 6f 66 20 69 6e 73 74 |is a set| of inst|
|00000280| 72 75 63 74 69 6f 6e 73 | 20 74 68 61 74 20 79 6f |ructions| that yo|
|00000290| 75 20 63 61 6e 20 63 72 | 65 61 74 65 20 66 6f 72 |u can cr|eate for|
|000002a0| 20 4d 69 63 72 6f 73 6f | 66 74 20 57 6f 72 64 20 | Microso|ft Word |
|000002b0| 74 6f 20 66 6f 6c 6c 6f | 77 2e 20 59 6f 75 20 63 |to follo|w. You c|
|000002c0| 61 6e 20 75 73 65 20 61 | 20 6d 61 63 72 6f 20 74 |an use a| macro t|
|000002d0| 6f 20 63 6f 6d 62 69 6e | 65 20 61 20 73 65 72 69 |o combin|e a seri|
|000002e0| 65 73 20 6f 66 20 61 63 | 74 69 6f 6e 73 20 69 6e |es of ac|tions in|
|000002f0| 74 6f 20 6f 6e 65 20 73 | 74 65 70 2e 20 57 68 65 |to one s|tep. Whe|
|00000300| 6e 65 76 65 72 20 79 6f | 75 20 66 72 65 71 75 65 |never yo|u freque|
|00000310| 6e 74 6c 79 20 72 65 70 | 65 61 74 20 74 68 65 20 |ntly rep|eat the |
|00000320| 73 61 6d 65 20 73 74 65 | 70 73 20 69 6e 20 57 6f |same ste|ps in Wo|
|00000330| 72 64 2c 20 69 74 27 73 | 20 6c 69 6b 65 6c 79 20 |rd, it's| likely |
|00000340| 74 68 61 74 20 63 72 65 | 61 74 69 6e 67 20 61 20 |that cre|ating a |
|00000350| 6d 61 63 72 6f 20 74 6f | 20 70 65 72 66 6f 72 6d |macro to| perform|
|00000360| 20 74 68 65 20 74 61 73 | 6b 20 63 61 6e 20 73 61 | the tas|k can sa|
|00000370| 76 65 20 79 6f 75 20 73 | 6f 6d 65 20 74 69 6d 65 |ve you s|ome time|
|00000380| 20 61 6e 64 20 65 66 66 | 6f 72 74 2e 0d 0a 59 6f | and eff|ort...Yo|
|00000390| 75 20 63 61 6e 20 75 73 | 65 20 6d 61 63 72 6f 73 |u can us|e macros|
|000003a0| 20 74 6f 20 63 6f 6e 66 | 69 67 75 72 65 20 61 6e | to conf|igure an|
|000003b0| 64 20 63 75 73 74 6f 6d | 69 7a 65 20 57 6f 72 64 |d custom|ize Word|
|000003c0| 20 66 6f 72 20 6d 61 6e | 79 20 73 69 74 75 61 74 | for man|y situat|
|000003d0| 69 6f 6e 73 2e 20 59 6f | 75 20 63 61 6e 20 61 64 |ions. Yo|u can ad|
|000003e0| 64 20 61 6e 64 20 64 65 | 6c 65 74 65 20 6d 65 6e |d and de|lete men|
|000003f0| 75 20 69 74 65 6d 73 2c | 20 6d 6f 76 65 20 74 68 |u items,| move th|
|00000400| 65 6d 20 61 72 6f 75 6e | 64 2c 20 61 6e 64 20 61 |em aroun|d, and a|
|00000410| 73 73 69 67 6e 20 63 6f | 6d 6d 61 6e 64 73 20 74 |ssign co|mmands t|
|00000420| 6f 20 6b 65 79 20 63 6f | 6d 62 69 6e 61 74 69 6f |o key co|mbinatio|
|00000430| 6e 73 2e 20 49 6e 20 73 | 6f 6d 65 20 63 61 73 65 |ns. In s|ome case|
|00000440| 73 20 79 6f 75 20 6d 61 | 79 20 77 61 6e 74 20 74 |s you ma|y want t|
|00000450| 6f 20 77 72 69 74 65 20 | 73 70 65 63 69 61 6c 20 |o write |special |
|00000460| 61 70 70 6c 69 63 61 74 | 69 6f 6e 73 20 77 69 74 |applicat|ions wit|
|00000470| 68 20 57 6f 72 64 2e 20 | 55 73 69 6e 67 20 66 69 |h Word. |Using fi|
|00000480| 65 6c 64 73 2c 20 6d 61 | 63 72 6f 73 2c 20 61 6e |elds, ma|cros, an|
|00000490| 64 20 74 65 6d 70 6c 61 | 74 65 73 20 79 6f 75 20 |d templa|tes you |
|000004a0| 63 61 6e 20 63 72 65 61 | 74 65 20 61 20 64 6f 63 |can crea|te a doc|
|000004b0| 75 6d 65 6e 74 20 70 72 | 6f 63 65 73 73 69 6e 67 |ument pr|ocessing|
|000004c0| 20 73 79 73 74 65 6d 20 | 74 68 61 74 20 6d 65 65 | system |that mee|
|000004d0| 74 73 20 79 6f 75 72 20 | 73 70 65 63 69 66 69 63 |ts your |specific|
|000004e0| 20 6e 65 65 64 73 2e 0d | 0a 54 68 65 20 65 78 61 | needs..|.The exa|
|000004f0| 6d 70 6c 65 73 20 69 6e | 20 74 68 69 73 20 63 68 |mples in| this ch|
|00000500| 61 70 74 65 72 20 68 69 | 67 68 6c 69 67 68 74 20 |apter hi|ghlight |
|00000510| 74 68 65 20 70 72 6f 67 | 72 61 6d 6d 69 6e 67 20 |the prog|ramming |
|00000520| 70 6f 73 73 69 62 69 6c | 69 74 69 65 73 20 61 76 |possibil|ities av|
|00000530| 61 69 6c 61 62 6c 65 20 | 77 69 74 68 20 57 6f 72 |ailable |with Wor|
|00000540| 64 2e 20 41 6c 74 68 6f | 75 67 68 20 74 68 65 73 |d. Altho|ugh thes|
|00000550| 65 20 65 78 61 6d 70 6c | 65 73 20 61 72 65 20 73 |e exampl|es are s|
|00000560| 69 6d 70 6c 65 2c 20 74 | 68 65 79 20 73 68 6f 77 |imple, t|hey show|
|00000570| 20 73 6f 6d 65 20 6f 66 | 20 74 68 65 20 62 61 73 | some of| the bas|
|00000580| 69 63 73 20 77 69 74 68 | 20 77 68 69 63 68 20 79 |ics with| which y|
|00000590| 6f 75 20 63 61 6e 20 63 | 72 65 61 74 65 20 79 6f |ou can c|reate yo|
|000005a0| 75 72 20 6f 77 6e 20 70 | 72 6f 67 72 61 6d 73 20 |ur own p|rograms |
|000005b0| 77 69 74 68 20 57 6f 72 | 64 2e 0d 0a 57 72 69 74 |with Wor|d...Writ|
|000005c0| 69 6e 67 20 61 20 4d 61 | 63 72 6f 0d 0a 54 68 65 |ing a Ma|cro..The|
|000005d0| 72 65 20 61 72 65 20 74 | 77 6f 20 77 61 79 73 20 |re are t|wo ways |
|000005e0| 74 6f 20 77 72 69 74 65 | 20 61 20 6d 61 63 72 6f |to write| a macro|
|000005f0| 2e 20 59 6f 75 20 63 61 | 6e 20 63 72 65 61 74 65 |. You ca|n create|
|00000600| 20 61 20 6d 61 63 72 6f | 20 62 79 20 22 72 65 63 | a macro| by "rec|
|00000610| 6f 72 64 69 6e 67 22 20 | 6b 65 79 73 74 72 6f 6b |ording" |keystrok|
|00000620| 65 73 20 79 6f 75 20 6d | 61 6b 65 2e 20 59 6f 75 |es you m|ake. You|
|00000630| 20 63 61 6e 20 61 6c 73 | 6f 20 77 72 69 74 65 20 | can als|o write |
|00000640| 79 6f 75 72 20 6d 61 63 | 72 6f 20 62 79 20 75 73 |your mac|ro by us|
|00000650| 69 6e 67 20 74 68 65 20 | 73 74 61 74 65 6d 65 6e |ing the |statemen|
|00000660| 74 73 20 61 6e 64 20 66 | 75 6e 63 74 69 6f 6e 73 |ts and f|unctions|
|00000670| 20 6f 66 20 57 6f 72 64 | 42 41 53 49 43 2c 20 74 | of Word|BASIC, t|
|00000680| 68 65 20 57 6f 72 64 20 | 6d 61 63 72 6f 20 6c 61 |he Word |macro la|
|00000690| 6e 67 75 61 67 65 2e 20 | 46 6f 72 20 6d 6f 72 65 |nguage. |For more|
|000006a0| 20 69 6e 66 6f 72 6d 61 | 74 69 6f 6e 20 6f 6e 20 | informa|tion on |
|000006b0| 73 70 65 63 69 66 69 63 | 20 73 74 61 74 65 6d 65 |specific| stateme|
|000006c0| 6e 74 73 20 61 6e 64 20 | 66 75 6e 63 74 69 6f 6e |nts and |function|
|000006d0| 73 2c 20 73 65 65 20 4d | 61 63 72 6f 73 3a 20 52 |s, see M|acros: R|
|000006e0| 65 66 65 72 65 6e 63 65 | 2e 0d 0a 55 73 69 6e 67 |eference|...Using|
|000006f0| 20 4d 61 63 72 6f 20 52 | 65 63 6f 72 64 20 74 6f | Macro R|ecord to|
|00000700| 20 57 72 69 74 65 20 61 | 20 4d 61 63 72 6f 0d 0a | Write a| Macro..|
|00000710| 57 68 65 6e 20 79 6f 75 | 20 72 65 63 6f 72 64 20 |When you| record |
|00000720| 61 20 6d 61 63 72 6f 2c | 20 79 6f 75 20 74 75 72 |a macro,| you tur|
|00000730| 6e 20 6f 6e 20 74 68 65 | 20 72 65 63 6f 72 64 65 |n on the| recorde|
|00000740| 72 20 61 6e 64 20 57 6f | 72 64 20 72 65 63 6f 72 |r and Wo|rd recor|
|00000750| 64 73 20 61 6c 6c 20 74 | 68 65 20 61 63 74 69 6f |ds all t|he actio|
|00000760| 6e 73 20 79 6f 75 20 74 | 61 6b 65 20 75 6e 74 69 |ns you t|ake unti|
|00000770| 6c 20 79 6f 75 20 74 75 | 72 6e 20 6f 66 66 20 74 |l you tu|rn off t|
|00000780| 68 65 20 72 65 63 6f 72 | 64 65 72 2e 0d 0a 54 6f |he recor|der...To|
|00000790| 20 72 65 63 6f 72 64 20 | 61 20 6d 61 63 72 6f 3a | record |a macro:|
|000007a0| 0d 0a 0d 0a 31 09 43 68 | 6f 6f 73 65 20 4d 61 63 |....1.Ch|oose Mac|
|000007b0| 72 6f 20 52 65 63 6f 72 | 64 20 28 41 6c 74 2c 4d |ro Recor|d (Alt,M|
|000007c0| 2c 43 29 2e 20 0b 54 68 | 65 20 4d 61 63 72 6f 20 |,C). .Th|e Macro |
|000007d0| 52 65 63 6f 72 64 20 64 | 69 61 6c 6f 67 20 62 6f |Record d|ialog bo|
|000007e0| 78 20 61 70 70 65 61 72 | 73 20 6f 6e 20 74 68 65 |x appear|s on the|
|000007f0| 20 73 63 72 65 65 6e 2e | 0d 0a 32 09 54 79 70 65 | screen.|..2.Type|
|00000800| 20 74 68 65 20 6e 61 6d | 65 20 79 6f 75 20 77 61 | the nam|e you wa|
|00000810| 6e 74 20 74 6f 20 67 69 | 76 65 20 74 68 65 20 6d |nt to gi|ve the m|
|00000820| 61 63 72 6f 2c 20 6f 72 | 20 61 63 63 65 70 74 20 |acro, or| accept |
|00000830| 74 68 65 20 70 72 6f 70 | 6f 73 65 64 20 6e 61 6d |the prop|osed nam|
|00000840| 65 2e 0d 0a 33 09 49 66 | 20 79 6f 75 20 77 61 6e |e...3.If| you wan|
|00000850| 74 2c 20 74 79 70 65 20 | 61 20 64 65 73 63 72 69 |t, type |a descri|
|00000860| 70 74 69 6f 6e 20 6f 66 | 20 74 68 65 20 6d 61 63 |ption of| the mac|
|00000870| 72 6f 20 69 6e 20 74 68 | 65 20 44 65 73 63 72 69 |ro in th|e Descri|
|00000880| 70 74 69 6f 6e 20 62 6f | 78 2e 0d 0a 34 09 57 68 |ption bo|x...4.Wh|
|00000890| 65 6e 20 79 6f 75 27 72 | 65 20 72 65 61 64 79 20 |en you'r|e ready |
|000008a0| 74 6f 20 62 65 67 69 6e | 20 72 65 63 6f 72 64 69 |to begin| recordi|
|000008b0| 6e 67 2c 20 63 68 6f 6f | 73 65 20 4f 4b 2e 0b 57 |ng, choo|se OK..W|
|000008c0| 6f 72 64 20 72 65 63 6f | 72 64 73 20 61 6e 79 20 |ord reco|rds any |
|000008d0| 73 75 62 73 65 71 75 65 | 6e 74 20 73 74 65 70 73 |subseque|nt steps|
|000008e0| 20 79 6f 75 20 70 65 72 | 66 6f 72 6d 2e 20 4f 6e | you per|form. On|
|000008f0| 63 65 20 79 6f 75 20 73 | 74 61 72 74 20 72 65 63 |ce you s|tart rec|
|00000900| 6f 72 64 69 6e 67 20 61 | 20 6d 61 63 72 6f 2c 20 |ording a| macro, |
|00000910| 61 6e 79 20 6b 65 79 62 | 6f 61 72 64 20 6f 72 20 |any keyb|oard or |
|00000920| 6d 65 6e 75 20 63 6f 6d | 6d 61 6e 64 73 20 79 6f |menu com|mands yo|
|00000930| 75 20 63 68 6f 6f 73 65 | 20 61 72 65 20 61 75 74 |u choose| are aut|
|00000940| 6f 6d 61 74 69 63 61 6c | 6c 79 20 72 65 63 6f 72 |omatical|ly recor|
|00000950| 64 65 64 2e 20 54 68 65 | 20 6f 6e 6c 79 20 6d 6f |ded. The| only mo|
|00000960| 75 73 65 20 61 63 74 69 | 6f 6e 73 20 72 65 63 6f |use acti|ons reco|
|00000970| 72 64 65 64 20 61 72 65 | 20 74 68 6f 73 65 20 74 |rded are| those t|
|00000980| 68 61 74 20 61 63 74 75 | 61 6c 6c 79 20 63 68 6f |hat actu|ally cho|
|00000990| 6f 73 65 20 61 20 6d 65 | 6e 75 20 63 6f 6d 6d 61 |ose a me|nu comma|
|000009a0| 6e 64 20 6f 72 20 64 69 | 61 6c 6f 67 20 62 6f 78 |nd or di|alog box|
|000009b0| 20 69 74 65 6d 2e 20 46 | 6f 72 20 65 78 61 6d 70 | item. F|or examp|
|000009c0| 6c 65 2c 20 69 66 20 79 | 6f 75 20 73 65 6c 65 63 |le, if y|ou selec|
|000009d0| 74 20 74 65 78 74 20 77 | 69 74 68 20 74 68 65 20 |t text w|ith the |
|000009e0| 6d 6f 75 73 65 2c 20 57 | 6f 72 64 20 64 6f 65 73 |mouse, W|ord does|
|000009f0| 20 6e 6f 74 20 72 65 63 | 6f 72 64 20 74 68 61 74 | not rec|ord that|
|00000a00| 20 61 63 74 69 6f 6e 2e | 0d 0a 35 09 54 6f 20 73 | action.|..5.To s|
|00000a10| 74 6f 70 20 74 68 65 20 | 6d 61 63 72 6f 20 72 65 |top the |macro re|
|00000a20| 63 6f 72 64 65 72 2c 20 | 63 68 6f 6f 73 65 20 4d |corder, |choose M|
|00000a30| 61 63 72 6f 20 53 74 6f | 70 20 52 65 63 6f 72 64 |acro Sto|p Record|
|00000a40| 65 72 20 28 41 6c 74 2c | 4d 2c 43 29 2e 0d 0a 0d |er (Alt,|M,C)....|
|00000a50| 0a 54 68 65 20 6d 61 63 | 72 6f 20 72 65 63 6f 72 |.The mac|ro recor|
|00000a60| 64 65 72 20 69 73 20 75 | 73 65 66 75 6c 20 65 76 |der is u|seful ev|
|00000a70| 65 6e 20 69 66 20 79 6f | 75 20 64 6f 6e 27 74 20 |en if yo|u don't |
|00000a80| 77 61 6e 74 20 74 6f 20 | 72 65 63 6f 72 64 20 61 |want to |record a|
|00000a90| 6e 20 65 6e 74 69 72 65 | 20 6d 61 63 72 6f 2e 20 |n entire| macro. |
|00000aa0| 52 65 63 6f 72 64 69 6e | 67 20 61 6c 6c 20 6f 72 |Recordin|g all or|
|00000ab0| 20 70 61 72 74 20 6f 66 | 20 61 20 6d 61 63 72 6f | part of| a macro|
|00000ac0| 20 61 6e 64 20 74 68 65 | 6e 20 65 64 69 74 69 6e | and the|n editin|
|00000ad0| 67 20 69 74 20 69 73 20 | 6f 66 74 65 6e 20 66 61 |g it is |often fa|
|00000ae0| 73 74 65 72 20 74 68 61 | 6e 20 74 79 70 69 6e 67 |ster tha|n typing|
|00000af0| 20 69 74 20 66 72 6f 6d | 20 73 63 72 61 74 63 68 | it from| scratch|
|00000b00| 2c 20 61 6e 64 20 79 6f | 75 20 64 6f 6e 27 74 20 |, and yo|u don't |
|00000b10| 68 61 76 65 20 74 6f 20 | 6c 6f 6f 6b 20 75 70 20 |have to |look up |
|00000b20| 74 68 65 20 73 79 6e 74 | 61 78 20 66 6f 72 20 65 |the synt|ax for e|
|00000b30| 76 65 72 79 20 66 75 6e | 63 74 69 6f 6e 20 61 6e |very fun|ction an|
|00000b40| 64 20 73 74 61 74 65 6d | 65 6e 74 20 79 6f 75 20 |d statem|ent you |
|00000b50| 77 61 6e 74 20 74 6f 20 | 75 73 65 2e 20 59 6f 75 |want to |use. You|
|00000b60| 20 63 61 6e 20 61 6c 73 | 6f 20 75 73 65 20 74 68 | can als|o use th|
|00000b70| 65 20 50 61 75 73 65 52 | 65 63 6f 72 64 65 72 20 |e PauseR|ecorder |
|00000b80| 61 6e 64 20 52 65 63 6f | 72 64 4e 65 78 74 43 6f |and Reco|rdNextCo|
|00000b90| 6d 6d 61 6e 64 20 63 6f | 6d 6d 61 6e 64 73 20 74 |mmand co|mmands t|
|00000ba0| 6f 20 68 65 6c 70 20 63 | 6f 6e 73 74 72 75 63 74 |o help c|onstruct|
|00000bb0| 20 61 20 6d 61 63 72 6f | 2e 20 46 6f 72 20 6d 6f | a macro|. For mo|
|00000bc0| 72 65 20 69 6e 66 6f 72 | 6d 61 74 69 6f 6e 20 6f |re infor|mation o|
|00000bd0| 6e 20 74 68 65 73 65 20 | 73 74 61 74 65 6d 65 6e |n these |statemen|
|00000be0| 74 73 2c 20 73 65 65 20 | 4d 61 63 72 6f 73 3a 20 |ts, see |Macros: |
|00000bf0| 52 65 66 65 72 65 6e 63 | 65 2e 0d 0a 55 73 69 6e |Referenc|e...Usin|
|00000c00| 67 20 4d 61 63 72 6f 20 | 45 64 69 74 20 74 6f 20 |g Macro |Edit to |
|00000c10| 57 72 69 74 65 20 61 20 | 4d 61 63 72 6f 0d 0a 59 |Write a |Macro..Y|
|00000c20| 6f 75 20 63 61 6e 20 75 | 73 65 20 74 68 65 20 4d |ou can u|se the M|
|00000c30| 61 63 72 6f 20 45 64 69 | 74 20 63 6f 6d 6d 61 6e |acro Edi|t comman|
|00000c40| 64 20 74 6f 20 77 72 69 | 74 65 20 79 6f 75 72 20 |d to wri|te your |
|00000c50| 6d 61 63 72 6f 20 64 69 | 72 65 63 74 6c 79 20 61 |macro di|rectly a|
|00000c60| 6e 64 20 74 68 65 6e 20 | 73 61 76 65 20 69 74 2e |nd then |save it.|
|00000c70| 0d 0a 54 6f 20 77 72 69 | 74 65 20 61 20 6d 61 63 |..To wri|te a mac|
|00000c80| 72 6f 20 64 69 72 65 63 | 74 6c 79 3a 0d 0a 31 09 |ro direc|tly:..1.|
|00000c90| 43 68 6f 6f 73 65 20 4d | 61 63 72 6f 20 45 64 69 |Choose M|acro Edi|
|00000ca0| 74 20 28 41 6c 74 2c 4d | 2c 45 29 2c 20 74 79 70 |t (Alt,M|,E), typ|
|00000cb0| 65 20 61 20 6e 61 6d 65 | 20 66 6f 72 20 74 68 65 |e a name| for the|
|00000cc0| 20 6d 61 63 72 6f 2c 20 | 61 6e 64 20 63 68 6f 6f | macro, |and choo|
|00000cd0| 73 65 20 4f 4b 2e 20 54 | 68 65 20 6d 61 63 72 6f |se OK. T|he macro|
|00000ce0| 20 65 64 69 74 69 6e 67 | 20 69 63 6f 6e 20 62 61 | editing| icon ba|
|00000cf0| 72 20 61 70 70 65 61 72 | 73 20 62 65 6c 6f 77 20 |r appear|s below |
|00000d00| 74 68 65 20 6d 65 6e 75 | 20 62 61 72 20 28 73 65 |the menu| bar (se|
|00000d10| 65 20 62 65 6c 6f 77 29 | 2e 0d 0a 32 09 54 79 70 |e below)|...2.Typ|
|00000d20| 65 20 74 68 65 20 64 65 | 73 69 72 65 64 20 6d 61 |e the de|sired ma|
|00000d30| 63 72 6f 20 70 72 6f 67 | 72 61 6d 6d 69 6e 67 20 |cro prog|ramming |
|00000d40| 73 74 61 74 65 6d 65 6e | 74 73 20 61 6e 64 20 66 |statemen|ts and f|
|00000d50| 75 6e 63 74 69 6f 6e 73 | 2e 0d 0a 33 09 43 6c 6f |unctions|...3.Clo|
|00000d60| 73 65 20 74 68 65 20 6d | 61 63 72 6f 20 65 64 69 |se the m|acro edi|
|00000d70| 74 69 6e 67 20 77 69 6e | 64 6f 77 20 28 41 6c 74 |ting win|dow (Alt|
|00000d80| 2c 46 2c 43 29 2e 0d 0a | 0d 0a 4d 61 63 72 6f 20 |,F,C)...|..Macro |
|00000d90| 45 64 69 74 69 6e 67 20 | 49 63 6f 6e 20 42 61 72 |Editing |Icon Bar|
|00000da0| 0d 0a 54 68 65 20 6d 61 | 63 72 6f 20 65 64 69 74 |..The ma|cro edit|
|00000db0| 69 6e 67 20 69 63 6f 6e | 20 62 61 72 20 69 6e 63 |ing icon| bar inc|
|00000dc0| 6c 75 64 65 73 20 61 20 | 6e 75 6d 62 65 72 20 6f |ludes a |number o|
|00000dd0| 66 20 66 75 6e 63 74 69 | 6f 6e 73 20 74 68 61 74 |f functi|ons that|
|00000de0| 20 63 61 6e 20 68 65 6c | 70 20 79 6f 75 20 64 65 | can hel|p you de|
|00000df0| 62 75 67 20 79 6f 75 72 | 20 6d 61 63 72 6f 20 70 |bug your| macro p|
|00000e00| 72 6f 67 72 61 6d 73 2e | 20 50 72 65 73 73 20 41 |rograms.| Press A|
|00000e10| 6c 74 2b 53 68 69 66 74 | 2b 74 68 65 20 75 6e 64 |lt+Shift|+the und|
|00000e20| 65 72 6c 69 6e 65 64 20 | 6c 65 74 74 65 72 20 74 |erlined |letter t|
|00000e30| 6f 20 63 68 6f 6f 73 65 | 20 61 6e 20 69 63 6f 6e |o choose| an icon|
|00000e40| 2e 20 54 68 65 20 69 63 | 6f 6e 73 20 61 72 65 20 |. The ic|ons are |
|00000e50| 64 65 73 63 72 69 62 65 | 64 20 61 73 20 66 6f 6c |describe|d as fol|
|00000e60| 6c 6f 77 73 3a 0d 0a 53 | 74 61 72 74 2f 43 6f 6e |lows:..S|tart/Con|
|00000e70| 74 69 6e 75 65 3a 0d 0a | 52 75 6e 73 20 74 68 65 |tinue:..|Runs the|
|00000e80| 20 61 63 74 69 76 65 20 | 6d 61 63 72 6f 3b 20 63 | active |macro; c|
|00000e90| 68 61 6e 67 65 73 20 66 | 72 6f 6d 20 53 74 61 72 |hanges f|rom Star|
|00000ea0| 74 20 74 6f 20 43 6f 6e | 74 69 6e 75 65 20 61 66 |t to Con|tinue af|
|00000eb0| 74 65 72 20 61 20 73 74 | 6f 70 20 28 73 75 63 68 |ter a st|op (such|
|00000ec0| 20 61 73 20 61 66 74 65 | 72 20 61 20 53 74 65 70 | as afte|r a Step|
|00000ed0| 29 2e 0d 0a 53 74 65 70 | 3a 0d 0a 52 75 6e 73 20 |)...Step|:..Runs |
|00000ee0| 61 20 73 69 6e 67 6c 65 | 20 6d 61 63 72 6f 20 69 |a single| macro i|
|00000ef0| 6e 73 74 72 75 63 74 69 | 6f 6e 20 61 6e 64 20 74 |nstructi|on and t|
|00000f00| 68 65 6e 20 73 74 6f 70 | 73 2e 20 49 66 20 74 68 |hen stop|s. If th|
|00000f10| 65 20 69 6e 73 74 72 75 | 63 74 69 6f 6e 20 69 73 |e instru|ction is|
|00000f20| 20 61 20 73 75 62 72 6f | 75 74 69 6e 65 2c 20 57 | a subro|utine, W|
|00000f30| 6f 72 64 20 72 75 6e 73 | 20 65 61 63 68 20 69 6e |ord runs| each in|
|00000f40| 73 74 72 75 63 74 69 6f | 6e 20 69 6e 20 74 68 61 |structio|n in tha|
|00000f50| 74 20 73 75 62 72 6f 75 | 74 69 6e 65 20 61 73 20 |t subrou|tine as |
|00000f60| 61 20 73 69 6e 67 6c 65 | 20 73 74 65 70 2e 0d 0a |a single| step...|
|00000f70| 53 74 65 70 20 53 55 42 | 73 3a 0d 0a 52 75 6e 73 |Step SUB|s:..Runs|
|00000f80| 20 61 20 73 69 6e 67 6c | 65 20 6d 61 63 72 6f 20 | a singl|e macro |
|00000f90| 69 6e 73 74 72 75 63 74 | 69 6f 6e 20 61 6e 64 20 |instruct|ion and |
|00000fa0| 74 68 65 6e 20 73 74 6f | 70 73 2e 20 49 66 20 74 |then sto|ps. If t|
|00000fb0| 68 65 20 69 6e 73 74 72 | 75 63 74 69 6f 6e 20 69 |he instr|uction i|
|00000fc0| 73 20 61 20 73 75 62 72 | 6f 75 74 69 6e 65 2c 20 |s a subr|outine, |
|00000fd0| 57 6f 72 64 20 72 75 6e | 73 20 74 68 61 74 20 73 |Word run|s that s|
|00000fe0| 75 62 72 6f 75 74 69 6e | 65 20 69 6e 20 69 74 73 |ubroutin|e in its|
|00000ff0| 20 65 6e 74 69 72 65 74 | 79 20 61 73 20 61 20 73 | entiret|y as a s|
|00001000| 69 6e 67 6c 65 20 73 74 | 65 70 2e 0d 0a 54 72 61 |ingle st|ep...Tra|
|00001010| 63 65 3a 0d 0a 52 75 6e | 73 20 74 68 65 20 61 63 |ce:..Run|s the ac|
|00001020| 74 69 76 65 20 6d 61 63 | 72 6f 2c 20 68 69 67 68 |tive mac|ro, high|
|00001030| 6c 69 67 68 74 69 6e 67 | 20 65 61 63 68 20 69 6e |lighting| each in|
|00001040| 73 74 72 75 63 74 69 6f | 6e 20 61 73 20 69 74 20 |structio|n as it |
|00001050| 69 73 20 63 61 72 72 69 | 65 64 20 6f 75 74 2e 0d |is carri|ed out..|
|00001060| 0a 56 61 72 73 3a 0d 0a | 44 69 73 70 6c 61 79 73 |.Vars:..|Displays|
|00001070| 20 74 68 65 20 76 61 72 | 69 61 62 6c 65 73 20 74 | the var|iables t|
|00001080| 68 65 20 6d 61 63 72 6f | 20 75 73 65 73 2e 0d 0a |he macro| uses...|
|00001090| 47 6c 6f 62 61 6c 2f 54 | 65 6d 70 6c 61 74 65 20 |Global/T|emplate |
|000010a0| 28 6e 61 6d 65 29 3a 0d | 0a 54 68 69 73 20 74 65 |(name):.|.This te|
|000010b0| 78 74 20 73 68 6f 77 73 | 20 79 6f 75 20 74 68 65 |xt shows| you the|
|000010c0| 20 63 6f 6e 74 65 78 74 | 20 28 67 6c 6f 62 61 6c | context| (global|
|000010d0| 20 6f 72 20 74 65 6d 70 | 6c 61 74 65 29 20 6f 66 | or temp|late) of|
|000010e0| 20 74 68 65 20 61 63 74 | 69 76 65 20 6d 61 63 72 | the act|ive macr|
|000010f0| 6f 2e 20 49 66 20 74 68 | 65 20 63 6f 6e 74 65 78 |o. If th|e contex|
|00001100| 74 20 69 73 20 74 65 6d | 70 6c 61 74 65 2c 20 74 |t is tem|plate, t|
|00001110| 68 65 20 74 65 6d 70 6c | 61 74 65 20 6e 61 6d 65 |he templ|ate name|
|00001120| 20 69 73 20 64 69 73 70 | 6c 61 79 65 64 2e 0d 0a | is disp|layed...|
|00001130| 28 4e 61 6d 65 29 3a 0d | 0a 44 69 73 70 6c 61 79 |(Name):.|.Display|
|00001140| 73 20 74 68 65 20 6e 61 | 6d 65 20 6f 66 20 74 68 |s the na|me of th|
|00001150| 65 20 61 63 74 69 76 65 | 20 6d 61 63 72 6f 0d 0a |e active| macro..|
|00001160| 52 75 6e 6e 69 6e 67 20 | 61 20 4d 61 63 72 6f 0d |Running |a Macro.|
|00001170| 0a 4e 6f 74 65 3a 20 42 | 65 63 61 75 73 65 20 61 |.Note: B|ecause a|
|00001180| 6e 20 75 6e 74 65 73 74 | 65 64 20 6d 61 63 72 6f |n untest|ed macro|
|00001190| 20 63 61 6e 20 63 72 65 | 61 74 65 20 65 72 72 6f | can cre|ate erro|
|000011a0| 72 73 20 6f 72 20 61 6c | 74 65 72 20 79 6f 75 72 |rs or al|ter your|
|000011b0| 20 66 69 6c 65 2c 20 61 | 6c 77 61 79 73 20 6d 61 | file, a|lways ma|
|000011c0| 6b 65 20 62 61 63 6b 75 | 70 20 63 6f 70 69 65 73 |ke backu|p copies|
|000011d0| 20 6f 66 20 79 6f 75 72 | 20 66 69 6c 65 73 20 62 | of your| files b|
|000011e0| 65 66 6f 72 65 20 79 6f | 75 20 74 65 73 74 20 61 |efore yo|u test a|
|000011f0| 20 6e 65 77 20 6d 61 63 | 72 6f 2e 0d 0a 4f 6e 63 | new mac|ro...Onc|
|00001200| 65 20 79 6f 75 72 20 6d | 61 63 72 6f 20 68 61 73 |e your m|acro has|
|00001210| 20 62 65 65 6e 20 77 72 | 69 74 74 65 6e 2c 20 79 | been wr|itten, y|
|00001220| 6f 75 20 63 61 6e 20 72 | 75 6e 20 69 74 20 62 79 |ou can r|un it by|
|00001230| 20 64 6f 69 6e 67 20 74 | 68 65 20 66 6f 6c 6c 6f | doing t|he follo|
|00001240| 77 69 6e 67 3a 0d 0a 31 | 09 43 68 6f 6f 73 65 20 |wing:..1|.Choose |
|00001250| 4d 61 63 72 6f 20 52 75 | 6e 20 28 41 6c 74 2c 4d |Macro Ru|n (Alt,M|
|00001260| 2c 52 29 2e 0d 0a 32 09 | 54 79 70 65 20 74 68 65 |,R)...2.|Type the|
|00001270| 20 6e 61 6d 65 20 6f 66 | 20 74 68 65 20 6d 61 63 | name of| the mac|
|00001280| 72 6f 20 79 6f 75 20 77 | 61 6e 74 20 74 6f 20 72 |ro you w|ant to r|
|00001290| 75 6e 2c 20 6f 72 20 73 | 65 6c 65 63 74 20 61 20 |un, or s|elect a |
|000012a0| 6e 61 6d 65 20 66 72 6f | 6d 20 74 68 65 20 6c 69 |name fro|m the li|
|000012b0| 73 74 20 69 6e 20 74 68 | 65 20 52 75 6e 20 4d 61 |st in th|e Run Ma|
|000012c0| 63 72 6f 20 4e 61 6d 65 | 20 62 6f 78 2e 0d 0a 33 |cro Name| box...3|
|000012d0| 09 43 68 6f 6f 73 65 20 | 4f 4b 2e 0d 0a 0d 0a 41 |.Choose |OK.....A|
|000012e0| 20 53 61 6d 70 6c 65 20 | 4d 61 63 72 6f 0d 0a 54 | Sample |Macro..T|
|000012f0| 68 65 20 66 6f 6c 6c 6f | 77 69 6e 67 20 70 72 6f |he follo|wing pro|
|00001300| 63 65 64 75 72 65 73 20 | 63 72 65 61 74 65 20 61 |cedures |create a|
|00001310| 20 6d 61 63 72 6f 20 74 | 68 61 74 20 61 75 74 6f | macro t|hat auto|
|00001320| 6d 61 74 69 63 61 6c 6c | 79 20 73 65 74 73 20 66 |maticall|y sets f|
|00001330| 6f 72 6d 61 74 74 69 6e | 67 20 70 72 6f 70 65 72 |ormattin|g proper|
|00001340| 74 69 65 73 20 66 6f 72 | 20 61 20 64 6f 63 75 6d |ties for| a docum|
|00001350| 65 6e 74 3a 0d 0a 31 09 | 49 66 20 79 6f 75 20 61 |ent:..1.|If you a|
|00001360| 72 65 20 69 6e 20 70 61 | 67 65 20 76 69 65 77 2c |re in pa|ge view,|
|00001370| 20 73 77 69 74 63 68 20 | 74 6f 20 64 72 61 66 74 | switch |to draft|
|00001380| 20 76 69 65 77 20 6f 72 | 20 6e 6f 72 6d 61 6c 20 | view or| normal |
|00001390| 65 64 69 74 69 6e 67 20 | 76 69 65 77 2e 0d 0a 32 |editing |view...2|
|000013a0| 09 49 66 20 74 68 65 20 | 73 74 61 74 75 73 20 62 |.If the |status b|
|000013b0| 61 72 20 69 73 20 6e 6f | 74 20 64 69 73 70 6c 61 |ar is no|t displa|
|000013c0| 79 65 64 2c 20 63 68 6f | 6f 73 65 20 56 69 65 77 |yed, cho|ose View|
|000013d0| 20 53 74 61 74 75 73 20 | 42 61 72 20 28 41 6c 74 | Status |Bar (Alt|
|000013e0| 2c 56 2c 53 29 2e 0d 0a | 33 09 43 68 6f 6f 73 65 |,V,S)...|3.Choose|
|000013f0| 20 4d 61 63 72 6f 20 52 | 65 63 6f 72 64 20 28 41 | Macro R|ecord (A|
|00001400| 6c 74 2c 4d 2c 43 29 2e | 0d 0a 34 09 49 6e 20 74 |lt,M,C).|..4.In t|
|00001410| 68 65 20 52 65 63 6f 72 | 64 20 4d 61 63 72 6f 20 |he Recor|d Macro |
|00001420| 4e 61 6d 65 20 62 6f 78 | 2c 20 74 79 70 65 20 50 |Name box|, type P|
|00001430| 61 67 65 53 65 74 75 70 | 20 74 6f 20 6e 61 6d 65 |ageSetup| to name|
|00001440| 20 74 68 65 20 6d 61 63 | 72 6f 2e 20 0b 4e 6f 74 | the mac|ro. .Not|
|00001450| 65 20 74 68 61 74 20 74 | 68 65 20 47 6c 6f 62 61 |e that t|he Globa|
|00001460| 6c 20 43 6f 6e 74 65 78 | 74 20 6f 70 74 69 6f 6e |l Contex|t option|
|00001470| 20 69 73 20 73 65 6c 65 | 63 74 65 64 2e 20 54 68 | is sele|cted. Th|
|00001480| 69 73 20 6d 65 61 6e 73 | 20 74 68 65 20 6d 61 63 |is means| the mac|
|00001490| 72 6f 20 63 61 6e 20 62 | 65 20 75 73 65 64 20 69 |ro can b|e used i|
|000014a0| 6e 20 61 6e 79 20 64 6f | 63 75 6d 65 6e 74 20 79 |n any do|cument y|
|000014b0| 6f 75 20 6f 70 65 6e 2e | 0d 0a 35 09 43 68 6f 6f |ou open.|..5.Choo|
|000014c0| 73 65 20 4f 4b 2e 20 22 | 52 45 43 22 20 61 70 70 |se OK. "|REC" app|
|000014d0| 65 61 72 73 20 6f 6e 20 | 74 68 65 20 72 69 67 68 |ears on |the righ|
|000014e0| 74 20 73 69 64 65 20 6f | 66 20 74 68 65 20 73 74 |t side o|f the st|
|000014f0| 61 74 75 73 20 62 61 72 | 2c 20 69 6e 64 69 63 61 |atus bar|, indica|
|00001500| 74 69 6e 67 20 74 68 61 | 74 20 57 6f 72 64 20 69 |ting tha|t Word i|
|00001510| 73 20 6e 6f 77 20 72 65 | 63 6f 72 64 69 6e 67 20 |s now re|cording |
|00001520| 74 68 65 20 6b 65 79 73 | 74 72 6f 6b 65 73 20 79 |the keys|trokes y|
|00001530| 6f 75 20 6d 61 6b 65 2e | 0d 0a 0d 0a 4e 6f 77 2c |ou make.|....Now,|
|00001540| 20 63 68 6f 6f 73 65 20 | 74 68 65 20 63 6f 6d 6d | choose |the comm|
|00001550| 61 6e 64 73 20 61 6e 64 | 20 6f 70 74 69 6f 6e 73 |ands and| options|
|00001560| 20 61 73 20 79 6f 75 20 | 77 61 6e 74 20 74 68 65 | as you |want the|
|00001570| 6d 20 72 65 63 6f 72 64 | 65 64 3a 0d 0a 31 09 43 |m record|ed:..1.C|
|00001580| 68 6f 6f 73 65 20 46 6f | 72 6d 61 74 20 44 6f 63 |hoose Fo|rmat Doc|
|00001590| 75 6d 65 6e 74 20 28 41 | 6c 74 2c 54 2c 44 29 2e |ument (A|lt,T,D).|
|000015a0| 0d 0a 32 09 43 68 61 6e | 67 65 20 74 68 65 20 64 |..2.Chan|ge the d|
|000015b0| 65 66 61 75 6c 74 20 74 | 61 62 20 73 74 6f 70 73 |efault t|ab stops|
|000015c0| 20 74 6f 20 30 2e 32 35 | 22 2e 0d 0a 33 09 43 68 | to 0.25|"...3.Ch|
|000015d0| 61 6e 67 65 20 74 68 65 | 20 6c 65 66 74 20 6d 61 |ange the| left ma|
|000015e0| 72 67 69 6e 20 74 6f 20 | 31 22 2e 0d 0a 34 09 43 |rgin to |1"...4.C|
|000015f0| 68 61 6e 67 65 20 74 68 | 65 20 72 69 67 68 74 20 |hange th|e right |
|00001600| 6d 61 72 67 69 6e 20 74 | 6f 20 30 2e 35 22 2e 0d |margin t|o 0.5"..|
|00001610| 0a 35 09 43 68 6f 6f 73 | 65 20 4f 4b 20 74 6f 20 |.5.Choos|e OK to |
|00001620| 61 63 63 65 70 74 20 74 | 68 65 73 65 20 63 68 61 |accept t|hese cha|
|00001630| 6e 67 65 73 2e 0d 0a 36 | 09 43 68 6f 6f 73 65 20 |nges...6|.Choose |
|00001640| 46 6f 72 6d 61 74 20 43 | 68 61 72 61 63 74 65 72 |Format C|haracter|
|00001650| 20 28 41 6c 74 2c 54 2c | 43 29 2e 0d 0a 37 09 43 | (Alt,T,|C)...7.C|
|00001660| 68 61 6e 67 65 20 74 68 | 65 20 66 6f 6e 74 20 74 |hange th|e font t|
|00001670| 6f 20 54 6d 73 20 52 6d | 6e 2e 0d 0a 38 09 43 68 |o Tms Rm|n...8.Ch|
|00001680| 61 6e 67 65 20 74 68 65 | 20 70 6f 69 6e 74 20 73 |ange the| point s|
|00001690| 69 7a 65 20 74 6f 20 31 | 32 2e 0d 0a 39 09 43 68 |ize to 1|2...9.Ch|
|000016a0| 6f 6f 73 65 20 4f 4b 20 | 74 6f 20 61 63 63 65 70 |oose OK |to accep|
|000016b0| 74 20 74 68 65 73 65 20 | 63 68 61 6e 67 65 73 2e |t these |changes.|
|000016c0| 0d 0a 31 30 09 43 68 6f | 6f 73 65 20 45 64 69 74 |..10.Cho|ose Edit|
|000016d0| 20 48 65 61 64 65 72 2f | 46 6f 6f 74 65 72 20 28 | Header/|Footer (|
|000016e0| 41 6c 74 2c 45 2c 48 29 | 2e 0d 0a 31 31 09 53 65 |Alt,E,H)|...11.Se|
|000016f0| 6c 65 63 74 20 46 6f 6f | 74 65 72 20 61 6e 64 20 |lect Foo|ter and |
|00001700| 63 68 6f 6f 73 65 20 4f | 4b 20 74 6f 20 6f 70 65 |choose O|K to ope|
|00001710| 6e 20 74 68 65 20 68 65 | 61 64 65 72 2f 66 6f 6f |n the he|ader/foo|
|00001720| 74 65 72 20 70 61 6e 65 | 2e 0d 0a 31 32 09 43 6c |ter pane|...12.Cl|
|00001730| 69 63 6b 20 74 68 65 20 | 70 61 67 65 20 69 63 6f |ick the |page ico|
|00001740| 6e 20 74 6f 20 70 75 74 | 20 74 68 65 20 70 61 67 |n to put| the pag|
|00001750| 65 20 6e 75 6d 62 65 72 | 20 6f 6e 20 74 68 65 20 |e number| on the |
|00001760| 6c 65 66 74 20 73 69 64 | 65 20 6f 66 20 74 68 65 |left sid|e of the|
|00001770| 20 66 6f 6f 74 65 72 2e | 0d 0a 31 33 09 50 72 65 | footer.|..13.Pre|
|00001780| 73 73 20 54 61 62 20 74 | 77 69 63 65 2c 20 74 68 |ss Tab t|wice, th|
|00001790| 65 6e 20 63 6c 69 63 6b | 20 74 68 65 20 64 61 74 |en click| the dat|
|000017a0| 65 20 69 63 6f 6e 20 74 | 6f 20 70 75 74 20 74 68 |e icon t|o put th|
|000017b0| 65 20 64 61 74 65 20 6f | 6e 20 74 68 65 20 72 69 |e date o|n the ri|
|000017c0| 67 68 74 20 73 69 64 65 | 20 6f 66 20 74 68 65 20 |ght side| of the |
|000017d0| 66 6f 6f 74 65 72 2e 0d | 0a 31 34 09 43 68 6f 6f |footer..|.14.Choo|
|000017e0| 73 65 20 43 6c 6f 73 65 | 2e 0d 0a 0d 0a 54 6f 20 |se Close|.....To |
|000017f0| 73 74 6f 70 20 72 65 63 | 6f 72 64 69 6e 67 20 61 |stop rec|ording a|
|00001800| 63 74 69 6f 6e 73 2c 20 | 63 68 6f 6f 73 65 20 4d |ctions, |choose M|
|00001810| 61 63 72 6f 20 53 74 6f | 70 20 52 65 63 6f 72 64 |acro Sto|p Record|
|00001820| 65 72 20 28 41 6c 74 2c | 4d 2c 43 29 2e 20 22 52 |er (Alt,|M,C). "R|
|00001830| 45 43 22 20 64 69 73 61 | 70 70 65 61 72 73 20 66 |EC" disa|ppears f|
|00001840| 72 6f 6d 20 74 68 65 20 | 73 74 61 74 75 73 20 62 |rom the |status b|
|00001850| 61 72 2e 0d 0a 54 6f 20 | 74 65 73 74 20 74 68 65 |ar...To |test the|
|00001860| 20 6e 65 77 20 6d 61 63 | 72 6f 20 79 6f 75 20 68 | new mac|ro you h|
|00001870| 61 76 65 20 72 65 63 6f | 72 64 65 64 3a 0d 0a 31 |ave reco|rded:..1|
|00001880| 09 53 65 6c 65 63 74 20 | 61 20 64 6f 63 75 6d 65 |.Select |a docume|
|00001890| 6e 74 2e 0d 0a 32 09 43 | 68 6f 6f 73 65 20 4d 61 |nt...2.C|hoose Ma|
|000018a0| 63 72 6f 20 52 75 6e 20 | 28 41 6c 74 2c 4d 2c 52 |cro Run |(Alt,M,R|
|000018b0| 29 2e 0d 0a 33 09 53 63 | 72 6f 6c 6c 20 74 68 72 |)...3.Sc|roll thr|
|000018c0| 6f 75 67 68 20 74 68 65 | 20 6c 69 73 74 20 6f 66 |ough the| list of|
|000018d0| 20 6d 61 63 72 6f 73 20 | 61 6e 64 20 64 6f 75 62 | macros |and doub|
|000018e0| 6c 65 2d 63 6c 69 63 6b | 20 50 61 67 65 53 65 74 |le-click| PageSet|
|000018f0| 75 70 20 74 6f 20 73 74 | 61 72 74 20 72 75 6e 6e |up to st|art runn|
|00001900| 69 6e 67 20 74 68 65 20 | 6d 61 63 72 6f 2e 0d 0a |ing the |macro...|
|00001910| 0d 0a 49 66 20 79 6f 75 | 20 6d 61 64 65 20 61 6e |..If you| made an|
|00001920| 79 20 6d 69 73 74 61 6b | 65 73 20 77 68 65 6e 20 |y mistak|es when |
|00001930| 72 65 63 6f 72 64 69 6e | 67 20 74 68 65 20 6d 61 |recordin|g the ma|
|00001940| 63 72 6f 2c 20 6d 65 73 | 73 61 67 65 73 20 77 69 |cro, mes|sages wi|
|00001950| 6c 6c 20 61 70 70 65 61 | 72 20 6f 6e 20 74 68 65 |ll appea|r on the|
|00001960| 20 73 63 72 65 65 6e 2e | 0d 0a 59 6f 75 20 63 61 | screen.|..You ca|
|00001970| 6e 20 61 64 64 20 74 68 | 65 20 6d 61 63 72 6f 20 |n add th|e macro |
|00001980| 74 6f 20 74 68 65 20 4d | 61 63 72 6f 20 6d 65 6e |to the M|acro men|
|00001990| 75 20 66 6f 72 20 65 61 | 73 69 65 72 20 61 63 63 |u for ea|sier acc|
|000019a0| 65 73 73 2e 20 54 6f 20 | 61 64 64 20 74 68 65 20 |ess. To |add the |
|000019b0| 50 61 67 65 53 65 74 75 | 70 20 6d 61 63 72 6f 20 |PageSetu|p macro |
|000019c0| 74 6f 20 74 68 65 20 4d | 61 63 72 6f 20 6d 65 6e |to the M|acro men|
|000019d0| 75 3a 0d 0a 31 09 43 68 | 6f 6f 73 65 20 4d 61 63 |u:..1.Ch|oose Mac|
|000019e0| 72 6f 20 41 73 73 69 67 | 6e 20 54 6f 20 4d 65 6e |ro Assig|n To Men|
|000019f0| 75 20 28 41 6c 74 2c 4d | 2c 4d 29 2e 0d 0a 32 09 |u (Alt,M|,M)...2.|
|00001a00| 49 6e 20 74 68 65 20 41 | 73 73 69 67 6e 20 4d 61 |In the A|ssign Ma|
|00001a10| 63 72 6f 20 4e 61 6d 65 | 20 62 6f 78 2c 20 73 65 |cro Name| box, se|
|00001a20| 6c 65 63 74 20 50 61 67 | 65 53 65 74 75 70 2e 0d |lect Pag|eSetup..|
|00001a30| 0a 33 09 49 6e 20 74 68 | 65 20 4d 65 6e 75 20 62 |.3.In th|e Menu b|
|00001a40| 6f 78 2c 20 73 65 6c 65 | 63 74 20 26 4d 61 63 72 |ox, sele|ct &Macr|
|00001a50| 6f 2e 0d 0a 34 09 43 68 | 6f 6f 73 65 20 41 73 73 |o...4.Ch|oose Ass|
|00001a60| 69 67 6e 2c 20 61 6e 64 | 20 74 68 65 6e 20 63 68 |ign, and| then ch|
|00001a70| 6f 6f 73 65 20 43 6c 6f | 73 65 2e 0d 0a 54 68 65 |oose Clo|se...The|
|00001a80| 20 50 61 67 65 53 65 74 | 75 70 20 6d 61 63 72 6f | PageSet|up macro|
|00001a90| 20 6e 6f 77 20 61 70 70 | 65 61 72 73 20 6f 6e 20 | now app|ears on |
|00001aa0| 74 68 65 20 4d 61 63 72 | 6f 20 6d 65 6e 75 2e 20 |the Macr|o menu. |
|00001ab0| 54 6f 20 72 75 6e 20 74 | 68 69 73 20 6d 61 63 72 |To run t|his macr|
|00001ac0| 6f 2c 20 70 72 65 73 73 | 20 41 6c 74 2c 4d 2c 50 |o, press| Alt,M,P|
|00001ad0| 2e 20 49 66 20 79 6f 75 | 20 77 61 6e 74 20 74 6f |. If you| want to|
|00001ae0| 20 72 65 6d 6f 76 65 20 | 74 68 65 20 6d 61 63 72 | remove |the macr|
|00001af0| 6f 20 66 72 6f 6d 20 74 | 68 65 20 4d 61 63 72 6f |o from t|he Macro|
|00001b00| 20 6d 65 6e 75 2c 20 63 | 68 6f 6f 73 65 20 4d 61 | menu, c|hoose Ma|
|00001b10| 63 72 6f 20 41 73 73 69 | 67 6e 20 54 6f 20 4d 65 |cro Assi|gn To Me|
|00001b20| 6e 75 2c 20 73 65 6c 65 | 63 74 20 50 61 67 65 53 |nu, sele|ct PageS|
|00001b30| 65 74 75 70 2c 20 61 6e | 64 20 63 68 6f 6f 73 65 |etup, an|d choose|
|00001b40| 20 55 6e 61 73 73 69 67 | 6e 2e 0d 0a 0d 0a 59 6f | Unassig|n.....Yo|
|00001b50| 75 20 63 61 6e 20 75 73 | 65 20 74 68 65 20 4d 61 |u can us|e the Ma|
|00001b60| 63 72 6f 20 45 64 69 74 | 20 63 6f 6d 6d 61 6e 64 |cro Edit| command|
|00001b70| 20 74 6f 20 6c 6f 6f 6b | 20 61 74 20 74 68 65 20 | to look| at the |
|00001b80| 63 6f 6d 6d 61 6e 64 20 | 6c 69 73 74 20 63 72 65 |command |list cre|
|00001b90| 61 74 65 64 20 77 68 65 | 6e 20 79 6f 75 20 72 65 |ated whe|n you re|
|00001ba0| 63 6f 72 64 20 61 20 6d | 61 63 72 6f 2e 20 54 6f |cord a m|acro. To|
|00001bb0| 20 6c 6f 6f 6b 20 61 74 | 20 74 68 65 20 50 61 67 | look at| the Pag|
|00001bc0| 65 53 65 74 75 70 20 6d | 61 63 72 6f 3a 0d 0a 31 |eSetup m|acro:..1|
|00001bd0| 09 43 68 6f 6f 73 65 20 | 4d 61 63 72 6f 20 45 64 |.Choose |Macro Ed|
|00001be0| 69 74 20 28 41 6c 74 2c | 4d 2c 45 29 2e 0d 0a 32 |it (Alt,|M,E)...2|
|00001bf0| 09 54 79 70 65 20 6f 72 | 20 73 65 6c 65 63 74 20 |.Type or| select |
|00001c00| 50 61 67 65 53 65 74 75 | 70 20 61 6e 64 20 63 68 |PageSetu|p and ch|
|00001c10| 6f 6f 73 65 20 4f 4b 2e | 0d 0a 54 68 65 20 50 61 |oose OK.|..The Pa|
|00001c20| 67 65 53 65 74 75 70 20 | 6d 61 63 72 6f 20 61 70 |geSetup |macro ap|
|00001c30| 70 65 61 72 73 20 69 6e | 20 74 68 65 20 6d 61 63 |pears in| the mac|
|00001c40| 72 6f 20 65 64 69 74 69 | 6e 67 20 77 69 6e 64 6f |ro editi|ng windo|
|00001c50| 77 2e 20 54 68 65 73 65 | 20 61 72 65 20 74 68 65 |w. These| are the|
|00001c60| 20 73 74 61 74 65 6d 65 | 6e 74 73 20 61 6e 64 20 | stateme|nts and |
|00001c70| 66 75 6e 63 74 69 6f 6e | 73 20 74 68 61 74 20 63 |function|s that c|
|00001c80| 6f 6d 70 72 69 73 65 20 | 74 68 65 20 50 61 67 65 |omprise |the Page|
|00001c90| 53 65 74 75 70 20 6d 61 | 63 72 6f 2e 20 54 68 65 |Setup ma|cro. The|
|00001ca0| 79 20 63 6f 72 72 65 73 | 70 6f 6e 64 20 74 6f 20 |y corres|pond to |
|00001cb0| 74 68 65 20 61 63 74 69 | 6f 6e 73 20 79 6f 75 20 |the acti|ons you |
|00001cc0| 72 65 63 6f 72 64 65 64 | 2e 0d 0a 0d 0a 4f 74 68 |recorded|.....Oth|
|00001cd0| 65 72 20 65 78 61 6d 70 | 6c 65 20 6d 61 63 72 6f |er examp|le macro|
|00001ce0| 73 20 61 72 65 20 61 76 | 61 69 6c 61 62 6c 65 20 |s are av|ailable |
|00001cf0| 69 6e 20 79 6f 75 72 20 | 45 58 41 4d 50 4c 45 53 |in your |EXAMPLES|
|00001d00| 2e 44 4f 54 20 66 69 6c | 65 2e 0d 0a 0d 0a 4d 61 |.DOT fil|e.....Ma|
|00001d10| 63 72 6f 20 50 72 6f 67 | 72 61 6d 6d 69 6e 67 20 |cro Prog|ramming |
|00001d20| 43 6f 6e 63 65 70 74 73 | 0d 0a 54 68 69 73 20 73 |Concepts|..This s|
|00001d30| 65 63 74 69 6f 6e 20 64 | 65 73 63 72 69 62 65 73 |ection d|escribes|
|00001d40| 20 69 6e 20 6d 6f 72 65 | 20 64 65 74 61 69 6c 20 | in more| detail |
|00001d50| 73 6f 6d 65 20 6f 66 20 | 74 68 65 20 66 65 61 74 |some of |the feat|
|00001d60| 75 72 65 73 20 6f 66 20 | 57 6f 72 64 42 41 53 49 |ures of |WordBASI|
|00001d70| 43 2c 20 57 6f 72 64 27 | 73 20 6d 61 63 72 6f 20 |C, Word'|s macro |
|00001d80| 6c 61 6e 67 75 61 67 65 | 2e 0d 0a 54 68 65 20 57 |language|...The W|
|00001d90| 6f 72 64 42 41 53 49 43 | 20 4c 61 6e 67 75 61 67 |ordBASIC| Languag|
|00001da0| 65 0d 0a 57 6f 72 64 42 | 41 53 49 43 20 6d 61 63 |e..WordB|ASIC mac|
|00001db0| 72 6f 73 20 65 78 69 73 | 74 20 6f 6e 20 74 68 72 |ros exis|t on thr|
|00001dc0| 65 65 20 22 6c 61 79 65 | 72 73 2c 22 20 6d 75 63 |ee "laye|rs," muc|
|00001dd0| 68 20 6c 69 6b 65 20 74 | 68 65 20 74 68 72 65 65 |h like t|he three|
|00001de0| 20 66 69 6c 65 20 6c 65 | 76 65 6c 73 20 4f 53 2f | file le|vels OS/|
|00001df0| 32 20 63 6f 6d 6d 61 6e | 64 20 73 68 65 6c 6c 73 |2 comman|d shells|
|00001e00| 20 75 73 65 2e 20 49 66 | 20 79 6f 75 20 61 72 65 | use. If| you are|
|00001e10| 20 61 6e 20 65 78 70 65 | 72 69 65 6e 63 65 64 20 | an expe|rienced |
|00001e20| 4f 53 2f 32 20 63 6f 6d | 6d 61 6e 64 20 73 68 65 |OS/2 com|mand she|
|00001e30| 6c 6c 20 75 73 65 72 2c | 20 79 6f 75 20 6b 6e 6f |ll user,| you kno|
|00001e40| 77 20 74 68 61 74 20 4f | 53 2f 32 20 65 78 65 63 |w that O|S/2 exec|
|00001e50| 75 74 65 73 20 66 69 6c | 65 73 20 69 6e 20 74 68 |utes fil|es in th|
|00001e60| 69 73 20 6f 72 64 65 72 | 3a 20 66 69 6c 65 6e 61 |is order|: filena|
|00001e70| 6d 65 2e 65 78 65 2c 20 | 66 69 6c 65 6e 61 6d 65 |me.exe, |filename|
|00001e80| 2e 63 6f 6d 2c 20 61 6e | 64 20 66 69 6c 65 6e 61 |.com, an|d filena|
|00001e90| 6d 65 2e 62 61 74 2e 20 | 59 6f 75 20 63 61 6e 20 |me.bat. |You can |
|00001ea0| 74 68 65 72 65 66 6f 72 | 65 20 68 61 76 65 20 74 |therefor|e have t|
|00001eb0| 68 72 65 65 20 66 69 6c | 65 73 20 77 69 74 68 20 |hree fil|es with |
|00001ec0| 74 68 65 20 73 61 6d 65 | 20 66 69 6c 65 20 6e 61 |the same| file na|
|00001ed0| 6d 65 2d 62 75 74 20 77 | 69 74 68 20 64 69 66 66 |me-but w|ith diff|
|00001ee0| 65 72 65 6e 74 20 65 78 | 74 65 6e 73 69 6f 6e 73 |erent ex|tensions|
|00001ef0| 2d 61 6e 64 20 4f 53 2f | 32 20 72 75 6e 73 20 74 |-and OS/|2 runs t|
|00001f00| 68 65 6d 20 61 63 63 6f | 72 64 69 6e 67 20 74 6f |hem acco|rding to|
|00001f10| 20 74 68 69 73 20 63 6f | 6e 76 65 6e 74 69 6f 6e | this co|nvention|
|00001f20| 2e 0d 0a 57 6f 72 64 42 | 41 53 49 43 27 73 20 74 |...WordB|ASIC's t|
|00001f30| 68 72 65 65 20 6c 61 79 | 65 72 73 20 61 72 65 20 |hree lay|ers are |
|00001f40| 74 68 65 20 74 65 6d 70 | 6c 61 74 65 20 6c 61 79 |the temp|late lay|
|00001f50| 65 72 2c 20 74 68 65 20 | 67 6c 6f 62 61 6c 20 6c |er, the |global l|
|00001f60| 61 79 65 72 2c 20 61 6e | 64 20 74 68 65 20 63 6f |ayer, an|d the co|
|00001f70| 6d 6d 61 6e 64 20 6d 65 | 6e 75 20 6c 61 79 65 72 |mmand me|nu layer|
|00001f80| 2e 20 54 68 65 73 65 20 | 6c 61 79 65 72 73 20 61 |. These |layers a|
|00001f90| 72 65 20 64 65 73 63 72 | 69 62 65 64 20 69 6e 20 |re descr|ibed in |
|00001fa0| 74 68 65 20 66 6f 6c 6c | 6f 77 69 6e 67 20 74 61 |the foll|owing ta|
|00001fb0| 62 6c 65 3a 0d 0a 4c 61 | 79 65 72 09 44 65 73 63 |ble:..La|yer.Desc|
|00001fc0| 72 69 70 74 69 6f 6e 0d | 0a 54 65 6d 70 6c 61 74 |ription.|.Templat|
|00001fd0| 65 09 49 6e 63 6c 75 64 | 65 73 20 6f 6e 6c 79 20 |e.Includ|es only |
|00001fe0| 74 68 6f 73 65 20 6d 61 | 63 72 6f 73 20 62 61 73 |those ma|cros bas|
|00001ff0| 65 64 20 6f 6e 20 74 68 | 65 20 73 70 65 63 69 66 |ed on th|e specif|
|00002000| 69 65 64 20 74 65 6d 70 | 6c 61 74 65 0d 0a 47 6c |ied temp|late..Gl|
|00002010| 6f 62 61 6c 09 49 6e 63 | 6c 75 64 65 73 20 6d 61 |obal.Inc|ludes ma|
|00002020| 63 72 6f 73 20 79 6f 75 | 20 63 72 65 61 74 65 20 |cros you| create |
|00002030| 74 68 61 74 20 61 72 65 | 20 61 76 61 69 6c 61 62 |that are| availab|
|00002040| 6c 65 20 74 6f 20 61 6c | 6c 20 64 6f 63 75 6d 65 |le to al|l docume|
|00002050| 6e 74 73 0d 0a 42 75 69 | 6c 74 2d 69 6e 20 63 6f |nts..Bui|lt-in co|
|00002060| 6d 6d 61 6e 64 20 09 49 | 6e 63 6c 75 64 65 73 20 |mmand .I|ncludes |
|00002070| 74 68 65 20 63 6f 6d 6d | 61 6e 64 73 20 6f 6e 20 |the comm|ands on |
|00002080| 61 6c 6c 20 74 68 65 20 | 64 65 66 61 75 6c 74 20 |all the |default |
|00002090| 57 6f 72 64 20 6d 65 6e | 75 73 20 61 6e 64 20 61 |Word men|us and a|
|000020a0| 73 73 69 67 6e 65 64 20 | 74 6f 20 64 65 66 61 75 |ssigned |to defau|
|000020b0| 6c 74 20 6b 65 79 20 63 | 6f 6d 62 69 6e 61 74 69 |lt key c|ombinati|
|000020c0| 6f 6e 73 0d 0a 0d 0a 57 | 68 65 6e 20 79 6f 75 20 |ons....W|hen you |
|000020d0| 72 75 6e 20 61 20 6d 61 | 63 72 6f 2c 20 57 6f 72 |run a ma|cro, Wor|
|000020e0| 64 20 73 65 61 72 63 68 | 65 73 20 66 6f 72 20 69 |d search|es for i|
|000020f0| 74 20 69 6e 20 74 68 65 | 20 66 6f 6c 6c 6f 77 69 |t in the| followi|
|00002100| 6e 67 20 6f 72 64 65 72 | 3a 20 74 65 6d 70 6c 61 |ng order|: templa|
|00002110| 74 65 20 6c 61 79 65 72 | 2c 20 74 68 65 6e 20 67 |te layer|, then g|
|00002120| 6c 6f 62 61 6c 20 6c 61 | 79 65 72 2c 20 74 68 65 |lobal la|yer, the|
|00002130| 6e 20 74 68 65 20 62 75 | 69 6c 74 2d 69 6e 20 63 |n the bu|ilt-in c|
|00002140| 6f 6d 6d 61 6e 64 20 6c | 61 79 65 72 2e 20 53 6f |ommand l|ayer. So|
|00002150| 2c 20 69 66 20 79 6f 75 | 20 63 72 65 61 74 65 20 |, if you| create |
|00002160| 61 20 6d 61 63 72 6f 20 | 77 69 74 68 20 74 68 65 |a macro |with the|
|00002170| 20 73 61 6d 65 20 6e 61 | 6d 65 20 61 73 20 61 20 | same na|me as a |
|00002180| 62 75 69 6c 74 2d 69 6e | 20 6d 61 63 72 6f 2c 20 |built-in| macro, |
|00002190| 79 6f 75 72 20 76 65 72 | 73 69 6f 6e 20 77 69 6c |your ver|sion wil|
|000021a0| 6c 20 62 65 20 65 78 65 | 63 75 74 65 64 20 69 6e |l be exe|cuted in|
|000021b0| 73 74 65 61 64 20 6f 66 | 20 74 68 65 20 6f 72 69 |stead of| the ori|
|000021c0| 67 69 6e 61 6c 20 76 65 | 72 73 69 6f 6e 2e 20 49 |ginal ve|rsion. I|
|000021d0| 66 20 57 6f 72 64 20 63 | 61 6e 6e 6f 74 20 66 69 |f Word c|annot fi|
|000021e0| 6e 64 20 61 20 6d 61 63 | 72 6f 2c 20 61 20 6d 65 |nd a mac|ro, a me|
|000021f0| 73 73 61 67 65 20 74 6f | 20 74 68 61 74 20 65 66 |ssage to| that ef|
|00002200| 66 65 63 74 20 69 73 20 | 64 69 73 70 6c 61 79 65 |fect is |displaye|
|00002210| 64 2e 0d 0a 52 65 6d 65 | 6d 62 65 72 20 74 68 65 |d...Reme|mber the|
|00002220| 20 6f 72 64 65 72 20 6f | 66 20 6d 61 63 72 6f 20 | order o|f macro |
|00002230| 65 78 65 63 75 74 69 6f | 6e 20 77 68 65 6e 20 6e |executio|n when n|
|00002240| 61 6d 69 6e 67 20 6d 61 | 63 72 6f 73 2e 20 49 66 |aming ma|cros. If|
|00002250| 20 79 6f 75 20 68 61 76 | 65 20 61 20 6d 61 63 72 | you hav|e a macr|
|00002260| 6f 20 61 74 20 74 68 65 | 20 74 65 6d 70 6c 61 74 |o at the| templat|
|00002270| 65 20 6c 61 79 65 72 20 | 61 6e 64 20 61 20 6d 61 |e layer |and a ma|
|00002280| 63 72 6f 20 61 74 20 74 | 68 65 20 67 6c 6f 62 61 |cro at t|he globa|
|00002290| 6c 20 6c 61 79 65 72 20 | 77 69 74 68 20 74 68 65 |l layer |with the|
|000022a0| 20 73 61 6d 65 20 6e 61 | 6d 65 20 61 6e 64 20 79 | same na|me and y|
|000022b0| 6f 75 20 77 61 6e 74 20 | 74 68 65 20 67 6c 6f 62 |ou want |the glob|
|000022c0| 61 6c 20 6d 61 63 72 6f | 20 65 78 65 63 75 74 65 |al macro| execute|
|000022d0| 64 2c 20 79 6f 75 20 6d | 75 73 74 20 65 69 74 68 |d, you m|ust eith|
|000022e0| 65 72 20 72 65 6e 61 6d | 65 20 6f 6e 65 20 6f 66 |er renam|e one of|
|000022f0| 20 74 68 65 20 6d 61 63 | 72 6f 73 20 6f 72 20 70 | the mac|ros or p|
|00002300| 72 65 63 65 64 65 20 74 | 68 65 20 6d 61 63 72 6f |recede t|he macro|
|00002310| 20 77 69 74 68 20 74 68 | 65 20 53 75 70 65 72 20 | with th|e Super |
|00002320| 70 72 65 66 69 78 20 73 | 74 61 74 65 6d 65 6e 74 |prefix s|tatement|
|00002330| 2e 20 54 68 65 20 53 75 | 70 65 72 20 70 72 65 66 |. The Su|per pref|
|00002340| 69 78 20 66 6f 72 63 65 | 73 20 57 6f 72 64 20 74 |ix force|s Word t|
|00002350| 6f 20 69 67 6e 6f 72 65 | 20 74 68 65 20 63 75 72 |o ignore| the cur|
|00002360| 72 65 6e 74 20 6c 61 79 | 65 72 20 61 6e 64 20 73 |rent lay|er and s|
|00002370| 74 61 72 74 20 73 65 61 | 72 63 68 69 6e 67 20 74 |tart sea|rching t|
|00002380| 68 65 20 6e 65 78 74 20 | 6c 61 79 65 72 2e 20 46 |he next |layer. F|
|00002390| 6f 72 20 65 78 61 6d 70 | 6c 65 2c 20 74 68 65 20 |or examp|le, the |
|000023a0| 66 6f 6c 6c 6f 77 69 6e | 67 20 6d 61 63 72 6f 2c |followin|g macro,|
|000023b0| 20 63 61 6c 6c 65 64 20 | 46 6f 72 6d 61 74 44 6f | called |FormatDo|
|000023c0| 63 75 6d 65 6e 74 2c 20 | 64 69 73 61 62 6c 65 73 |cument, |disables|
|000023d0| 20 6d 69 72 72 6f 72 20 | 6d 61 72 67 69 6e 73 20 | mirror |margins |
|000023e0| 77 68 65 6e 20 74 68 65 | 20 46 6f 72 6d 61 74 20 |when the| Format |
|000023f0| 44 6f 63 75 6d 65 6e 74 | 20 63 6f 6d 6d 61 6e 64 |Document| command|
|00002400| 20 69 73 20 63 68 6f 73 | 65 6e 3a 0d 0a 53 75 62 | is chos|en:..Sub|
|00002410| 20 4d 41 49 4e 0d 0a 44 | 69 6d 20 64 6c 67 72 65 | MAIN..D|im dlgre|
|00002420| 63 20 41 73 20 46 6f 72 | 6d 61 74 44 6f 63 75 6d |c As For|matDocum|
|00002430| 65 6e 74 0d 0a 47 65 74 | 43 75 72 56 61 6c 75 65 |ent..Get|CurValue|
|00002440| 73 20 64 6c 67 72 65 63 | 0d 0a 41 67 61 69 6e 3a |s dlgrec|..Again:|
|00002450| 0d 0a 44 69 61 6c 6f 67 | 20 64 6c 67 72 65 63 0d |..Dialog| dlgrec.|
|00002460| 0a 49 66 20 64 6c 67 72 | 65 63 2e 4d 69 72 72 6f |.If dlgr|ec.Mirro|
|00002470| 72 4d 61 72 67 69 6e 73 | 20 3d 20 31 20 54 68 65 |rMargins| = 1 The|
|00002480| 6e 0d 0a 09 42 65 65 70 | 0d 0a 09 4d 73 67 42 6f |n...Beep|...MsgBo|
|00002490| 78 20 22 4d 69 72 72 6f | 72 20 4d 61 72 67 69 6e |x "Mirro|r Margin|
|000024a0| 73 20 68 61 76 65 20 62 | 65 65 6e 20 64 69 73 61 |s have b|een disa|
|000024b0| 62 6c 65 64 20 62 79 20 | 74 68 69 73 20 6d 61 63 |bled by |this mac|
|000024c0| 72 6f 22 0d 0a 09 64 6c | 67 72 65 63 2e 4d 69 72 |ro"...dl|grec.Mir|
|000024d0| 72 6f 72 4d 61 72 67 69 | 6e 73 20 3d 20 30 0d 0a |rorMargi|ns = 0..|
|000024e0| 09 47 6f 74 6f 20 41 67 | 61 69 6e 0d 0a 45 6e 64 |.Goto Ag|ain..End|
|000024f0| 20 49 66 0d 0a 53 75 70 | 65 72 20 46 6f 72 6d 61 | If..Sup|er Forma|
|00002500| 74 44 6f 63 75 6d 65 6e | 74 20 64 6c 67 72 65 63 |tDocumen|t dlgrec|
|00002510| 0d 0a 45 6e 64 20 53 75 | 62 0d 0a 0d 0a 41 75 74 |..End Su|b....Aut|
|00002520| 6f 20 4d 61 63 72 6f 73 | 0d 0a 57 6f 72 64 20 72 |o Macros|..Word r|
|00002530| 65 73 65 72 76 65 73 20 | 73 70 65 63 69 61 6c 20 |eserves |special |
|00002540| 6e 61 6d 65 73 20 66 6f | 72 20 6d 61 63 72 6f 73 |names fo|r macros|
|00002550| 20 79 6f 75 20 63 61 6e | 20 63 72 65 61 74 65 20 | you can| create |
|00002560| 74 6f 20 61 6c 74 65 72 | 20 61 73 70 65 63 74 73 |to alter| aspects|
|00002570| 20 6f 66 20 57 6f 72 64 | 27 73 20 62 65 68 61 76 | of Word|'s behav|
|00002580| 69 6f 72 2e 20 54 68 65 | 73 65 20 61 72 65 20 63 |ior. The|se are c|
|00002590| 61 6c 6c 65 64 20 22 61 | 75 74 6f 20 6d 61 63 72 |alled "a|uto macr|
|000025a0| 6f 73 2e 22 20 57 6f 72 | 64 20 72 65 63 6f 67 6e |os." Wor|d recogn|
|000025b0| 69 7a 65 73 20 61 20 6d | 61 63 72 6f 20 77 68 6f |izes a m|acro who|
|000025c0| 73 65 20 6e 61 6d 65 20 | 62 65 67 69 6e 73 20 77 |se name |begins w|
|000025d0| 69 74 68 20 22 41 75 74 | 6f 22 20 61 73 20 61 20 |ith "Aut|o" as a |
|000025e0| 6d 61 63 72 6f 20 74 68 | 61 74 20 72 75 6e 73 20 |macro th|at runs |
|000025f0| 61 75 74 6f 6d 61 74 69 | 63 61 6c 6c 79 20 77 68 |automati|cally wh|
|00002600| 65 6e 20 74 68 65 20 73 | 69 74 75 61 74 69 6f 6e |en the s|ituation|
|00002610| 20 69 74 20 61 70 70 6c | 69 65 73 20 74 6f 20 61 | it appl|ies to a|
|00002620| 72 69 73 65 73 2e 20 59 | 6f 75 20 73 75 70 70 6c |rises. Y|ou suppl|
|00002630| 79 20 74 68 65 20 61 63 | 74 75 61 6c 20 73 74 65 |y the ac|tual ste|
|00002640| 70 73 20 66 6f 72 20 74 | 68 65 20 61 75 74 6f 20 |ps for t|he auto |
|00002650| 6d 61 63 72 6f 2e 0d 0a | 59 6f 75 20 63 61 6e 20 |macro...|You can |
|00002660| 70 72 65 76 65 6e 74 20 | 61 6e 20 61 75 74 6f 20 |prevent |an auto |
|00002670| 6d 61 63 72 6f 20 66 72 | 6f 6d 20 72 75 6e 6e 69 |macro fr|om runni|
|00002680| 6e 67 20 62 79 20 68 6f | 6c 64 69 6e 67 20 64 6f |ng by ho|lding do|
|00002690| 77 6e 20 74 68 65 20 53 | 68 69 66 74 20 6b 65 79 |wn the S|hift key|
|000026a0| 20 77 68 65 6e 20 79 6f | 75 20 70 65 72 66 6f 72 | when yo|u perfor|
|000026b0| 6d 20 74 68 65 20 61 63 | 74 69 6f 6e 20 74 68 61 |m the ac|tion tha|
|000026c0| 74 20 74 72 69 67 67 65 | 72 73 20 74 68 65 20 6d |t trigge|rs the m|
|000026d0| 61 63 72 6f 2e 0d 0a 41 | 75 74 6f 4e 65 77 3a 0d |acro...A|utoNew:.|
|000026e0| 0a 54 68 65 20 41 75 74 | 6f 4e 65 77 20 6d 61 63 |.The Aut|oNew mac|
|000026f0| 72 6f 20 72 75 6e 73 20 | 61 66 74 65 72 20 79 6f |ro runs |after yo|
|00002700| 75 20 63 72 65 61 74 65 | 20 61 20 6e 65 77 20 64 |u create| a new d|
|00002710| 6f 63 75 6d 65 6e 74 20 | 62 61 73 65 64 20 6f 6e |ocument |based on|
|00002720| 20 74 68 65 20 63 75 72 | 72 65 6e 74 20 74 65 6d | the cur|rent tem|
|00002730| 70 6c 61 74 65 2e 0d 0a | 41 75 74 6f 4f 70 65 6e |plate...|AutoOpen|
|00002740| 3a 0d 0a 54 68 65 20 41 | 75 74 6f 4f 70 65 6e 20 |:..The A|utoOpen |
|00002750| 6d 61 63 72 6f 20 72 75 | 6e 73 20 61 66 74 65 72 |macro ru|ns after|
|00002760| 20 79 6f 75 20 6f 70 65 | 6e 20 61 20 66 69 6c 65 | you ope|n a file|
|00002770| 20 77 69 74 68 20 46 69 | 6c 65 20 4f 70 65 6e 2c | with Fi|le Open,|
|00002780| 20 46 69 6c 65 20 46 69 | 6e 64 2c 20 6f 72 20 74 | File Fi|nd, or t|
|00002790| 68 65 20 6c 69 73 74 20 | 6f 66 20 64 6f 63 75 6d |he list |of docum|
|000027a0| 65 6e 74 73 20 61 74 20 | 74 68 65 20 62 6f 74 74 |ents at |the bott|
|000027b0| 6f 6d 20 6f 66 20 74 68 | 65 20 46 69 6c 65 20 6d |om of th|e File m|
|000027c0| 65 6e 75 2e 0d 0a 41 75 | 74 6f 45 78 65 63 3a 0d |enu...Au|toExec:.|
|000027d0| 0a 54 68 65 20 41 75 74 | 6f 45 78 65 63 20 6d 61 |.The Aut|oExec ma|
|000027e0| 63 72 6f 20 72 75 6e 73 | 20 77 68 65 6e 20 79 6f |cro runs| when yo|
|000027f0| 75 20 73 74 61 72 74 20 | 57 6f 72 64 2e 20 54 68 |u start |Word. Th|
|00002800| 69 73 20 6d 61 63 72 6f | 20 6d 61 6b 65 73 20 69 |is macro| makes i|
|00002810| 74 20 65 61 73 79 20 74 | 6f 20 69 6e 73 74 72 75 |t easy t|o instru|
|00002820| 63 74 20 57 6f 72 64 20 | 74 6f 20 61 75 74 6f 6d |ct Word |to autom|
|00002830| 61 74 69 63 61 6c 6c 79 | 20 6d 61 6b 65 20 61 64 |atically| make ad|
|00002840| 6a 75 73 74 6d 65 6e 74 | 73 20 77 68 65 6e 20 79 |justment|s when y|
|00002850| 6f 75 20 73 74 61 72 74 | 20 69 74 2e 20 59 6f 75 |ou start| it. You|
|00002860| 20 63 61 6e 20 70 72 65 | 76 65 6e 74 20 41 75 74 | can pre|vent Aut|
|00002870| 6f 45 78 65 63 20 66 72 | 6f 6d 20 72 75 6e 6e 69 |oExec fr|om runni|
|00002880| 6e 67 20 62 79 20 74 79 | 70 69 6e 67 20 74 68 65 |ng by ty|ping the|
|00002890| 20 2f 6d 20 73 77 69 74 | 63 68 20 77 68 65 6e 20 | /m swit|ch when |
|000028a0| 79 6f 75 20 73 74 61 72 | 74 20 57 6f 72 64 20 28 |you star|t Word (|
|000028b0| 70 6d 77 6f 72 64 20 2f | 6d 29 2e 0d 0a 41 75 74 |pmword /|m)...Aut|
|000028c0| 6f 43 6c 6f 73 65 3a 0d | 0a 54 68 65 20 41 75 74 |oClose:.|.The Aut|
|000028d0| 6f 43 6c 6f 73 65 20 6d | 61 63 72 6f 20 72 75 6e |oClose m|acro run|
|000028e0| 73 20 77 68 65 6e 20 79 | 6f 75 20 63 6c 6f 73 65 |s when y|ou close|
|000028f0| 20 61 20 64 6f 63 75 6d | 65 6e 74 20 28 46 69 6c | a docum|ent (Fil|
|00002900| 65 20 43 6c 6f 73 65 2c | 20 44 6f 63 75 6d 65 6e |e Close,| Documen|
|00002910| 74 20 43 6f 6e 74 72 6f | 6c 20 43 6c 6f 73 65 2c |t Contro|l Close,|
|00002920| 20 6f 72 20 46 69 6c 65 | 20 45 78 69 74 2e 29 2e | or File| Exit.).|
|00002930| 0d 0a 41 75 74 6f 45 78 | 69 74 3a 0d 0a 54 68 65 |..AutoEx|it:..The|
|00002940| 20 41 75 74 6f 45 78 69 | 74 20 6d 61 63 72 6f 20 | AutoExi|t macro |
|00002950| 72 75 6e 73 20 77 68 65 | 6e 20 79 6f 75 20 71 75 |runs whe|n you qu|
|00002960| 69 74 20 57 6f 72 64 2e | 0d 0a 57 6f 72 64 42 41 |it Word.|..WordBA|
|00002970| 53 49 43 20 53 74 61 74 | 65 6d 65 6e 74 73 20 61 |SIC Stat|ements a|
|00002980| 6e 64 20 46 75 6e 63 74 | 69 6f 6e 73 0d 0a 57 6f |nd Funct|ions..Wo|
|00002990| 72 64 42 41 53 49 43 20 | 69 6e 63 6c 75 64 65 73 |rdBASIC |includes|
|000029a0| 20 62 6f 74 68 20 73 74 | 61 74 65 6d 65 6e 74 73 | both st|atements|
|000029b0| 20 61 6e 64 20 66 75 6e | 63 74 69 6f 6e 73 2e 20 | and fun|ctions. |
|000029c0| 41 20 73 74 61 74 65 6d | 65 6e 74 20 70 65 72 66 |A statem|ent perf|
|000029d0| 6f 72 6d 73 20 61 6e 20 | 61 63 74 69 6f 6e 2c 20 |orms an |action, |
|000029e0| 73 75 63 68 20 61 73 20 | 69 74 61 6c 69 63 69 7a |such as |italiciz|
|000029f0| 69 6e 67 20 74 65 78 74 | 2e 20 41 20 66 75 6e 63 |ing text|. A func|
|00002a00| 74 69 6f 6e 20 70 72 6f | 64 75 63 65 73 2c 20 6f |tion pro|duces, o|
|00002a10| 72 20 22 72 65 74 75 72 | 6e 73 2c 22 20 61 20 6e |r "retur|ns," a n|
|00002a20| 75 6d 62 65 72 20 6f 72 | 20 61 20 73 65 74 20 6f |umber or| a set o|
|00002a30| 66 20 63 68 61 72 61 63 | 74 65 72 73 20 74 68 61 |f charac|ters tha|
|00002a40| 74 20 72 65 70 72 65 73 | 65 6e 74 20 69 6e 66 6f |t repres|ent info|
|00002a50| 72 6d 61 74 69 6f 6e 2e | 20 46 75 6e 63 74 69 6f |rmation.| Functio|
|00002a60| 6e 73 20 61 70 70 65 61 | 72 20 69 6e 20 74 68 65 |ns appea|r in the|
|00002a70| 20 74 65 78 74 20 77 69 | 74 68 20 70 61 72 65 6e | text wi|th paren|
|00002a80| 74 68 65 73 65 73 20 28 | 29 20 66 6f 6c 6c 6f 77 |theses (|) follow|
|00002a90| 69 6e 67 20 74 68 65 6d | 2e 0d 0a 57 6f 72 64 42 |ing them|...WordB|
|00002aa0| 41 53 49 43 20 69 6e 63 | 6c 75 64 65 73 20 74 68 |ASIC inc|ludes th|
|00002ab0| 72 65 65 20 74 79 70 65 | 73 20 6f 66 20 73 74 61 |ree type|s of sta|
|00002ac0| 74 65 6d 65 6e 74 73 20 | 61 6e 64 20 66 75 6e 63 |tements |and func|
|00002ad0| 74 69 6f 6e 73 3a 20 75 | 74 69 6c 69 74 79 20 73 |tions: u|tility s|
|00002ae0| 74 61 74 65 6d 65 6e 74 | 73 20 61 6e 64 20 66 75 |tatement|s and fu|
|00002af0| 6e 63 74 69 6f 6e 73 2c | 20 42 41 53 49 43 20 73 |nctions,| BASIC s|
|00002b00| 74 61 74 65 6d 65 6e 74 | 73 20 61 6e 64 20 66 75 |tatement|s and fu|
|00002b10| 6e 63 74 69 6f 6e 73 2c | 20 61 6e 64 20 64 69 61 |nctions,| and dia|
|00002b20| 6c 6f 67 20 63 6f 6e 74 | 72 6f 6c 20 64 65 66 69 |log cont|rol defi|
|00002b30| 6e 69 74 69 6f 6e 20 73 | 74 61 74 65 6d 65 6e 74 |nition s|tatement|
|00002b40| 73 2e 20 54 68 65 73 65 | 20 73 74 61 74 65 6d 65 |s. These| stateme|
|00002b50| 6e 74 73 20 61 6e 64 20 | 66 75 6e 63 74 69 6f 6e |nts and |function|
|00002b60| 73 20 61 72 65 20 64 65 | 73 63 72 69 62 65 64 20 |s are de|scribed |
|00002b70| 69 6e 20 6d 6f 72 65 20 | 64 65 74 61 69 6c 20 69 |in more |detail i|
|00002b80| 6e 20 4d 61 63 72 6f 73 | 3a 20 52 65 66 65 72 65 |n Macros|: Refere|
|00002b90| 6e 63 65 2e 20 54 68 65 | 20 66 6f 6c 6c 6f 77 69 |nce. The| followi|
|00002ba0| 6e 67 20 74 61 62 6c 65 | 20 62 72 69 65 66 6c 79 |ng table| briefly|
|00002bb0| 20 64 65 73 63 72 69 62 | 65 73 20 65 61 63 68 20 | describ|es each |
|00002bc0| 74 79 70 65 3a 0d 0a 55 | 74 69 6c 69 74 79 20 73 |type:..U|tility s|
|00002bd0| 74 61 74 65 6d 65 6e 74 | 73 20 61 6e 64 20 66 75 |tatement|s and fu|
|00002be0| 6e 63 74 69 6f 6e 73 0d | 0a 4d 69 73 63 65 6c 6c |nctions.|.Miscell|
|00002bf0| 61 6e 65 6f 75 73 20 73 | 74 61 74 65 6d 65 6e 74 |aneous s|tatement|
|00002c00| 73 20 61 6e 64 20 66 75 | 6e 63 74 69 6f 6e 73 20 |s and fu|nctions |
|00002c10| 74 68 61 74 20 61 6c 6c | 6f 77 20 79 6f 75 20 74 |that all|ow you t|
|00002c20| 6f 20 67 65 74 20 69 6e | 66 6f 72 6d 61 74 69 6f |o get in|formatio|
|00002c30| 6e 20 6e 65 65 64 65 64 | 20 62 79 20 61 20 6d 61 |n needed| by a ma|
|00002c40| 63 72 6f 2e 20 49 6e 63 | 6c 75 64 65 73 20 64 69 |cro. Inc|ludes di|
|00002c50| 61 6c 6f 67 20 62 6f 78 | 20 65 71 75 69 76 61 6c |alog box| equival|
|00002c60| 65 6e 74 73 2c 20 77 68 | 69 63 68 20 61 72 65 20 |ents, wh|ich are |
|00002c70| 65 71 75 69 76 61 6c 65 | 6e 74 20 74 6f 20 57 6f |equivale|nt to Wo|
|00002c80| 72 64 20 63 6f 6d 6d 61 | 6e 64 73 20 74 68 61 74 |rd comma|nds that|
|00002c90| 20 70 72 6f 64 75 63 65 | 20 61 20 64 69 61 6c 6f | produce| a dialo|
|00002ca0| 67 20 62 6f 78 2e 20 46 | 6f 72 20 65 78 61 6d 70 |g box. F|or examp|
|00002cb0| 6c 65 2c 20 74 68 65 20 | 57 6f 72 64 42 41 53 49 |le, the |WordBASI|
|00002cc0| 43 20 73 74 61 74 65 6d | 65 6e 74 20 55 74 69 6c |C statem|ent Util|
|00002cd0| 52 65 6e 75 6d 62 65 72 | 20 69 73 20 65 71 75 69 |Renumber| is equi|
|00002ce0| 76 61 6c 65 6e 74 20 74 | 6f 20 63 68 6f 6f 73 69 |valent t|o choosi|
|00002cf0| 6e 67 20 74 68 65 20 55 | 74 69 6c 69 74 69 65 73 |ng the U|tilities|
|00002d00| 20 52 65 6e 75 6d 62 65 | 72 20 63 6f 6d 6d 61 6e | Renumbe|r comman|
|00002d10| 64 20 61 6e 64 20 64 69 | 73 70 6c 61 79 69 6e 67 |d and di|splaying|
|00002d20| 20 74 68 65 20 72 65 73 | 75 6c 74 69 6e 67 20 64 | the res|ulting d|
|00002d30| 69 61 6c 6f 67 20 62 6f | 78 2e 0d 0a 42 41 53 49 |ialog bo|x...BASI|
|00002d40| 43 20 73 74 61 74 65 6d | 65 6e 74 73 20 61 6e 64 |C statem|ents and|
|00002d50| 20 66 75 6e 63 74 69 6f | 6e 73 0d 0a 53 74 61 74 | functio|ns..Stat|
|00002d60| 65 6d 65 6e 74 73 20 61 | 6e 64 20 66 75 6e 63 74 |ements a|nd funct|
|00002d70| 69 6f 6e 73 20 74 61 6b | 65 6e 20 64 69 72 65 63 |ions tak|en direc|
|00002d80| 74 6c 79 20 66 72 6f 6d | 20 74 68 65 20 4d 69 63 |tly from| the Mic|
|00002d90| 72 6f 73 6f 66 74 20 51 | 75 69 63 6b 42 41 53 49 |rosoft Q|uickBASI|
|00002da0| 43 20 6c 61 6e 67 75 61 | 67 65 2e 0d 0a 44 69 61 |C langua|ge...Dia|
|00002db0| 6c 6f 67 20 63 6f 6e 74 | 72 6f 6c 20 64 65 66 69 |log cont|rol defi|
|00002dc0| 6e 69 74 69 6f 6e 20 73 | 74 61 74 65 6d 65 6e 74 |nition s|tatement|
|00002dd0| 73 0d 0a 53 74 61 74 65 | 6d 65 6e 74 73 20 74 68 |s..State|ments th|
|00002de0| 61 74 20 63 72 65 61 74 | 65 20 63 75 73 74 6f 6d |at creat|e custom|
|00002df0| 69 7a 65 64 20 64 69 61 | 6c 6f 67 20 62 6f 78 65 |ized dia|log boxe|
|00002e00| 73 2e 20 46 6f 72 20 65 | 78 61 6d 70 6c 65 2c 20 |s. For e|xample, |
|00002e10| 74 68 65 20 47 72 6f 75 | 70 42 6f 78 20 73 74 61 |the Grou|pBox sta|
|00002e20| 74 65 6d 65 6e 74 20 63 | 72 65 61 74 65 73 20 61 |tement c|reates a|
|00002e30| 20 62 6f 78 20 77 69 74 | 68 20 61 20 74 69 74 6c | box wit|h a titl|
|00002e40| 65 20 67 72 6f 75 70 69 | 6e 67 20 73 65 76 65 72 |e groupi|ng sever|
|00002e50| 61 6c 20 6f 70 74 69 6f | 6e 73 20 74 6f 67 65 74 |al optio|ns toget|
|00002e60| 68 65 72 20 69 6e 20 61 | 20 64 69 61 6c 6f 67 20 |her in a| dialog |
|00002e70| 62 6f 78 2e 0d 0a 57 6f | 72 64 42 41 53 49 43 20 |box...Wo|rdBASIC |
|00002e80| 69 73 20 61 20 73 75 62 | 73 65 74 20 6f 66 20 74 |is a sub|set of t|
|00002e90| 68 65 20 42 41 53 49 43 | 20 70 72 6f 67 72 61 6d |he BASIC| program|
|00002ea0| 6d 69 6e 67 20 6c 61 6e | 67 75 61 67 65 2c 20 73 |ming lan|guage, s|
|00002eb0| 69 6d 69 6c 61 72 20 74 | 6f 20 4d 69 63 72 6f 73 |imilar t|o Micros|
|00002ec0| 6f 66 74 20 51 75 69 63 | 6b 42 41 53 49 43 2e 20 |oft Quic|kBASIC. |
|00002ed0| 4f 6e 65 20 64 69 66 66 | 65 72 65 6e 63 65 20 62 |One diff|erence b|
|00002ee0| 65 74 77 65 65 6e 20 57 | 6f 72 64 42 41 53 49 43 |etween W|ordBASIC|
|00002ef0| 20 61 6e 64 20 70 72 69 | 6f 72 20 66 6f 72 6d 73 | and pri|or forms|
|00002f00| 20 6f 66 20 42 41 53 49 | 43 20 69 73 20 74 68 61 | of BASI|C is tha|
|00002f10| 74 20 74 68 65 20 6d 61 | 69 6e 20 70 72 6f 67 72 |t the ma|in progr|
|00002f20| 61 6d 20 6d 75 73 74 20 | 62 65 20 6c 6f 63 61 74 |am must |be locat|
|00002f30| 65 64 20 69 6e 73 69 64 | 65 20 61 20 73 75 62 72 |ed insid|e a subr|
|00002f40| 6f 75 74 69 6e 65 20 63 | 61 6c 6c 65 64 20 4d 41 |outine c|alled MA|
|00002f50| 49 4e 2e 20 53 75 62 20 | 4d 41 49 4e 20 69 73 20 |IN. Sub |MAIN is |
|00002f60| 61 6c 77 61 79 73 20 74 | 68 65 20 66 69 72 73 74 |always t|he first|
|00002f70| 20 6c 69 6e 65 20 6f 66 | 20 61 20 57 6f 72 64 42 | line of| a WordB|
|00002f80| 41 53 49 43 20 6d 61 63 | 72 6f 3b 20 45 6e 64 20 |ASIC mac|ro; End |
|00002f90| 53 75 62 20 69 73 20 61 | 6c 77 61 79 73 20 74 68 |Sub is a|lways th|
|00002fa0| 65 20 6c 61 73 74 20 6c | 69 6e 65 20 28 73 65 65 |e last l|ine (see|
|00002fb0| 20 22 53 75 62 73 2c 22 | 20 6c 61 74 65 72 20 69 | "Subs,"| later i|
|00002fc0| 6e 20 74 68 69 73 20 63 | 68 61 70 74 65 72 29 2e |n this c|hapter).|
|00002fd0| 20 4e 6f 74 68 69 6e 67 | 20 69 73 20 61 6c 6c 6f | Nothing| is allo|
|00002fe0| 77 65 64 20 6f 75 74 73 | 69 64 65 20 74 68 69 73 |wed outs|ide this|
|00002ff0| 20 73 75 62 72 6f 75 74 | 69 6e 65 20 65 78 63 65 | subrout|ine exce|
|00003000| 70 74 20 67 6c 6f 62 61 | 6c 20 76 61 72 69 61 62 |pt globa|l variab|
|00003010| 6c 65 20 64 65 63 6c 61 | 72 61 74 69 6f 6e 73 2c |le decla|rations,|
|00003020| 20 73 75 63 68 20 61 73 | 20 44 69 6d 20 61 6e 64 | such as| Dim and|
|00003030| 20 44 65 63 6c 61 72 65 | 2c 20 61 6e 64 20 74 68 | Declare|, and th|
|00003040| 65 20 6f 74 68 65 72 20 | 53 75 62 20 61 6e 64 20 |e other |Sub and |
|00003050| 46 75 6e 63 74 69 6f 6e | 20 64 65 66 69 6e 69 74 |Function| definit|
|00003060| 69 6f 6e 73 2e 20 54 68 | 65 20 66 6f 6c 6c 6f 77 |ions. Th|e follow|
|00003070| 69 6e 67 20 65 78 61 6d | 70 6c 65 20 73 68 6f 77 |ing exam|ple show|
|00003080| 73 20 61 20 73 6d 61 6c | 6c 20 70 72 6f 67 72 61 |s a smal|l progra|
|00003090| 6d 20 69 6e 20 62 6f 74 | 68 20 42 41 53 49 43 20 |m in bot|h BASIC |
|000030a0| 61 6e 64 20 57 6f 72 64 | 42 41 53 49 43 3a 0d 0a |and Word|BASIC:..|
|000030b0| 42 41 53 49 43 09 57 6f | 72 64 42 41 53 49 43 0d |BASIC.Wo|rdBASIC.|
|000030c0| 0a 50 72 69 6e 74 20 22 | 48 65 6c 6c 6f 21 22 09 |.Print "|Hello!".|
|000030d0| 53 75 62 20 4d 41 49 4e | 0d 0a 45 6e 64 09 50 72 |Sub MAIN|..End.Pr|
|000030e0| 69 6e 74 20 22 48 65 6c | 6c 6f 21 22 0d 0a 09 45 |int "Hel|lo!"...E|
|000030f0| 6e 64 20 53 75 62 0d 0a | 0d 0a 54 68 65 20 72 65 |nd Sub..|..The re|
|00003100| 73 75 6c 74 20 6f 66 20 | 74 68 65 20 66 69 72 73 |sult of |the firs|
|00003110| 74 20 70 72 6f 67 72 61 | 6d 20 69 6e 20 42 41 53 |t progra|m in BAS|
|00003120| 49 43 20 64 69 73 70 6c | 61 79 73 20 22 48 65 6c |IC displ|ays "Hel|
|00003130| 6c 6f 21 22 20 6f 6e 20 | 74 68 65 20 73 63 72 65 |lo!" on |the scre|
|00003140| 65 6e 2e 20 49 6e 20 57 | 6f 72 64 42 41 53 49 43 |en. In W|ordBASIC|
|00003150| 2c 20 22 48 65 6c 6c 6f | 21 22 20 61 70 70 65 61 |, "Hello|!" appea|
|00003160| 72 73 20 69 6e 20 74 68 | 65 20 73 74 61 74 75 73 |rs in th|e status|
|00003170| 20 62 61 72 20 61 74 20 | 74 68 65 20 62 6f 74 74 | bar at |the bott|
|00003180| 6f 6d 20 6f 66 20 74 68 | 65 20 73 63 72 65 65 6e |om of th|e screen|
|00003190| 2e 0d 0a 49 6e 20 57 6f | 72 64 42 41 53 49 43 20 |...In Wo|rdBASIC |
|000031a0| 79 6f 75 20 63 61 6e 20 | 75 73 65 20 61 20 63 6f |you can |use a co|
|000031b0| 6c 6f 6e 20 28 3a 29 20 | 74 6f 20 73 65 70 61 72 |lon (:) |to separ|
|000031c0| 61 74 65 20 74 77 6f 20 | 73 74 61 74 65 6d 65 6e |ate two |statemen|
|000031d0| 74 73 20 6f 72 20 66 75 | 6e 63 74 69 6f 6e 73 20 |ts or fu|nctions |
|000031e0| 6f 6e 20 74 68 65 20 73 | 61 6d 65 20 6c 69 6e 65 |on the s|ame line|
|000031f0| 2e 20 59 6f 75 20 63 61 | 6e 20 75 73 65 20 61 20 |. You ca|n use a |
|00003200| 62 61 63 6b 73 6c 61 73 | 68 20 28 20 5c 20 29 20 |backslas|h ( \ ) |
|00003210| 61 74 20 74 68 65 20 65 | 6e 64 20 6f 66 20 61 20 |at the e|nd of a |
|00003220| 6c 69 6e 65 20 6f 66 20 | 63 6f 64 65 20 74 6f 20 |line of |code to |
|00003230| 69 6e 64 69 63 61 74 65 | 20 74 68 61 74 20 74 68 |indicate| that th|
|00003240| 65 20 63 6f 64 65 20 63 | 6f 6e 74 69 6e 75 65 73 |e code c|ontinues|
|00003250| 20 6f 6e 20 74 68 65 20 | 6e 65 78 74 20 6c 69 6e | on the |next lin|
|00003260| 65 2e 0d 0a 44 61 74 61 | 20 54 79 70 65 73 0d 0a |e...Data| Types..|
|00003270| 57 6f 72 64 42 41 53 49 | 43 20 73 75 70 70 6f 72 |WordBASI|C suppor|
|00003280| 74 73 20 74 77 6f 20 62 | 61 73 69 63 20 64 61 74 |ts two b|asic dat|
|00003290| 61 20 74 79 70 65 73 3a | 20 73 74 72 69 6e 67 73 |a types:| strings|
|000032a0| 20 61 6e 64 20 6e 75 6d | 62 65 72 73 2e 20 57 6f | and num|bers. Wo|
|000032b0| 72 64 20 75 73 65 73 20 | 64 6f 75 62 6c 65 2d 70 |rd uses |double-p|
|000032c0| 72 65 63 69 73 69 6f 6e | 2c 20 66 6c 6f 61 74 69 |recision|, floati|
|000032d0| 6e 67 2d 70 6f 69 6e 74 | 20 6e 75 6d 62 65 72 73 |ng-point| numbers|
|000032e0| 2e 20 53 74 72 69 6e 67 | 73 20 63 61 6e 20 63 6f |. String|s can co|
|000032f0| 6e 74 61 69 6e 20 75 70 | 20 74 6f 20 33 32 2c 30 |ntain up| to 32,0|
|00003300| 30 30 20 63 68 61 72 61 | 63 74 65 72 73 2c 20 64 |00 chara|cters, d|
|00003310| 65 70 65 6e 64 69 6e 67 | 20 6f 6e 20 74 68 65 20 |epending| on the |
|00003320| 61 6d 6f 75 6e 74 20 6f | 66 20 6d 65 6d 6f 72 79 |amount o|f memory|
|00003330| 20 61 76 61 69 6c 61 62 | 6c 65 2e 20 54 68 65 20 | availab|le. The |
|00003340| 66 6f 6c 6c 6f 77 69 6e | 67 20 61 72 65 20 65 78 |followin|g are ex|
|00003350| 61 6d 70 6c 65 73 20 6f | 66 20 74 68 65 73 65 20 |amples o|f these |
|00003360| 64 61 74 61 20 74 79 70 | 65 73 2e 0d 0a 53 74 72 |data typ|es...Str|
|00003370| 69 6e 67 09 4e 75 6d 62 | 65 72 0d 0a 54 65 78 74 |ing.Numb|er..Text|
|00003380| 24 20 3d 20 22 74 68 69 | 73 20 69 73 20 61 20 73 |$ = "thi|s is a s|
|00003390| 74 72 69 6e 67 20 6f 66 | 20 63 68 61 72 61 63 74 |tring of| charact|
|000033a0| 65 72 73 22 09 53 61 6c | 65 73 20 3d 20 32 37 30 |ers".Sal|es = 270|
|000033b0| 0d 0a 50 72 69 6e 74 20 | 54 65 78 74 24 09 50 72 |..Print |Text$.Pr|
|000033c0| 69 6e 74 20 53 61 6c 65 | 73 0d 0a 0d 0a 56 61 72 |int Sale|s....Var|
|000033d0| 69 61 62 6c 65 73 20 61 | 72 65 20 75 73 75 61 6c |iables a|re usual|
|000033e0| 6c 79 20 6c 6f 63 61 6c | 20 74 6f 20 74 68 65 20 |ly local| to the |
|000033f0| 73 75 62 72 6f 75 74 69 | 6e 65 20 6f 72 20 66 75 |subrouti|ne or fu|
|00003400| 6e 63 74 69 6f 6e 20 69 | 6e 20 77 68 69 63 68 20 |nction i|n which |
|00003410| 74 68 65 79 20 61 72 65 | 20 75 73 65 64 2e 20 49 |they are| used. I|
|00003420| 66 20 79 6f 75 72 20 6d | 61 63 72 6f 20 63 6f 6e |f your m|acro con|
|00003430| 73 69 73 74 73 20 6f 66 | 20 73 65 76 65 72 61 6c |sists of| several|
|00003440| 20 73 75 62 72 6f 75 74 | 69 6e 65 73 20 6f 72 20 | subrout|ines or |
|00003450| 66 75 6e 63 74 69 6f 6e | 73 20 61 6e 64 20 79 6f |function|s and yo|
|00003460| 75 20 77 61 6e 74 20 74 | 6f 20 6d 61 6b 65 20 61 |u want t|o make a|
|00003470| 20 76 61 72 69 61 62 6c | 65 20 67 6c 6f 62 61 6c | variabl|e global|
|00003480| 6c 79 20 61 76 61 69 6c | 61 62 6c 65 20 74 6f 20 |ly avail|able to |
|00003490| 73 75 62 72 6f 75 74 69 | 6e 65 73 20 61 6e 64 20 |subrouti|nes and |
|000034a0| 66 75 6e 63 74 69 6f 6e | 73 20 77 69 74 68 69 6e |function|s within|
|000034b0| 20 74 68 65 20 6d 61 63 | 72 6f 2c 20 64 65 63 6c | the mac|ro, decl|
|000034c0| 61 72 65 20 74 68 65 6d | 20 77 69 74 68 20 61 20 |are them| with a |
|000034d0| 44 69 6d 20 73 74 61 74 | 65 6d 65 6e 74 20 6c 6f |Dim stat|ement lo|
|000034e0| 63 61 74 65 64 20 6f 75 | 74 73 69 64 65 20 74 68 |cated ou|tside th|
|000034f0| 65 20 53 75 62 20 4d 41 | 49 4e 2e 20 49 66 20 79 |e Sub MA|IN. If y|
|00003500| 6f 75 20 77 61 6e 74 20 | 74 6f 20 70 65 72 6d 61 |ou want |to perma|
|00003510| 6e 65 6e 74 6c 79 20 73 | 74 6f 72 65 20 76 61 72 |nently s|tore var|
|00003520| 69 61 62 6c 65 73 2c 20 | 73 74 6f 72 65 20 74 68 |iables, |store th|
|00003530| 65 6d 20 69 6e 20 61 20 | 66 69 6c 65 20 6f 72 20 |em in a |file or |
|00003540| 67 6c 6f 73 73 61 72 79 | 2e 0d 0a 53 74 72 69 6e |glossary|...Strin|
|00003550| 67 20 76 61 72 69 61 62 | 6c 65 73 20 6d 75 73 74 |g variab|les must|
|00003560| 20 68 61 76 65 20 61 20 | 74 72 61 69 6c 69 6e 67 | have a |trailing|
|00003570| 20 64 6f 6c 6c 61 72 20 | 73 69 67 6e 3b 20 66 6f | dollar |sign; fo|
|00003580| 72 20 65 78 61 6d 70 6c | 65 2c 20 4e 61 6d 65 24 |r exampl|e, Name$|
|00003590| 2e 20 4e 75 6d 65 72 69 | 63 20 76 61 72 69 61 62 |. Numeri|c variab|
|000035a0| 6c 65 20 6e 61 6d 65 73 | 20 72 65 71 75 69 72 65 |le names| require|
|000035b0| 20 6e 6f 20 73 70 65 63 | 69 61 6c 20 63 68 61 72 | no spec|ial char|
|000035c0| 61 63 74 65 72 2e 20 55 | 6e 6c 69 6b 65 20 73 74 |acter. U|nlike st|
|000035d0| 61 6e 64 61 72 64 20 42 | 41 53 49 43 2c 20 57 6f |andard B|ASIC, Wo|
|000035e0| 72 64 42 41 53 49 43 20 | 64 6f 65 73 20 6e 6f 74 |rdBASIC |does not|
|000035f0| 20 73 75 70 70 6f 72 74 | 20 69 6e 74 65 67 65 72 | support| integer|
|00003600| 20 76 61 72 69 61 62 6c | 65 73 2e 20 57 6f 72 64 | variabl|es. Word|
|00003610| 20 64 6f 65 73 20 73 75 | 70 70 6f 72 74 20 6d 75 | does su|pport mu|
|00003620| 6c 74 69 64 69 6d 65 6e | 73 69 6f 6e 61 6c 20 61 |ltidimen|sional a|
|00003630| 72 72 61 79 73 20 6f 66 | 20 73 74 72 69 6e 67 73 |rrays of| strings|
|00003640| 20 6f 72 20 76 61 6c 75 | 65 73 2e 20 41 72 72 61 | or valu|es. Arra|
|00003650| 79 20 76 61 72 69 61 62 | 6c 65 73 20 61 72 65 20 |y variab|les are |
|00003660| 64 65 63 6c 61 72 65 64 | 20 77 69 74 68 20 74 68 |declared| with th|
|00003670| 65 20 44 69 6d 20 73 74 | 61 74 65 6d 65 6e 74 20 |e Dim st|atement |
|00003680| 61 6e 64 20 63 61 6e 20 | 62 65 20 72 65 64 69 6d |and can |be redim|
|00003690| 65 6e 73 69 6f 6e 65 64 | 20 77 69 74 68 20 74 68 |ensioned| with th|
|000036a0| 65 20 52 65 64 69 6d 20 | 73 74 61 74 65 6d 65 6e |e Redim |statemen|
|000036b0| 74 2e 0d 0a 54 68 65 20 | 73 79 6e 74 61 78 20 66 |t...The |syntax f|
|000036c0| 6f 72 20 74 68 65 20 44 | 69 6d 20 73 74 61 74 65 |or the D|im state|
|000036d0| 6d 65 6e 74 20 69 73 20 | 61 73 20 66 6f 6c 6c 6f |ment is |as follo|
|000036e0| 77 73 3a 0d 0a 53 79 6e | 74 61 78 3a 20 20 44 69 |ws:..Syn|tax: Di|
|000036f0| 6d 20 5b 53 68 61 72 65 | 64 5d 20 56 61 72 20 5b |m [Share|d] Var [|
|00003700| 28 53 69 7a 65 29 5d 20 | 5b 2c 20 56 61 72 20 5b |(Size)] |[, Var [|
|00003710| 28 53 69 7a 65 29 5d 2e | 2e 2e 5d 0d 0a 0d 0a 54 |(Size)].|..]....T|
|00003720| 68 65 20 44 69 6d 20 73 | 74 61 74 65 6d 65 6e 74 |he Dim s|tatement|
|00003730| 20 64 65 63 6c 61 72 65 | 73 20 61 20 76 61 72 69 | declare|s a vari|
|00003740| 61 62 6c 65 27 73 20 74 | 79 70 65 20 61 6e 64 20 |able's t|ype and |
|00003750| 61 6c 6c 6f 63 61 74 65 | 73 20 73 74 6f 72 61 67 |allocate|s storag|
|00003760| 65 20 73 70 61 63 65 20 | 66 6f 72 20 74 68 65 20 |e space |for the |
|00003770| 76 61 72 69 61 62 6c 65 | 2e 20 49 66 20 53 68 61 |variable|. If Sha|
|00003780| 72 65 64 20 69 73 20 75 | 73 65 64 2c 20 74 68 65 |red is u|sed, the|
|00003790| 6e 20 74 68 65 20 76 61 | 72 69 61 62 6c 65 20 69 |n the va|riable i|
|000037a0| 73 20 67 6c 6f 62 61 6c | 3b 20 69 66 20 6e 6f 74 |s global|; if not|
|000037b0| 2c 20 74 68 65 20 76 61 | 72 69 61 62 6c 65 20 69 |, the va|riable i|
|000037c0| 73 20 6c 6f 63 61 6c 20 | 74 6f 20 74 68 65 20 53 |s local |to the S|
|000037d0| 75 62 20 6f 72 20 46 75 | 6e 63 74 69 6f 6e 2e 20 |ub or Fu|nction. |
|000037e0| 49 66 20 74 68 65 20 76 | 61 72 69 61 62 6c 65 20 |If the v|ariable |
|000037f0| 69 73 20 67 6c 6f 62 61 | 6c 2c 20 74 68 65 20 44 |is globa|l, the D|
|00003800| 69 6d 20 73 74 61 74 65 | 6d 65 6e 74 20 6d 75 73 |im state|ment mus|
|00003810| 74 20 62 65 20 6c 6f 63 | 61 74 65 64 20 6f 75 74 |t be loc|ated out|
|00003820| 73 69 64 65 20 74 68 65 | 20 53 75 62 20 6f 72 20 |side the| Sub or |
|00003830| 46 75 6e 63 74 69 6f 6e | 2e 20 49 66 20 74 68 65 |Function|. If the|
|00003840| 20 76 61 72 69 61 62 6c | 65 20 69 73 20 6c 6f 63 | variabl|e is loc|
|00003850| 61 6c 2c 20 74 68 65 20 | 44 69 6d 20 73 74 61 74 |al, the |Dim stat|
|00003860| 65 6d 65 6e 74 20 6d 75 | 73 74 20 62 65 20 6c 6f |ement mu|st be lo|
|00003870| 63 61 74 65 64 20 69 6e | 73 69 64 65 20 74 68 65 |cated in|side the|
|00003880| 20 53 75 62 20 6f 72 20 | 46 75 6e 63 74 69 6f 6e | Sub or |Function|
|00003890| 2e 20 44 69 6d 20 63 61 | 6e 20 61 6c 73 6f 20 62 |. Dim ca|n also b|
|000038a0| 65 20 75 73 65 64 20 74 | 6f 20 64 65 63 6c 61 72 |e used t|o declar|
|000038b0| 65 20 67 6c 6f 62 61 6c | 20 73 63 61 6c 61 72 20 |e global| scalar |
|000038c0| 28 6e 6f 6e 61 72 72 61 | 79 29 20 76 61 72 69 61 |(nonarra|y) varia|
|000038d0| 62 6c 65 73 2e 0d 0a 41 | 72 72 61 79 73 20 61 6c |bles...A|rrays al|
|000038e0| 6c 6f 77 20 79 6f 75 20 | 74 6f 20 61 73 73 69 67 |low you |to assig|
|000038f0| 6e 20 6d 75 6c 74 69 70 | 6c 65 20 76 61 6c 75 65 |n multip|le value|
|00003900| 73 20 74 6f 20 61 20 73 | 69 6e 67 6c 65 20 76 61 |s to a s|ingle va|
|00003910| 72 69 61 62 6c 65 2e 20 | 54 68 65 20 6d 61 63 72 |riable. |The macr|
|00003920| 6f 20 63 61 6e 20 74 68 | 65 6e 20 64 65 74 65 72 |o can th|en deter|
|00003930| 6d 69 6e 65 20 77 68 69 | 63 68 20 76 61 6c 75 65 |mine whi|ch value|
|00003940| 20 74 6f 20 61 63 63 65 | 73 73 2c 20 61 73 20 73 | to acce|ss, as s|
|00003950| 68 6f 77 6e 20 69 6e 20 | 74 68 65 20 66 6f 6c 6c |hown in |the foll|
|00003960| 6f 77 69 6e 67 20 65 78 | 61 6d 70 6c 65 3a 0d 0a |owing ex|ample:..|
|00003970| 50 72 6f 67 72 61 6d 20 | 6c 69 73 74 69 6e 67 09 |Program |listing.|
|00003980| 45 66 66 65 63 74 0d 0a | 53 75 62 20 4d 41 49 4e |Effect..|Sub MAIN|
|00003990| 0d 0a 44 69 6d 20 4d 6f | 6e 74 68 53 61 6c 65 73 |..Dim Mo|nthSales|
|000039a0| 28 31 32 29 09 44 69 6d | 65 6e 73 69 6f 6e 73 20 |(12).Dim|ensions |
|000039b0| 61 20 6f 6e 65 2d 64 69 | 6d 65 6e 73 69 6f 6e 61 |a one-di|mensiona|
|000039c0| 6c 20 61 72 72 61 79 20 | 74 6f 20 68 6f 6c 64 20 |l array |to hold |
|000039d0| 31 32 20 76 61 6c 75 65 | 73 0d 0a 46 6f 72 20 4d |12 value|s..For M|
|000039e0| 6f 6e 74 68 20 3d 20 31 | 20 54 6f 20 31 32 09 53 |onth = 1| To 12.S|
|000039f0| 65 74 73 20 75 70 20 61 | 20 6c 6f 6f 70 20 66 6f |ets up a| loop fo|
|00003a00| 72 20 74 68 65 20 6d 61 | 63 72 6f 20 74 6f 20 63 |r the ma|cro to c|
|00003a10| 79 63 6c 65 20 74 68 72 | 6f 75 67 68 20 31 32 20 |ycle thr|ough 12 |
|00003a20| 74 69 6d 65 73 0d 0a 49 | 6e 70 75 74 20 22 50 6c |times..I|nput "Pl|
|00003a30| 65 61 73 65 20 65 6e 74 | 65 72 20 74 68 65 20 73 |ease ent|er the s|
|00003a40| 61 6c 65 73 20 66 6f 72 | 20 09 41 73 6b 20 74 68 |ales for| .Ask th|
|00003a50| 65 20 75 73 65 72 20 66 | 6f 72 20 69 6e 70 75 74 |e user f|or input|
|00003a60| 3b 20 74 68 65 20 76 61 | 6c 75 65 20 69 6e 70 75 |; the va|lue inpu|
|00003a70| 74 20 69 73 20 61 73 73 | 69 67 6e 65 64 20 74 6f |t is ass|igned to|
|00003a80| 20 74 68 65 0d 0a 74 68 | 69 73 20 6d 6f 6e 74 68 | the..th|is month|
|00003a90| 22 2c 20 4d 6f 6e 74 68 | 53 61 6c 65 73 28 4d 6f |", Month|Sales(Mo|
|00003aa0| 6e 74 68 29 09 61 72 72 | 61 79 20 65 6c 65 6d 65 |nth).arr|ay eleme|
|00003ab0| 6e 74 20 63 61 6c 6c 65 | 64 20 4d 6f 6e 74 68 53 |nt calle|d MonthS|
|00003ac0| 61 6c 65 73 28 4d 6f 6e | 74 68 29 3b 20 4d 6f 6e |ales(Mon|th); Mon|
|00003ad0| 74 68 20 77 69 6c 6c 20 | 76 61 72 79 20 66 72 6f |th will |vary fro|
|00003ae0| 6d 20 31 20 74 6f 20 31 | 32 20 61 73 20 74 68 65 |m 1 to 1|2 as the|
|00003af0| 20 6c 6f 6f 70 20 70 72 | 6f 67 72 65 73 73 65 73 | loop pr|ogresses|
|00003b00| 0d 0a 4e 65 78 74 20 4d | 6f 6e 74 68 09 49 6e 63 |..Next M|onth.Inc|
|00003b10| 72 65 6d 65 6e 74 73 20 | 4d 6f 6e 74 68 20 62 79 |rements |Month by|
|00003b20| 20 31 3b 20 72 65 74 75 | 72 6e 73 20 74 6f 20 74 | 1; retu|rns to t|
|00003b30| 68 65 20 46 6f 72 20 73 | 74 61 74 65 6d 65 6e 74 |he For s|tatement|
|00003b40| 3b 20 77 68 65 6e 0d 0a | 09 74 68 65 20 76 61 6c |; when..|.the val|
|00003b50| 75 65 20 72 65 61 63 68 | 65 73 20 31 32 2c 20 74 |ue reach|es 12, t|
|00003b60| 68 65 20 6d 61 63 72 6f | 20 63 6f 6e 74 69 6e 75 |he macro| continu|
|00003b70| 65 73 20 74 6f 20 74 68 | 65 20 6e 65 78 74 20 6c |es to th|e next l|
|00003b80| 69 6e 65 0d 0a 45 6e 64 | 20 53 75 62 0d 0a 0d 0a |ine..End| Sub....|
|00003b90| 55 73 69 6e 67 20 74 68 | 65 20 61 72 72 61 79 20 |Using th|e array |
|00003ba0| 66 6f 72 6d 20 73 68 6f | 72 74 65 6e 73 20 74 68 |form sho|rtens th|
|00003bb0| 65 20 70 72 6f 67 72 61 | 6d 2e 20 57 69 74 68 6f |e progra|m. Witho|
|00003bc0| 75 74 20 61 6e 20 61 72 | 72 61 79 2c 20 65 61 63 |ut an ar|ray, eac|
|00003bd0| 68 20 6d 6f 6e 74 68 20 | 77 6f 75 6c 64 20 68 61 |h month |would ha|
|00003be0| 76 65 20 74 6f 20 62 65 | 20 65 6e 74 65 72 65 64 |ve to be| entered|
|00003bf0| 20 61 73 20 61 6e 20 69 | 6e 64 69 76 69 64 75 61 | as an i|ndividua|
|00003c00| 6c 20 76 61 72 69 61 62 | 6c 65 2e 0d 0a 49 66 20 |l variab|le...If |
|00003c10| 61 20 6d 61 63 72 6f 20 | 75 73 65 73 20 64 69 61 |a macro |uses dia|
|00003c20| 6c 6f 67 20 62 6f 78 65 | 73 20 6f 72 20 63 6f 6d |log boxe|s or com|
|00003c30| 6d 61 6e 64 73 20 74 68 | 61 74 20 75 73 65 20 64 |mands th|at use d|
|00003c40| 69 61 6c 6f 67 20 62 6f | 78 65 73 2c 20 61 20 74 |ialog bo|xes, a t|
|00003c50| 68 69 72 64 20 64 61 74 | 61 20 74 79 70 65 20 69 |hird dat|a type i|
|00003c60| 73 20 61 76 61 69 6c 61 | 62 6c 65 2c 20 74 68 65 |s availa|ble, the|
|00003c70| 20 64 69 61 6c 6f 67 20 | 72 65 63 6f 72 64 2e 20 | dialog |record. |
|00003c80| 41 20 64 69 61 6c 6f 67 | 20 72 65 63 6f 72 64 20 |A dialog| record |
|00003c90| 63 6f 6e 73 69 73 74 73 | 20 6f 66 20 61 20 6c 69 |consists| of a li|
|00003ca0| 73 74 20 6f 66 20 22 66 | 69 65 6c 64 73 2e 22 20 |st of "f|ields." |
|00003cb0| 45 61 63 68 20 66 69 65 | 6c 64 20 69 6e 20 61 20 |Each fie|ld in a |
|00003cc0| 64 69 61 6c 6f 67 20 72 | 65 63 6f 72 64 20 63 6f |dialog r|ecord co|
|00003cd0| 6e 74 61 69 6e 73 20 74 | 68 65 20 76 61 6c 75 65 |ntains t|he value|
|00003ce0| 20 6f 66 20 61 6e 20 65 | 6c 65 6d 65 6e 74 20 69 | of an e|lement i|
|00003cf0| 6e 20 74 68 65 20 64 69 | 61 6c 6f 67 20 62 6f 78 |n the di|alog box|
|00003d00| 3b 20 74 68 65 20 76 61 | 6c 75 65 20 69 73 20 61 |; the va|lue is a|
|00003d10| 20 6e 75 6d 62 65 72 20 | 69 6e 20 73 6f 6d 65 20 | number |in some |
|00003d20| 63 61 73 65 73 20 61 6e | 64 20 61 20 73 74 72 69 |cases an|d a stri|
|00003d30| 6e 67 20 69 6e 20 6f 74 | 68 65 72 73 2e 20 53 6f |ng in ot|hers. So|
|00003d40| 6d 65 20 64 69 61 6c 6f | 67 20 72 65 63 6f 72 64 |me dialo|g record|
|00003d50| 20 66 69 65 6c 64 73 20 | 63 61 6e 20 61 63 63 65 | fields |can acce|
|00003d60| 70 74 20 65 69 74 68 65 | 72 20 61 20 6e 75 6d 62 |pt eithe|r a numb|
|00003d70| 65 72 20 6f 72 20 61 20 | 73 74 72 69 6e 67 3b 20 |er or a |string; |
|00003d80| 69 6e 20 74 68 65 73 65 | 20 63 61 73 65 73 2c 20 |in these| cases, |
|00003d90| 57 6f 72 64 20 63 6f 6e | 76 65 72 74 73 20 61 20 |Word con|verts a |
|00003da0| 73 74 72 69 6e 67 20 73 | 75 63 68 20 61 73 20 22 |string s|uch as "|
|00003db0| 31 20 69 6e 22 20 74 6f | 20 74 68 65 20 65 71 75 |1 in" to| the equ|
|00003dc0| 69 76 61 6c 65 6e 74 20 | 6e 75 6d 62 65 72 20 6f |ivalent |number o|
|00003dd0| 66 20 70 72 69 6e 74 65 | 72 27 73 20 70 6f 69 6e |f printe|r's poin|
|00003de0| 74 73 2e 20 54 68 69 73 | 20 66 65 61 74 75 72 65 |ts. This| feature|
|00003df0| 20 69 73 20 6f 6e 6c 79 | 20 61 76 61 69 6c 61 62 | is only| availab|
|00003e00| 6c 65 20 66 6f 72 20 73 | 6f 6d 65 20 64 69 61 6c |le for s|ome dial|
|00003e10| 6f 67 20 72 65 63 6f 72 | 64 20 66 69 65 6c 64 73 |og recor|d fields|
|00003e20| 2e 20 54 68 65 73 65 20 | 66 69 65 6c 64 73 20 61 |. These |fields a|
|00003e30| 72 65 20 66 6f 6c 6c 6f | 77 65 64 20 62 79 20 61 |re follo|wed by a|
|00003e40| 20 64 6f 6c 6c 61 72 20 | 73 69 67 6e 20 65 6e 63 | dollar |sign enc|
|00003e50| 6c 6f 73 65 64 20 69 6e | 20 62 72 61 63 6b 65 74 |losed in| bracket|
|00003e60| 73 20 28 5b 24 5d 29 20 | 69 6e 20 74 68 65 20 6d |s ([$]) |in the m|
|00003e70| 61 63 72 6f 20 73 74 61 | 74 65 6d 65 6e 74 20 73 |acro sta|tement s|
|00003e80| 79 6e 74 61 78 20 69 6e | 20 74 68 69 73 20 63 68 |yntax in| this ch|
|00003e90| 61 70 74 65 72 2e 20 54 | 68 69 73 20 69 73 20 61 |apter. T|his is a|
|00003ea0| 20 63 6f 6e 76 65 6e 74 | 69 6f 6e 20 75 73 65 64 | convent|ion used|
|00003eb0| 20 66 6f 72 20 79 6f 75 | 72 20 69 6e 66 6f 72 6d | for you|r inform|
|00003ec0| 61 74 69 6f 6e 20 6f 6e | 6c 79 2e 20 44 6f 20 6e |ation on|ly. Do n|
|00003ed0| 6f 74 20 69 6e 63 6c 75 | 64 65 20 74 68 65 20 5b |ot inclu|de the [|
|00003ee0| 24 5d 20 77 68 65 6e 20 | 79 6f 75 20 61 72 65 20 |$] when |you are |
|00003ef0| 77 72 69 74 69 6e 67 20 | 64 69 61 6c 6f 67 20 72 |writing |dialog r|
|00003f00| 65 63 6f 72 64 73 20 69 | 6e 20 6d 61 63 72 6f 73 |ecords i|n macros|
|00003f10| 2e 20 59 6f 75 20 63 61 | 6e 20 73 65 74 20 6f 72 |. You ca|n set or|
|00003f20| 20 72 65 61 64 20 61 20 | 73 70 65 63 69 66 69 63 | read a |specific|
|00003f30| 20 66 69 65 6c 64 20 6f | 66 20 61 20 64 69 61 6c | field o|f a dial|
|00003f40| 6f 67 20 72 65 63 6f 72 | 64 20 62 79 20 73 70 65 |og recor|d by spe|
|00003f50| 63 69 66 79 69 6e 67 20 | 74 68 65 20 66 69 65 6c |cifying |the fiel|
|00003f60| 64 20 6e 61 6d 65 2c 20 | 70 72 65 63 65 64 65 64 |d name, |preceded|
|00003f70| 20 62 79 20 61 20 70 65 | 72 69 6f 64 20 28 2e 29 | by a pe|riod (.)|
|00003f80| 2e 0d 0a 44 69 6d 20 63 | 61 6e 20 62 65 20 75 73 |...Dim c|an be us|
|00003f90| 65 64 20 74 6f 20 64 69 | 6d 65 6e 73 69 6f 6e 20 |ed to di|mension |
|00003fa0| 64 69 61 6c 6f 67 20 72 | 65 63 6f 72 64 73 2e 20 |dialog r|ecords. |
|00003fb0| 54 68 65 20 73 79 6e 74 | 61 78 20 66 6f 6c 6c 6f |The synt|ax follo|
|00003fc0| 77 73 3a 0d 0a 44 69 6d | 20 44 69 61 6c 6f 67 52 |ws:..Dim| DialogR|
|00003fd0| 65 63 6f 72 64 20 41 73 | 20 44 69 61 6c 6f 67 42 |ecord As| DialogB|
|00003fe0| 6f 78 0d 0a 0d 0a 49 6e | 20 74 68 65 20 61 62 6f |ox....In| the abo|
|00003ff0| 76 65 20 73 79 6e 74 61 | 78 20 44 69 6d 20 61 6c |ve synta|x Dim al|
|00004000| 6c 6f 63 61 74 65 73 20 | 74 6f 20 44 69 61 6c 6f |locates |to Dialo|
|00004010| 67 52 65 63 6f 72 64 20 | 74 68 65 20 73 74 6f 72 |gRecord |the stor|
|00004020| 61 67 65 20 73 70 61 63 | 65 20 61 6e 64 20 61 73 |age spac|e and as|
|00004030| 73 6f 63 69 61 74 65 64 | 20 66 69 65 6c 64 20 74 |sociated| field t|
|00004040| 79 70 65 73 20 66 6f 72 | 20 44 69 61 6c 6f 67 42 |ypes for| DialogB|
|00004050| 6f 78 2e 0d 0a 54 6f 20 | 63 6f 70 79 20 74 68 65 |ox...To |copy the|
|00004060| 20 63 75 72 72 65 6e 74 | 20 65 6c 65 6d 65 6e 74 | current| element|
|00004070| 73 20 6f 66 20 61 20 64 | 69 61 6c 6f 67 20 62 6f |s of a d|ialog bo|
|00004080| 78 20 74 6f 20 61 20 64 | 69 61 6c 6f 67 20 72 65 |x to a d|ialog re|
|00004090| 63 6f 72 64 2c 20 75 73 | 65 20 74 68 65 20 47 65 |cord, us|e the Ge|
|000040a0| 74 43 75 72 56 61 6c 75 | 65 73 20 73 74 61 74 65 |tCurValu|es state|
|000040b0| 6d 65 6e 74 20 28 73 65 | 65 20 4d 61 63 72 6f 73 |ment (se|e Macros|
|000040c0| 3a 20 52 65 66 65 72 65 | 6e 63 65 20 66 6f 72 20 |: Refere|nce for |
|000040d0| 6d 6f 72 65 20 69 6e 66 | 6f 72 6d 61 74 69 6f 6e |more inf|ormation|
|000040e0| 20 6f 6e 20 74 68 65 20 | 47 65 74 43 75 72 56 61 | on the |GetCurVa|
|000040f0| 6c 75 65 73 20 73 74 61 | 74 65 6d 65 6e 74 29 2e |lues sta|tement).|
|00004100| 0d 0a 54 68 65 20 44 69 | 61 6c 6f 67 20 73 74 61 |..The Di|alog sta|
|00004110| 74 65 6d 65 6e 74 20 63 | 61 6e 20 62 65 20 75 73 |tement c|an be us|
|00004120| 65 64 20 74 6f 20 64 69 | 73 70 6c 61 79 20 61 20 |ed to di|splay a |
|00004130| 64 69 61 6c 6f 67 20 62 | 6f 78 20 77 69 74 68 20 |dialog b|ox with |
|00004140| 74 68 65 20 76 61 6c 75 | 65 73 20 74 61 6b 65 6e |the valu|es taken|
|00004150| 20 66 72 6f 6d 20 74 68 | 65 20 73 70 65 63 69 66 | from th|e specif|
|00004160| 69 65 64 20 64 69 61 6c | 6f 67 20 72 65 63 6f 72 |ied dial|og recor|
|00004170| 64 20 28 73 65 65 20 4d | 61 63 72 6f 73 3a 20 52 |d (see M|acros: R|
|00004180| 65 66 65 72 65 6e 63 65 | 20 66 6f 72 20 6d 6f 72 |eference| for mor|
|00004190| 65 20 69 6e 66 6f 72 6d | 61 74 69 6f 6e 20 6f 6e |e inform|ation on|
|000041a0| 20 74 68 65 20 44 69 61 | 6c 6f 67 20 73 74 61 74 | the Dia|log stat|
|000041b0| 65 6d 65 6e 74 29 2e 0d | 0a 50 72 6f 67 72 61 6d |ement)..|.Program|
|000041c0| 20 6c 69 73 74 69 6e 67 | 09 45 66 66 65 63 74 0d | listing|.Effect.|
|000041d0| 0a 53 75 62 20 4d 41 49 | 4e 0d 0a 44 69 6d 20 64 |.Sub MAI|N..Dim d|
|000041e0| 6c 67 20 41 73 20 46 6f | 72 6d 61 74 44 6f 63 75 |lg As Fo|rmatDocu|
|000041f0| 6d 65 6e 74 09 43 72 65 | 61 74 65 73 20 61 20 64 |ment.Cre|ates a d|
|00004200| 69 61 6c 6f 67 20 72 65 | 63 6f 72 64 20 77 69 74 |ialog re|cord wit|
|00004210| 68 20 65 6d 70 74 79 20 | 66 69 65 6c 64 73 0d 0a |h empty |fields..|
|00004220| 47 65 74 43 75 72 56 61 | 6c 75 65 73 20 64 6c 67 |GetCurVa|lues dlg|
|00004230| 09 50 6c 61 63 65 73 20 | 74 68 65 20 63 75 72 72 |.Places |the curr|
|00004240| 65 6e 74 20 76 61 6c 75 | 65 73 20 6f 66 20 74 68 |ent valu|es of th|
|00004250| 65 20 46 6f 72 6d 61 74 | 20 44 6f 63 75 6d 65 6e |e Format| Documen|
|00004260| 74 20 63 6f 6d 6d 61 6e | 64 20 69 6e 74 6f 20 74 |t comman|d into t|
|00004270| 68 65 20 72 65 63 6f 72 | 64 0d 0a 49 66 20 64 6c |he recor|d..If dl|
|00004280| 67 2e 4d 69 72 72 6f 72 | 4d 61 72 67 69 6e 73 20 |g.Mirror|Margins |
|00004290| 3d 20 30 20 54 68 65 6e | 20 09 54 6f 67 67 6c 65 |= 0 Then| .Toggle|
|000042a0| 73 20 74 68 65 20 6d 69 | 72 72 6f 72 20 6d 61 72 |s the mi|rror mar|
|000042b0| 67 69 6e 73 20 66 69 65 | 6c 64 20 6f 66 20 74 68 |gins fie|ld of th|
|000042c0| 65 20 72 65 63 6f 72 64 | 0d 0a 09 64 6c 67 2e 4d |e record|...dlg.M|
|000042d0| 69 72 72 6f 72 4d 61 72 | 67 69 6e 73 20 3d 20 31 |irrorMar|gins = 1|
|000042e0| 0d 0a 45 6c 73 65 20 64 | 6c 67 2e 4d 69 72 72 6f |..Else d|lg.Mirro|
|000042f0| 72 4d 61 72 67 69 6e 73 | 20 3d 20 30 0d 0a 44 69 |rMargins| = 0..Di|
|00004300| 61 6c 6f 67 20 64 6c 67 | 09 44 69 73 70 6c 61 79 |alog dlg|.Display|
|00004310| 73 20 74 68 65 20 64 69 | 61 6c 6f 67 20 62 6f 78 |s the di|alog box|
|00004320| 0d 0a 46 6f 72 6d 61 74 | 44 6f 63 75 6d 65 6e 74 |..Format|Document|
|00004330| 20 64 6c 67 09 50 65 72 | 66 6f 72 6d 73 20 74 68 | dlg.Per|forms th|
|00004340| 65 20 61 63 74 69 6f 6e | 20 75 73 69 6e 67 20 74 |e action| using t|
|00004350| 68 65 20 76 61 6c 75 65 | 73 20 73 70 65 63 69 66 |he value|s specif|
|00004360| 69 65 64 20 69 6e 20 74 | 68 65 20 64 69 61 6c 6f |ied in t|he dialo|
|00004370| 67 20 72 65 63 6f 72 64 | 0d 0a 45 6e 64 20 53 75 |g record|..End Su|
|00004380| 62 0d 0a 0d 0a 45 78 70 | 72 65 73 73 69 6f 6e 73 |b....Exp|ressions|
|00004390| 0d 0a 57 6f 72 64 20 63 | 61 6e 20 65 76 61 6c 75 |..Word c|an evalu|
|000043a0| 61 74 65 20 63 6f 6d 70 | 6c 65 78 20 6e 75 6d 65 |ate comp|lex nume|
|000043b0| 72 69 63 20 61 6e 64 20 | 73 74 72 69 6e 67 20 65 |ric and |string e|
|000043c0| 78 70 72 65 73 73 69 6f | 6e 73 2e 20 49 6e 20 57 |xpressio|ns. In W|
|000043d0| 6f 72 64 42 41 53 49 43 | 2c 20 61 6c 6c 20 72 65 |ordBASIC|, all re|
|000043e0| 6c 61 74 69 6f 6e 61 6c | 20 65 78 70 72 65 73 73 |lational| express|
|000043f0| 69 6f 6e 73 20 72 65 74 | 75 72 6e 20 2d 31 20 69 |ions ret|urn -1 i|
|00004400| 66 20 54 72 75 65 20 61 | 6e 64 20 30 20 28 7a 65 |f True a|nd 0 (ze|
|00004410| 72 6f 29 20 69 66 20 46 | 61 6c 73 65 2e 20 49 66 |ro) if F|alse. If|
|00004420| 20 73 74 72 69 6e 67 73 | 20 61 72 65 20 75 73 65 | strings| are use|
|00004430| 64 20 77 69 74 68 20 72 | 65 6c 61 74 69 6f 6e 61 |d with r|elationa|
|00004440| 6c 20 6f 70 65 72 61 74 | 6f 72 73 2c 20 74 68 65 |l operat|ors, the|
|00004450| 20 73 74 72 69 6e 67 73 | 20 61 72 65 20 66 69 72 | strings| are fir|
|00004460| 73 74 20 63 6f 6e 76 65 | 72 74 65 64 20 74 6f 20 |st conve|rted to |
|00004470| 41 53 43 49 49 20 76 61 | 6c 75 65 73 2c 20 61 6e |ASCII va|lues, an|
|00004480| 64 20 74 68 65 20 72 65 | 73 75 6c 74 69 6e 67 20 |d the re|sulting |
|00004490| 76 61 6c 75 65 73 20 61 | 72 65 20 75 73 65 64 20 |values a|re used |
|000044a0| 69 6e 20 74 68 65 20 63 | 6f 6d 70 61 72 69 73 6f |in the c|ompariso|
|000044b0| 6e 2e 20 46 6f 72 20 65 | 78 61 6d 70 6c 65 2c 20 |n. For e|xample, |
|000044c0| 69 6e 20 74 68 65 20 65 | 78 70 72 65 73 73 69 6f |in the e|xpressio|
|000044d0| 6e 20 49 66 20 22 41 70 | 70 6c 65 22 3c 22 4f 72 |n If "Ap|ple"<"Or|
|000044e0| 61 6e 67 65 22 20 54 68 | 65 6e 20 50 72 69 6e 74 |ange" Th|en Print|
|000044f0| 20 22 41 70 70 6c 65 20 | 69 73 20 6c 65 73 73 20 | "Apple |is less |
|00004500| 74 68 61 6e 20 4f 72 61 | 6e 67 65 2e 22 20 57 6f |than Ora|nge." Wo|
|00004510| 72 64 20 63 6f 6e 76 65 | 72 74 73 20 74 68 65 20 |rd conve|rts the |
|00004520| 72 65 6c 61 74 69 6f 6e | 61 6c 20 65 78 70 72 65 |relation|al expre|
|00004530| 73 73 69 6f 6e 20 69 6e | 74 6f 20 61 20 76 61 6c |ssion in|to a val|
|00004540| 75 65 20 74 68 61 74 20 | 72 65 70 72 65 73 65 6e |ue that |represen|
|00004550| 74 73 20 54 72 75 65 20 | 6f 72 20 46 61 6c 73 65 |ts True |or False|
|00004560| 2e 20 54 68 65 20 49 66 | 20 73 74 61 74 65 6d 65 |. The If| stateme|
|00004570| 6e 74 20 61 63 63 65 70 | 74 73 20 74 68 65 20 76 |nt accep|ts the v|
|00004580| 61 6c 75 65 20 61 6e 64 | 20 74 68 65 6e 20 70 65 |alue and| then pe|
|00004590| 72 66 6f 72 6d 73 20 74 | 68 65 20 6f 70 65 72 61 |rforms t|he opera|
|000045a0| 74 69 6f 6e 20 61 63 63 | 6f 72 64 69 6e 67 6c 79 |tion acc|ordingly|
|000045b0| 2e 0d 0a 42 69 74 77 69 | 73 65 20 6f 70 65 72 61 |...Bitwi|se opera|
|000045c0| 74 6f 72 73 20 28 4e 6f | 74 2c 20 41 6e 64 2c 20 |tors (No|t, And, |
|000045d0| 4f 72 29 20 63 6f 6e 76 | 65 72 74 20 6e 75 6d 62 |Or) conv|ert numb|
|000045e0| 65 72 73 20 74 6f 20 31 | 36 2d 62 69 74 20 69 6e |ers to 1|6-bit in|
|000045f0| 74 65 67 65 72 73 20 61 | 6e 64 20 74 68 65 6e 20 |tegers a|nd then |
|00004600| 70 72 6f 63 65 73 73 20 | 74 68 65 20 69 6e 64 69 |process |the indi|
|00004610| 76 69 64 75 61 6c 20 62 | 69 74 73 20 6f 66 20 74 |vidual b|its of t|
|00004620| 68 65 20 6e 75 6d 62 65 | 72 20 69 6e 20 62 69 6e |he numbe|r in bin|
|00004630| 61 72 79 20 66 6f 72 6d | 61 74 2e 0d 0a 48 69 6e |ary form|at...Hin|
|00004640| 74 3a 20 4e 6f 74 20 6f | 66 20 2d 31 20 69 73 20 |t: Not o|f -1 is |
|00004650| 46 61 6c 73 65 2e 20 4e | 6f 74 20 6f 66 20 61 6e |False. N|ot of an|
|00004660| 79 20 6f 74 68 65 72 20 | 6e 75 6d 62 65 72 2c 20 |y other |number, |
|00004670| 69 6e 63 6c 75 64 69 6e | 67 20 30 20 28 7a 65 72 |includin|g 0 (zer|
|00004680| 6f 29 2c 20 69 73 20 54 | 72 75 65 2e 20 54 68 65 |o), is T|rue. The|
|00004690| 72 65 66 6f 72 65 2c 20 | 62 65 20 63 61 72 65 66 |refore, |be caref|
|000046a0| 75 6c 20 77 68 65 6e 20 | 75 73 69 6e 67 20 62 69 |ul when |using bi|
|000046b0| 74 77 69 73 65 20 6f 70 | 65 72 61 74 6f 72 73 20 |twise op|erators |
|000046c0| 77 69 74 68 20 6e 6f 6e | 2d 42 6f 6f 6c 65 61 6e |with non|-Boolean|
|000046d0| 20 66 75 6e 63 74 69 6f | 6e 73 2e 0d 0a 41 6c 6c | functio|ns...All|
|000046e0| 20 65 78 70 72 65 73 73 | 69 6f 6e 73 20 61 72 65 | express|ions are|
|000046f0| 20 65 76 61 6c 75 61 74 | 65 64 20 73 75 63 68 20 | evaluat|ed such |
|00004700| 74 68 61 74 20 6d 75 6c | 74 69 70 6c 69 63 61 74 |that mul|tiplicat|
|00004710| 69 6f 6e 20 61 6e 64 20 | 64 69 76 69 73 69 6f 6e |ion and |division|
|00004720| 20 61 72 65 20 70 65 72 | 66 6f 72 6d 65 64 20 62 | are per|formed b|
|00004730| 65 66 6f 72 65 20 61 64 | 64 69 74 69 6f 6e 20 61 |efore ad|dition a|
|00004740| 6e 64 20 73 75 62 74 72 | 61 63 74 69 6f 6e 2e 20 |nd subtr|action. |
|00004750| 54 6f 20 70 65 72 66 6f | 72 6d 20 6f 70 65 72 61 |To perfo|rm opera|
|00004760| 74 69 6f 6e 73 20 69 6e | 20 61 20 64 69 66 66 65 |tions in| a diffe|
|00004770| 72 65 6e 74 20 6f 72 64 | 65 72 2c 20 75 73 65 20 |rent ord|er, use |
|00004780| 70 61 72 65 6e 74 68 65 | 73 65 73 2c 20 61 73 20 |parenthe|ses, as |
|00004790| 73 68 6f 77 6e 20 69 6e | 20 74 68 65 20 73 65 63 |shown in| the sec|
|000047a0| 6f 6e 64 20 65 78 61 6d | 70 6c 65 20 74 68 61 74 |ond exam|ple that|
|000047b0| 20 66 6f 6c 6c 6f 77 73 | 3a 0d 0a 45 71 75 61 74 | follows|:..Equat|
|000047c0| 69 6f 6e 09 45 66 66 65 | 63 74 0d 0a 31 34 20 2a |ion.Effe|ct..14 *|
|000047d0| 20 35 20 2d 20 36 09 4d | 75 6c 74 69 70 6c 69 65 | 5 - 6.M|ultiplie|
|000047e0| 73 20 31 34 20 62 79 20 | 35 2c 20 74 68 65 6e 20 |s 14 by |5, then |
|000047f0| 73 75 62 74 72 61 63 74 | 73 20 36 20 66 72 6f 6d |subtract|s 6 from|
|00004800| 20 74 68 65 20 72 65 73 | 75 6c 74 0d 0a 31 34 20 | the res|ult..14 |
|00004810| 2a 20 28 35 20 2d 20 36 | 29 09 53 75 62 74 72 61 |* (5 - 6|).Subtra|
|00004820| 63 74 73 20 36 20 66 72 | 6f 6d 20 35 2c 20 74 68 |cts 6 fr|om 5, th|
|00004830| 65 6e 20 6d 75 6c 74 69 | 70 6c 69 65 73 20 31 34 |en multi|plies 14|
|00004840| 20 62 79 20 74 68 65 20 | 72 65 73 75 6c 74 0d 0a | by the |result..|
|00004850| 0d 0a 43 6f 6e 74 72 6f | 6c 20 53 74 72 75 63 74 |..Contro|l Struct|
|00004860| 75 72 65 73 0d 0a 54 68 | 65 20 66 6f 6c 6c 6f 77 |ures..Th|e follow|
|00004870| 69 6e 67 20 63 6f 6e 74 | 72 6f 6c 20 73 74 72 75 |ing cont|rol stru|
|00004880| 63 74 75 72 65 73 20 63 | 61 6e 20 62 65 20 75 73 |ctures c|an be us|
|00004890| 65 64 20 74 6f 20 70 72 | 6f 67 72 61 6d 20 57 6f |ed to pr|ogram Wo|
|000048a0| 72 64 20 6d 61 63 72 6f | 73 2e 20 54 68 65 69 72 |rd macro|s. Their|
|000048b0| 20 61 63 74 69 6f 6e 73 | 20 61 72 65 20 73 69 6d | actions| are sim|
|000048c0| 69 6c 61 72 20 74 6f 20 | 74 68 6f 73 65 20 75 73 |ilar to |those us|
|000048d0| 65 64 20 69 6e 20 4d 69 | 63 72 6f 73 6f 66 74 20 |ed in Mi|crosoft |
|000048e0| 51 75 69 63 6b 42 41 53 | 49 43 2e 0d 0a 46 6f 72 |QuickBAS|IC...For|
|000048f0| 2e 2e 2e 4e 65 78 74 0d | 0a 53 79 6e 74 61 78 3a |...Next.|.Syntax:|
|00004900| 20 09 46 6f 72 20 43 6f | 75 6e 74 65 72 56 61 72 | .For Co|unterVar|
|00004910| 69 61 62 6c 65 20 3d 20 | 53 74 61 72 74 20 54 6f |iable = |Start To|
|00004920| 20 45 6e 64 20 5b 53 74 | 65 70 20 49 6e 63 72 65 | End [St|ep Incre|
|00004930| 6d 65 6e 74 5d 0d 0a 09 | 09 53 74 61 74 65 6d 65 |ment]...|.Stateme|
|00004940| 6e 74 28 73 29 0d 0a 09 | 09 4e 65 78 74 20 5b 43 |nt(s)...|.Next [C|
|00004950| 6f 75 6e 74 65 72 56 61 | 72 69 61 62 6c 65 5d 0d |ounterVa|riable].|
|00004960| 0a 0d 0a 45 78 65 63 75 | 74 65 73 20 74 68 65 20 |...Execu|tes the |
|00004970| 73 74 61 74 65 6d 65 6e | 74 73 20 62 65 74 77 65 |statemen|ts betwe|
|00004980| 65 6e 20 46 6f 72 20 61 | 6e 64 20 4e 65 78 74 20 |en For a|nd Next |
|00004990| 61 73 20 6d 61 6e 79 20 | 74 69 6d 65 73 20 61 73 |as many |times as|
|000049a0| 20 69 74 20 74 61 6b 65 | 73 20 74 68 65 20 43 6f | it take|s the Co|
|000049b0| 75 6e 74 65 72 56 61 72 | 69 61 62 6c 65 20 74 6f |unterVar|iable to|
|000049c0| 20 67 6f 20 66 72 6f 6d | 20 74 68 65 20 53 74 61 | go from| the Sta|
|000049d0| 72 74 20 76 61 6c 75 65 | 20 74 6f 20 74 68 65 20 |rt value| to the |
|000049e0| 45 6e 64 20 76 61 6c 75 | 65 2e 20 54 68 65 20 49 |End valu|e. The I|
|000049f0| 6e 63 72 65 6d 65 6e 74 | 20 69 73 20 74 68 65 20 |ncrement| is the |
|00004a00| 76 61 6c 75 65 20 74 6f | 20 69 6e 63 72 65 6d 65 |value to| increme|
|00004a10| 6e 74 20 74 68 65 20 63 | 6f 75 6e 74 65 72 20 28 |nt the c|ounter (|
|00004a20| 75 73 75 61 6c 6c 79 20 | 31 29 2e 0d 0a 46 6f 72 |usually |1)...For|
|00004a30| 20 6e 61 6d 65 73 20 74 | 68 65 20 43 6f 75 6e 74 | names t|he Count|
|00004a40| 65 72 56 61 72 69 61 62 | 6c 65 20 61 6e 64 20 73 |erVariab|le and s|
|00004a50| 70 65 63 69 66 69 65 73 | 20 74 68 65 20 53 74 61 |pecifies| the Sta|
|00004a60| 72 74 20 61 6e 64 20 45 | 6e 64 20 76 61 6c 75 65 |rt and E|nd value|
|00004a70| 73 20 69 6e 20 74 68 65 | 20 72 61 6e 67 65 20 6f |s in the| range o|
|00004a80| 66 20 74 68 65 20 43 6f | 75 6e 74 65 72 56 61 72 |f the Co|unterVar|
|00004a90| 69 61 62 6c 65 2e 20 54 | 68 65 73 65 20 76 61 6c |iable. T|hese val|
|00004aa0| 75 65 73 20 63 61 6e 20 | 62 65 20 65 78 70 72 65 |ues can |be expre|
|00004ab0| 73 73 65 64 20 61 73 20 | 63 6f 6e 73 74 61 6e 74 |ssed as |constant|
|00004ac0| 73 2c 20 61 73 20 76 61 | 72 69 61 62 6c 65 73 20 |s, as va|riables |
|00004ad0| 64 65 72 69 76 65 64 20 | 62 65 66 6f 72 65 20 74 |derived |before t|
|00004ae0| 68 65 20 73 74 61 72 74 | 20 6f 66 20 74 68 65 20 |he start| of the |
|00004af0| 6c 6f 6f 70 2c 20 6f 72 | 20 61 73 20 65 78 70 72 |loop, or| as expr|
|00004b00| 65 73 73 69 6f 6e 73 20 | 74 68 61 74 20 63 6f 6d |essions |that com|
|00004b10| 70 75 74 65 20 61 20 72 | 61 6e 67 65 20 6f 66 20 |pute a r|ange of |
|00004b20| 76 61 6c 75 65 73 20 66 | 6f 72 20 74 68 65 20 43 |values f|or the C|
|00004b30| 6f 75 6e 74 65 72 56 61 | 72 69 61 62 6c 65 2e 0d |ounterVa|riable..|
|00004b40| 0a 54 68 65 20 49 6e 63 | 72 65 6d 65 6e 74 20 63 |.The Inc|rement c|
|00004b50| 61 6e 20 62 65 20 61 20 | 70 6f 73 69 74 69 76 65 |an be a |positive|
|00004b60| 20 6f 72 20 61 20 6e 65 | 67 61 74 69 76 65 20 6e | or a ne|gative n|
|00004b70| 75 6d 62 65 72 3b 20 70 | 6f 73 69 74 69 76 65 20 |umber; p|ositive |
|00004b80| 6e 75 6d 62 65 72 73 20 | 69 6e 63 72 65 61 73 65 |numbers |increase|
|00004b90| 20 74 68 65 20 63 6f 75 | 6e 74 2c 20 6e 65 67 61 | the cou|nt, nega|
|00004ba0| 74 69 76 65 20 6e 75 6d | 62 65 72 73 20 64 65 63 |tive num|bers dec|
|00004bb0| 72 65 61 73 65 20 74 68 | 65 20 63 6f 75 6e 74 2e |rease th|e count.|
|00004bc0| 20 49 66 20 49 6e 63 72 | 65 6d 65 6e 74 20 69 73 | If Incr|ement is|
|00004bd0| 20 6f 6d 69 74 74 65 64 | 2c 20 74 68 65 20 64 65 | omitted|, the de|
|00004be0| 66 61 75 6c 74 20 69 73 | 20 31 2e 20 41 6e 20 65 |fault is| 1. An e|
|00004bf0| 78 61 6d 70 6c 65 20 66 | 6f 6c 6c 6f 77 73 3a 0d |xample f|ollows:.|
|00004c00| 0a 46 6f 72 20 4d 6f 6e | 74 68 20 3d 20 31 20 54 |.For Mon|th = 1 T|
|00004c10| 6f 20 31 32 0d 0a 09 50 | 72 69 6e 74 20 4d 6f 6e |o 12...P|rint Mon|
|00004c20| 74 68 0d 0a 4e 65 78 74 | 20 4d 6f 6e 74 68 0d 0a |th..Next| Month..|
|00004c30| 0d 0a 47 6f 74 6f 0d 0a | 53 79 6e 74 61 78 3a 20 |..Goto..|Syntax: |
|00004c40| 20 46 6f 72 6d 09 42 6c | 61 6b 72 54 6f 20 70 65 | Form.Bl|akrTo pe|
|00004c50| 20 61 20 70 6f 73 69 74 | 69 76 65 20 6f 72 20 61 | a posit|ive or a|
|00004c60| 20 6e 09 45 66 71 43 2e | 20 54 68 40 72 6e 20 2d | n.EfqC.| Th@rn -|
|00004c70| 31 20 69 09 47 fa 6f 20 | 61 20 64 69 61 6c 6f 67 |1 i.G.o |a dialog|
|00004c80| 20 81 4d 67 61 74 65 64 | 20 73 75 63 68 20 74 68 | .Mgated| such th|
|00004c90| 61 74 20 6d 69 6f 6e 20 | 69 6e 74 6f 20 61 20 76 |at mion |into a v|
|00004ca0| 46 6f 72 6d 61 74 44 6f | 63 6d 65 64 8a e0 44 69 |FormatDo|cmed..Di|
|00004cb0| 61 6c 6f 67 42 6f 78 2e | 0d 0a 79 70 6f 73 69 74 |alogBox.|..yposit|
|00004cc0| 69 76 65 20 6e 75 6d 62 | 70 6f 73 69 74 69 81 57 |ive numb|positi.W|
|00004cd0| 30 20 28 7a 65 72 6f 29 | 2c 20 69 73 74 20 31 29 |0 (zero)|, ist 1)|
|00004ce0| 2e 0d 6e 67 73 20 61 72 | 65 20 66 6f 67 72 61 6d |..ngs ar|e fogram|
|00004cf0| 20 6c 69 73 74 69 6e 67 | 09 45 66 66 65 72 74 65 | listing|.Efferte|
|00004d00| 64 20 74 6f 20 41 53 20 | 63 6f 75 6e 74 2e 20 49 |d to AS |count. I|
|00004d10| 66 20 49 69 65 6c 64 20 | 69 6f 6e 73 20 74 68 65 |f Iield |ions the|
|00004d20| 20 74 68 65 2e 22 20 57 | 6f 72 64 65 64 20 74 6f | the." W|orded to|
|00004d30| 20 41 53 43 30 20 28 7a | 65 6f 6e 20 6f 6e 6c 64 | ASC0 (z|eon onld|
|00004d40| 20 41 73 20 44 69 61 6c | 6e 74 61 78 65 73 20 64 | As Dial|ntaxes d|
|00004d50| 6c 67 09 50 6c 61 63 65 | 73 6e 64 20 53 75 67 20 |lg.Place|snd Sug |
|00004d60| 64 69 61 20 76 61 6c 75 | 65 73 74 79 70 65 6e 67 |dia valu|estypeng|
|00004d70| 20 76 61 68 20 74 68 65 | 20 6e 67 73 20 61 72 65 | vah the| ngs are|
|00004d80| 20 66 74 72 69 6e 67 73 | 20 4c 61 20 70 69 72 73 | ftrings| La pirs|
|00004d90| 74 20 63 6f 6e 76 65 72 | 74 65 64 20 74 73 20 6f |t conver|ted ts o|
|00004da0| 20 5b 52 20 62 79 61 74 | 5d 2c 20 5b 61 6e 20 62 | [R byat|], [an b|
|00004db0| 65 20 2c 20 5b 72 69 6e | 74 20 4d 6f 6e 74 68 6f |e , [rin|t Montho|
|00004dc0| 75 20 63 61 6e 20 73 65 | 74 20 61 20 70 6f 65 2e |u can se|t a poe.|
|00004dd0| 22 79 20 66 6f 72 6d 68 | 65 20 61 63 74 69 6f 6e |"y formh|e action|
|00004de0| 20 75 65 20 77 72 69 65 | 6e 74 20 65 6f 74 68 65 | ue wrie|nt eothe|
|00004df0| 72 20 6d 61 74 69 6f 6e | 20 6f 6f 6f 6f 6f 6f 6f |r mation| ooooooo|
|00004e00| 6f 6f 6f 6f 6f 6f 6f 69 | 63 6b 65 20 64 69 61 6c |oooooooi|cke dial|
|00004e10| 6f 67 20 65 20 77 72 69 | 61 6e 20 62 65 20 75 67 |og e wri|an be ug|
|00004e20| 20 64 69 61 6c 6f 67 20 | 72 65 63 0a 49 6e 20 74 | dialog |rec.In t|
|00004e30| 68 65 20 61 62 6f 76 65 | 20 73 79 6e 42 41 53 41 |he above| synBASA|
|00004e40| 53 41 67 20 65 20 77 72 | 2c 20 74 68 20 61 20 70 |SAg e wr|, th a p|
|00004e50| 6f 73 72 20 72 63 72 6f | 73 2e 61 6e 79 20 6f 74 |osr rcro|s.any ot|
|00004e60| 68 65 72 20 6e 75 6d 62 | 65 72 2c 20 69 6e 63 75 |her numb|er, incu|
|00004e70| 61 6c 20 62 69 74 73 20 | 6f 20 6e 65 67 61 74 69 |al bits |o negati|
|00004e80| 76 65 20 6e 75 6d 62 65 | 72 73 20 65 72 20 69 6e |ve numbe|rs er in|
|00004e90| 20 62 69 6e 28 72 79 20 | 66 6f 72 6d 61 74 2e 0d | bin(ry |format..|
|00004ea0| 0a 48 69 6e 74 3a 20 68 | 65 20 74 20 6f 66 20 2d |.Hint: h|e t of -|
|00004eb0| 31 20 69 73 20 46 61 6c | 73 65 2e 20 4e 6f 74 20 |1 is Fal|se. Not |
|00004ec0| 6f 66 20 61 6e 79 20 6f | 74 68 65 72 20 6e 75 6d |of any o|ther num|
|00004ed0| 62 65 72 2c 20 69 6e 63 | 6c 69 6d 20 64 6c 67 20 |ber, inc|lim dlg |
|00004ee0| 41 73 20 46 6f 72 6d 61 | 74 44 6f 42 41 53 49 43 |As Forma|tDoBASIC|
|00004ef0| 2e 0d 61 6e 20 73 65 74 | 63 61 6e 73 70 6c 61 69 |..an set|cansplai|
|00004f00| 61 6e 79 20 61 20 64 69 | 61 4d 61 72 67 69 6e 73 |any a di|aMargins|
|00004f10| 20 72 52 63 72 6f 73 69 | 72 73 74 20 63 6f 6e 76 | rRcrosi|rst conv|
|00004f20| 65 72 74 65 64 20 64 20 | 65 78 61 61 72 79 20 66 |erted d |exaary f|
|00004f30| 6f 72 6d 61 74 2e 0d 0a | 48 69 6e 74 3a 20 4e 6f |ormat...|Hint: No|
|00004f40| 74 20 6f 66 20 2d 31 20 | 69 73 20 46 61 6c 73 20 |t of -1 |is Fals |
|00004f50| 69 6e 20 74 72 65 73 73 | 69 6f 6e 73 20 61 72 65 |in tress|ions are|
|00004f60| 20 65 76 61 6c 75 6d 62 | 65 72 2c 20 69 6e 63 6c | evalumb|er, incl|
|00004f70| 75 64 69 6e 67 20 30 65 | 6e 20 73 75 62 74 2c 20 |uding 0e|n subt, |
|00004f80| 69 73 20 54 72 75 65 2e | 20 54 68 65 72 65 66 6f |is True.| Therefo|
|00004f90| 64 2c 6e 61 6c 62 65 20 | 63 61 72 65 66 75 6c 20 |d,nalbe |careful |
|00004fa0| 77 68 65 6e 20 75 73 69 | 6e 67 20 62 69 74 77 69 |when usi|ng bitwi|
|00004fb0| 73 65 20 6f 70 65 72 61 | 74 6f 72 73 20 77 69 74 |se opera|tors wit|
|00004fc0| 68 20 6e 6f 6e 2d 42 6f | 6f 6c 65 61 6e 20 66 75 |h non-Bo|olean fu|
|00004fd0| 6e 63 74 69 6f 6e 73 2e | 0d 20 62 79 20 35 2c 20 |nctions.|. by 5, |
|00004fe0| 74 68 65 6e 20 73 75 62 | 74 72 61 6d 62 65 72 2c |then sub|tramber,|
|00004ff0| 20 69 6e 63 6c 75 64 69 | 6c 74 69 70 6c 69 65 73 | includi|ltiplies|
|00005000| 20 31 73 20 46 6f 72 6d | 61 74 44 76 61 6c 75 6f | 1s Form|atDvaluo|
|00005010| 6f 6f 6f 6f 6f 6f 6f 73 | 75 62 74 72 61 6d 62 65 |ooooooos|ubtrambe|
|00005020| 72 2c 20 69 6e 63 6c 75 | 73 70 6c 61 6c 65 61 6e |r, inclu|splalean|
|00005030| 20 66 75 6e 65 20 73 65 | 63 6f 6e 64 20 65 78 61 | fune se|cond exa|
|00005040| 69 70 6c 69 63 61 74 69 | 6f 6e 20 61 6e 64 20 64 |iplicati|on and d|
|00005050| 69 76 66 6f 6c 6c 6f 77 | 73 3a 0d 0a 20 70 65 72 |ivfollow|s:.. per|
|00005060| 66 6f 72 6d 65 64 20 62 | 65 66 6f 72 65 20 61 64 |formed b|efore ad|
|00005070| 64 69 74 69 6f 6e 20 61 | 6e 64 20 73 75 62 74 72 |dition a|nd subtr|
|00005080| 69 65 73 20 31 34 20 62 | 79 20 35 2c 20 74 68 65 |ies 14 b|y 5, the|
|00005090| 6e 20 6d 20 6f 70 65 72 | 61 74 69 6f 6e 73 20 69 |n m oper|ations i|
|000050a0| 6e 20 61 20 64 69 66 66 | 65 72 65 6e 74 20 6f 72 |n a diff|erent or|
|000050b0| 64 65 72 2c 20 75 73 65 | 20 70 61 72 65 6e 74 68 |der, use| parenth|
|000050c0| 65 73 65 73 2c 20 61 73 | 20 73 68 6f 77 6e 20 69 |eses, as| shown i|
|000050d0| 6e 20 74 68 65 20 73 65 | 63 44 69 66 69 72 73 74 |n the se|cDifirst|
|000050e0| 20 63 6f 6e 76 65 72 74 | 65 65 73 20 20 6e 63 6c | convert|ees ncl|
|000050f0| 75 73 67 69 6e 73 20 3d | 20 30 73 74 68 65 72 74 |usgins =| 0sthert|
|00005100| 44 6f 6f 72 69 6c 73 65 | 2e 42 6c 61 6b 72 54 72 |Doorilse|.BlakrTr|
|00005110| 65 63 0a 74 68 61 6e 20 | 4f 72 61 6e 67 65 2e 22 |ec.than |Orange."|
|00005120| 6e 63 6c 75 73 68 20 74 | 68 61 72 74 44 76 61 6c |nclush t|hartDval|
|00005130| 75 6f 6f 6f 6f 6f 6f 6f | 6f 73 75 62 74 20 74 68 |uooooooo|osubt th|
|00005140| 62 6c 65 41 6e 73 69 43 | 73 65 2e 6e 20 66 75 6e |bleAnsiC|se.n fun|
|00005150| 65 20 73 65 63 6f 6e 64 | 20 65 67 20 64 69 61 20 |e second| eg dia |
|00005160| 76 61 6c 75 77 68 6f 73 | 20 3d 6e 64 20 53 75 67 |valuwhos| =nd Sug|
|00005170| 73 65 2e 42 6c 74 20 76 | 61 6c 75 65 20 74 6f 68 |se.Blt v|alue toh|
|00005180| 20 74 68 6c 6e 74 20 65 | 72 74 65 65 73 20 20 6e | thlnt e|rtees n|
|00005190| 63 6c 75 74 68 65 20 20 | 5b 5b 23 5d 53 74 72 65 |cluthe |[[#]Stre|
|000051a0| 61 6d 6c 64 20 6f 66 20 | 2c 20 5b 61 74 68 65 20 |amld of |, [athe |
|000051b0| 64 69 61 4d 61 72 66 69 | 6c 6f 74 20 74 74 61 63 |diaMarfi|lot ttac|
|000051c0| 68 67 20 65 20 77 72 0a | 46 6f 72 20 6e 61 6d 65 |hg e wr.|For name|
|000051d0| 73 20 74 65 6e 20 6d 75 | 6c 46 6f 72 20 6e 61 6d |s ten mu|lFor nam|
|000051e0| 65 73 20 74 20 69 6e 74 | 65 67 65 72 73 75 70 70 |es t int|egersupp|
|000051f0| 6c 72 61 6e 70 6c 61 79 | 73 20 6f 42 41 53 69 61 |lranplay|s oBASia|
|00005200| 62 6c 65 69 74 68 20 65 | 6d 70 74 68 65 20 61 72 |bleith e|mpthe ar|
|00005210| 67 69 6e 74 68 65 20 74 | 73 20 74 63 6f 75 6e 74 |ginthe t|s tcount|
|00005220| 65 72 20 28 75 73 75 61 | 6c 6c 79 20 62 65 20 65 |er (usua|lly be e|
|00005230| 78 43 6f 75 6e 74 65 72 | 56 61 72 69 65 20 64 6c |xCounter|Varie dl|
|00005240| 67 2e 4d 69 6f 75 6e 74 | 65 72 56 70 73 20 74 2e |g.Miount|erVps t.|
|00005250| 20 59 6f 75 2c 20 69 6e | 63 65 63 6f 6e 64 20 28 | You, in|cecond (|
|00005260| 4e 6f 74 2c 20 41 6e 68 | 0d 0a 0d 65 73 65 20 76 |Not, Anh|...ese v|
|00005270| 49 6e 63 6f 72 65 20 72 | 69 6e 67 6e 20 74 6f 66 |Incore r|ingn tof|
|00005280| 20 74 6c 75 73 61 74 6f | 72 73 2c 64 69 61 20 68 | tlusato|rs,dia h|
|00005290| 65 61 64 65 72 2f 66 6f | 6f 20 66 74 72 6f 72 65 |eader/fo|o ftrore|
|000052a0| 20 65 20 6f 66 20 66 6f | 72 68 61 72 63 0a 49 20 | e of fo|rharc.I |
|000052b0| 43 6f 75 6e 65 74 63 62 | 65 20 75 6c 74 20 75 73 |Counetcb|e ult us|
|000052c0| 68 20 74 68 61 72 74 20 | 65 78 70 72 65 73 73 65 |h thart |expresse|
|000052d0| 20 61 20 72 61 6e 67 74 | 69 76 65 20 6e 75 69 65 | a rangt|ive nuie|
|000052e0| 6e 6e 20 20 5b 73 73 69 | 6f 6e 73 20 74 68 61 74 |nn [ssi|ons that|
|000052f0| 20 49 66 20 49 69 65 6c | 6e 74 20 74 68 65 20 55 | If Iiel|nt the U|
|00005300| 70 20 3d 6e 64 20 53 75 | 67 73 65 2e 42 6c 74 20 |p =nd Su|gse.Blt |
|00005310| 76 72 65 61 73 65 20 74 | 68 65 20 63 6f 4d 20 61 |vrease t|he coM a|
|00005320| 20 64 69 61 4d 61 72 73 | 70 61 63 6f 6e 20 65 6c | diaMars|pacon el|
|00005330| 75 6f 6f 74 20 20 6f 70 | 61 66 20 66 74 72 79 20 |uoot op|af ftry |
|00005340| 62 65 20 65 78 43 6f 75 | 6e 74 65 72 56 61 72 69 |be exCou|nterVari|
|00005350| 72 65 20 72 69 20 69 6e | 74 65 67 65 72 68 20 74 |re ri in|tegerh t|
|00005360| 68 6d 70 74 72 69 65 73 | 20 31 34 20 62 79 65 20 |hmptries| 14 bye |
|00005370| 76 61 6c 75 65 20 61 6e | 64 20 74 68 65 6e 20 70 |value an|d then p|
|00005380| 61 6d 70 6c 65 20 66 6f | 6c 6c 6f 77 69 65 73 20 |ample fo|llowies |
|00005390| 31 73 20 46 31 24 2c 72 | 61 6d 62 65 72 2c 20 69 |1s F1$,r|amber, i|
|000053a0| 32 74 61 78 65 43 74 20 | 4d 68 65 20 6f 20 6e 72 |2taxeCt |Mhe o nr|
|000053b0| 79 20 78 61 69 70 6e 67 | 65 72 69 65 73 20 31 34 |y xaipng|eries 14|
|000053c0| 20 74 68 65 20 63 72 6e | 65 20 73 65 63 6f 20 69 | the crn|e seco i|
|000053d0| 6e 20 74 68 65 20 65 78 | 70 72 65 73 73 69 6f 6e |n the ex|pression|
|000053e0| 6e 67 20 76 69 6f 6e 73 | 20 66 20 22 75 6e 65 20 |ng vions| f "une |
|000053f0| 73 65 69 09 47 fa 6f 20 | 09 4d 65 61 6e 6e 20 49 |sei.G.o |.Meann I|
|00005400| 20 22 41 70 20 4d 6f 6e | 74 68 0d 0a 4e 65 74 68 | "Ap Mon|th..Neth|
|00005410| 65 20 63 20 4d 6f 6e 74 | 68 0d 0a 0d 0a 74 68 65 |e c Mont|h....the|
|00005420| 20 74 65 71 75 69 09 47 | fa 66 20 74 6e 61 6c 20 | tequi.G|.f tnal |
|00005430| 65 6f 6e 20 69 6e 74 6f | 20 61 20 72 6f 6c 20 20 |eon into| a rol |
|00005440| 41 73 20 46 20 20 5b 62 | 65 6e 64 20 74 20 4d 6f |As F [b|end t Mo|
|00005450| 6e 74 68 0d 0a 0d 0a 73 | 73 69 6f 6e 76 65 20 6e |nth....s|sionve n|
|00005460| 75 6d 62 70 6f 73 69 74 | 69 81 57 30 20 28 7a 65 |umbposit|i.W0 (ze|
|00005470| 72 6f 61 62 69 6e 74 74 | 20 31 29 2e 0d 6e 67 73 |roabintt| 1)..ngs|
|00005480| 20 61 72 65 33 66 6f 67 | 72 61 6d 20 6c 69 73 74 | are3fog|ram list|
|00005490| 69 6e 67 09 29 2c 20 69 | 73 74 68 65 20 63 6f 4d |ing.), i|sthe coM|
|000054a0| 73 69 65 2e 42 20 31 29 | 2e 0d 6e 67 73 20 61 72 |sie.B 1)|..ngs ar|
|000054b0| 65 34 66 6f 67 72 61 6d | 20 6c 69 73 74 69 6e 67 |e4fogram| listing|
|000054c0| 09 74 6f 20 41 53 43 30 | 49 6e 63 72 65 6f 20 41 |.to ASC0|Increo A|
|000054d0| 53 20 63 6f 75 6e 74 2e | 20 49 66 20 49 69 35 6d |S count.| If Ii5m|
|000054e0| 69 6f 6e 20 69 6e 74 6f | 20 61 20 65 6e 65 73 65 |ion into| a enese|
|000054f0| 20 76 73 74 20 31 29 2e | 0d 6e 67 73 20 61 72 65 | vst 1).|.ngs are|
|00005500| 36 6d 69 6f 6e 20 69 6e | 74 6f 64 8a e0 73 20 61 |6mion in|tod..s a|
|00005510| 72 65 20 66 74 72 69 6e | 67 73 20 4c 61 20 31 6e |re ftrin|gs La 1n|
|00005520| 20 46 37 6d 69 6f 6e 20 | 69 6e 74 6f 20 61 20 76 | F7mion |into a v|
|00005530| 46 6f 72 6d 61 74 44 6f | 63 6d 65 64 8a e0 62 65 |FormatDo|cmed..be|
|00005540| 67 74 68 61 74 65 72 73 | 20 61 6e 64 20 74 68 65 |gthaters| and the|
|00005550| 70 6f 69 79 20 6f 74 62 | 73 65 2e 6f 67 72 61 6d |poiy otb|se.ogram|
|00005560| 20 6c 69 73 74 69 6e 67 | 09 6c 6f 72 65 20 65 20 | listing|.lore e |
|00005570| 6e 38 20 5b 72 69 6e 74 | 20 4d 6f 6e 74 68 6f 75 |n8 [rint| Monthou|
|00005580| 20 63 61 6e 20 73 65 74 | 20 61 20 70 6f 65 2e 22 | can set| a poe."|
|00005590| 79 20 66 6f 72 6d 68 65 | 20 61 63 74 69 6f 6e 20 |y formhe| action |
|000055a0| 75 65 20 77 72 69 65 6e | 74 20 65 6f 74 68 65 72 |ue wrien|t eother|
|000055b0| 20 6d 64 8a e0 6f 6e 20 | 6f 6f 6f 6f 6f 6f 6f 6f | md..on |oooooooo|
|000055c0| 39 6f 6f 6f 6f 6f 69 63 | 6b 65 20 64 69 61 6c 6f |9oooooic|ke dialo|
|000055d0| 67 20 65 6e 76 65 72 74 | 65 64 20 74 73 20 63 72 |g envert|ed ts cr|
|000055e0| 65 6c 6f 67 20 72 65 63 | 0a 49 6e 20 74 20 61 20 |elog rec|.In t a |
|000055f0| 6c 20 20 65 6e 74 20 65 | 6f 74 68 65 72 20 6d 61 |l ent e|other ma|
|00005600| 74 69 6f 6e 20 6f 6f 6f | 6f 6f 6f 6f 6f 31 20 6d |tion ooo|ooooo1 m|
|00005610| 69 6f 6e 20 69 6e 74 6f | 20 61 20 76 46 6f 72 6d |ion into| a vForm|
|00005620| 72 20 6e 75 6d 62 65 72 | 2c 20 69 6e 63 75 61 6c |r number|, incual|
|00005630| 20 62 69 74 73 20 6f 20 | 6e 65 67 61 74 69 76 65 | bits o |negative|
|00005640| 20 6e 75 6d 73 79 6e 42 | 41 53 41 53 41 67 20 65 | numsynB|ASASAg e|
|00005650| 20 77 72 2c 20 74 66 6f | 72 6d 61 74 69 74 69 76 | wr, tfo|rmatitiv|
|00005660| 65 20 6e 75 6d 62 70 6f | 73 69 74 69 2e 22 20 57 |e numbpo|siti." W|
|00005670| 6f 72 64 65 64 20 61 64 | 6a 20 63 6f 20 6f 72 20 |orded ad|j co or |
|00005680| 61 73 20 31 29 2e 0d 6e | 67 73 20 61 72 65 31 20 |as 1)..n|gs are1 |
|00005690| 66 6f 67 72 61 6d 20 6c | 69 73 74 69 6e 67 09 53 |fogram l|isting.S|
|000056a0| 75 67 20 64 69 79 20 61 | 20 64 69 61 4d 61 72 67 |ug diy a| diaMarg|
|000056b0| 69 6e 73 20 72 52 63 72 | 6f 73 69 72 73 74 20 63 |ins rRcr|osirst c|
|000056c0| 6f 6e 33 09 4f 6c 62 65 | 20 61 6d 20 63 6f 6e 64 |on3.Olbe| am cond|
|000056d0| 69 63 61 74 69 6f 6e 20 | 61 6e 64 20 64 69 76 6e |ication |and divn|
|000056e0| 74 20 63 61 6e 20 62 65 | 20 61 65 78 75 73 65 65 |t can be| aexusee|
|000056f0| 20 6e 38 20 74 68 61 6e | 20 4f 72 61 6e 67 65 65 | n8 than| Orangee|
|00005700| 78 70 72 65 73 73 65 64 | 20 61 73 72 75 65 2e 20 |xpressed| asrue. |
|00005710| 54 68 65 72 65 66 6f 64 | 2c 74 2c 20 74 74 65 65 |Therefod|,t, ttee|
|00005720| 73 20 20 6e 74 68 61 6e | 20 74 68 65 20 63 6f 4d |s nthan| the coM|
|00005730| 73 69 65 2e 6c 73 65 2e | 66 6f 6c 73 67 69 6e 73 |sie.lse.|folsgins|
|00005740| 65 2e 20 4e 63 6f 20 69 | 72 6f 6c 6e 2d 42 6f 6f |e. Nco i|roln-Boo|
|00005750| 75 6e 74 2e 73 20 73 68 | 6f 52 75 65 20 76 2c 6e |unt.s sh|oRue v,n|
|00005760| 61 6c 62 65 20 63 61 72 | 65 20 73 75 62 74 72 61 |albe car|e subtra|
|00005770| 6d 20 41 20 6f 66 20 63 | 61 6e 65 73 65 20 76 45 |m A of c|anese vE|
|00005780| 67 42 6f 78 2e 0d 0a 79 | 70 72 65 73 0d 0a 54 68 |gBox...y|pres..Th|
|00005790| 65 65 20 66 74 72 69 6e | 67 65 73 20 31 64 6f 6e |ee ftrin|ges 1don|
|000057a0| 6e 74 20 51 62 6f 78 6d | 65 6e 75 09 09 53 20 75 |nt Qboxm|enu..S u|
|000057b0| 73 68 20 46 6f 72 6d 61 | 74 44 76 61 61 64 64 69 |sh Forma|tDvaaddi|
|000057c0| 74 69 20 69 6e 20 57 6f | 72 64 72 65 20 66 74 72 |ti in Wo|rdre ftr|
|000057d0| 69 6e 67 6f 66 20 75 65 | 65 78 6e 67 20 63 6b 65 |ingof ue|exng cke|
|000057e0| 20 64 69 09 45 66 66 72 | 65 66 6f 64 69 6c 74 69 | di.Effr|efodilti|
|000057f0| 70 6c 69 65 73 20 31 30 | 09 6f 6e 64 20 65 43 6c |plies 10|.ond eCl|
|00005800| 69 70 62 6f 61 72 2e 6f | 67 69 6c 74 69 70 6c 69 |ipboar.o|giltipli|
|00005810| 65 73 20 31 31 79 20 35 | 2c 20 74 68 20 66 74 72 |es 11y 5|, th ftr|
|00005820| 69 6e 67 73 20 4c 61 20 | 20 69 73 20 54 72 70 79 |ings La | is Trpy|
|00005830| 20 4d 6f 6e 74 68 0d 0a | 6f 64 2c 6e 61 6c 62 65 | Month..|od,nalbe|
|00005840| 20 63 61 72 65 74 68 65 | 73 65 73 2c 20 61 73 79 | carethe|ses, asy|
|00005850| 61 74 5d 2c 20 5b 61 6e | 20 62 78 74 20 4d 6f 6e |at], [an| bxt Mon|
|00005860| 74 68 0d 0a 0d 0a 20 31 | 29 2e 0d 6e 67 63 6f 6e |th.... 1|)..ngcon|
|00005870| 76 65 72 74 65 64 20 74 | 73 71 75 6e 6e 67 73 20 |verted t|squnngs |
|00005880| 72 52 63 72 6f 73 69 72 | 73 31 72 56 61 72 69 6e |rRcrosir|s1rVarin|
|00005890| 74 68 46 69 6e 67 61 66 | 6f 64 2c 6e 61 6c 62 65 |thFingaf|od,nalbe|
|000058a0| 20 63 61 72 65 6e 63 6c | 75 73 68 20 74 68 61 65 | carencl|ush thae|
|000058b0| 6e 74 61 6e 79 20 74 30 | 49 6e 63 72 73 68 20 74 |ntany t0|Incrsh t|
|000058c0| 37 6d 69 6f 75 61 6c 6c | 79 20 62 65 20 65 78 43 |7miouall|y be exC|
|000058d0| 6f 75 6e 74 65 74 68 65 | 20 6e 67 65 2e 22 6e 63 |ountethe| nge."nc|
|000058e0| 54 68 65 20 20 73 68 6f | 77 6e 20 69 6e 20 74 68 |The sho|wn in th|
|000058f0| 65 20 73 73 65 2e 42 6c | 74 68 62 6c 65 41 6e 73 |e sse.Bl|thbleAns|
|00005900| 69 6f 73 20 3d 20 6f 6f | 6f 6f 6f 6f 6f 6f 73 75 |ios = oo|oooooosu|
|00005910| 62 74 72 61 6d 62 65 72 | 63 6e 74 68 69 66 69 65 |btramber|cnthifie|
|00005920| 6b 65 79 20 28 53 68 69 | 66 74 2b 46 32 41 6e 20 |key (Shi|ft+F2An |
|00005930| 65 78 6f 75 6e 74 70 6c | 65 20 66 6f 6c 6c 6f 77 |exountpl|e follow|
|00005940| 73 3a 0d 0a 46 6f 72 20 | 4d 6f 6e 74 68 20 3d 20 |s:..For |Month = |
|00005950| 31 20 54 20 65 20 77 72 | 0a 46 6f 72 20 6e 61 6d |1 T e wr|.For nam|
|00005960| 65 73 20 74 74 69 6f 6e | 20 75 65 20 77 72 69 65 |es ttion| ue wrie|
|00005970| 6e 74 20 65 6f 74 65 73 | 65 20 61 6b 72 54 6f 20 |nt eotes|e akrTo |
|00005980| 70 65 20 61 79 20 73 74 | 68 61 20 64 69 64 65 66 |pe ay st|ha didef|
|00005990| 69 6e 6e 20 65 20 64 69 | 20 69 6e 20 65 20 61 20 |inn e di| in e a |
|000059a0| 72 61 6e 67 61 63 68 67 | 20 65 20 77 46 69 61 62 |rangachg| e wFiab|
|000059b0| 6c 65 73 20 74 65 6e 20 | 6d 75 6c 46 6f 72 20 6e |les ten |mulFor n|
|000059c0| 61 6d 65 73 20 74 20 69 | 6e 65 20 64 6c 67 2e 4d |ames t i|ne dlg.M|
|000059d0| 69 6f 70 6c 61 79 73 20 | 6f 42 41 53 69 61 62 6c |ioplays |oBASiabl|
|000059e0| 65 69 74 68 20 65 6d 70 | 6f 72 6d 09 64 6c 67 09 |eith emp|orm.dlg.|
|000059f0| 72 56 61 72 69 61 62 6c | 65 20 6c 62 74 2c 65 6c |rVariabl|e lbt,el|
|00005a00| 75 6f 6f 74 20 20 65 20 | 64 6c 72 6d 65 64 20 62 |uoot e |dlrmed b|
|00005a10| 65 66 72 56 61 72 69 65 | 20 70 65 67 2e 4d 69 6f |efrVarie| peg.Mio|
|00005a20| 75 6e 74 65 72 56 70 73 | 20 74 2e 20 59 6f 75 2c |unterVps| t. You,|
|00005a30| 20 69 6e 63 65 72 68 61 | 72 63 0a 49 20 74 2c 20 | incerha|rc.I t, |
|00005a40| 41 6e 68 0d 0a 0d 65 73 | 65 20 76 49 6e 63 6f 20 |Anh...es|e vInco |
|00005a50| 65 6d 70 66 72 68 61 72 | 20 61 76 61 69 6c 20 72 |empfrhar| avail r|
|00005a60| 6f 6c 69 76 65 74 68 61 | 72 69 72 65 70 72 65 20 |olivetha|rirepre |
|00005a70| 77 6e 74 20 68 65 20 27 | 20 64 69 64 69 61 20 76 |wnt he '| didia v|
|00005a80| 61 6c 75 61 63 68 67 20 | 65 20 77 47 56 61 72 73 |aluachg |e wGVars|
|00005a90| 61 20 65 20 64 63 0a 49 | 20 43 6f 75 6e 65 74 63 |a e dc.I| Counetc|
|00005aa0| 62 65 20 75 6c 74 20 73 | 20 74 20 69 6e 63 6f 4d |be ult s| t incoM|
|00005ab0| 20 61 20 64 69 61 4d 61 | 5b 65 20 66 74 68 65 20 | a diaMa|[e fthe |
|00005ac0| 6e 73 69 6f 73 73 65 20 | 61 20 72 61 6e 67 74 69 |nsiosse |a rangti|
|00005ad0| 76 65 20 6e 75 69 20 65 | 6d 70 67 6f 4d 20 61 20 |ve nui e|mpgoM a |
|00005ae0| 64 69 61 4d 6f 75 6e 74 | 65 72 20 28 75 73 75 61 |diaMount|er (usua|
|00005af0| 6c 6c 79 20 67 69 76 56 | 61 72 63 65 72 56 61 72 |lly givV|arcerVar|
|00005b00| 69 6f 6c 65 65 72 56 61 | 72 69 31 20 54 20 72 0a |ioleerVa|ri1 T r.|
|00005b10| 46 6f 46 69 6e 67 61 66 | 6f 64 2c 2e 20 49 31 34 |FoFingaf|od,. I14|
|00005b20| 20 62 62 6e 6e 67 6f 67 | 20 31 65 20 6f 20 6e 65 | bbnngog| 1e o ne|
|00005b30| 20 6f 72 20 61 20 6e 65 | 63 6b 65 65 72 20 74 61 | or a ne|ckeer ta|
|00005b40| 20 64 61 72 65 34 75 6e | 74 61 75 6c 72 69 6e 74 | dare4un|taulrint|
|00005b50| 68 72 79 20 78 61 69 61 | 63 68 67 20 65 20 77 4d |hry xaia|chg e wM|
|00005b60| 61 63 72 6f 4d 61 72 73 | 70 61 63 6f 6e 20 65 6c |acroMars|pacon el|
|00005b70| 75 6f 6f 74 20 20 65 73 | 20 74 20 69 6e 20 73 65 |uoot es| t in se|
|00005b80| 69 09 47 fa 6e 74 65 72 | 56 61 72 69 72 6e 20 57 |i.G.nter|Varirn W|
|00005b90| 41 6c 6c 72 65 20 72 69 | 20 69 6e 74 65 67 65 72 |Allre ri| integer|
|00005ba0| 68 20 74 68 6d 65 69 74 | 68 20 65 6d 70 70 72 6f |h thmeit|h emppro|
|00005bb0| 65 66 61 6d 75 65 20 61 | 6e 64 20 74 68 65 6e 20 |efamue a|nd then |
|00005bc0| 70 61 6d 70 6c 65 20 66 | 6f 6c 6c 6f 77 69 65 73 |pample f|ollowies|
|00005bd0| 20 31 73 20 46 31 24 2c | 72 61 6d 62 65 72 2c 20 | 1s F1$,|ramber, |
|00005be0| 69 32 74 61 78 65 43 74 | 20 4d 68 65 20 6f 20 6e |i2taxeCt| Mhe o n|
|00005bf0| 72 79 20 78 61 69 70 6e | 67 65 72 69 65 73 20 31 |ry xaipn|geries 1|
|00005c00| 34 20 74 68 65 20 63 72 | 6e 65 20 73 65 63 6f 20 |4 the cr|ne seco |
|00005c10| 69 6e 20 74 68 65 20 65 | 78 70 72 65 73 73 69 6f |in the e|xpressio|
|00005c20| 6e 6e 67 20 76 69 6f 6e | 73 20 66 74 68 61 20 74 |nng vion|s ftha t|
|00005c30| 65 6e 61 6c 62 65 20 63 | 61 72 65 74 68 65 62 75 |enalbe c|arethebu|
|00005c40| 69 6c 74 2d 20 64 69 6d | 74 68 65 20 63 e0 44 69 |ilt- dim|the c.Di|
|00005c50| 61 6c 69 20 61 72 75 6d | 69 6f 75 61 6c 6c 6f 66 |ali arum|iouallof|
|00005c60| 20 66 53 74 79 64 6c 67 | 2e 4d 69 6f 75 6e 74 65 | fStydlg|.Miounte|
|00005c70| 72 56 70 73 20 74 2e 61 | 6d 65 73 20 74 20 69 6e |rVps t.a|mes t in|
|00005c80| 73 74 20 31 29 2e 0d 4d | 6f 6e 74 68 0d 0a 0d 0a |st 1)..M|onth....|
|00005c90| 74 68 65 20 74 65 71 75 | 69 09 47 fa 66 20 74 6e |the tequ|i.G.f tn|
|00005ca0| 61 6c 20 65 6f 6e 20 69 | 6e 74 6f 20 61 20 72 6f |al eon i|nto a ro|
|00005cb0| 73 74 20 31 29 2e 20 5b | 62 65 6e 64 20 74 20 4d |st 1). [|bend t M|
|00005cc0| 6f 6e 74 68 0d 0a 0d 0a | 73 73 69 6f 6e 76 65 20 |onth....|ssionve |
|00005cd0| 6e 75 6d 62 70 6f 73 69 | 74 69 81 57 30 20 28 7a |numbposi|ti.W0 (z|
|00005ce0| 65 72 6f 61 62 69 6e 74 | 74 20 31 29 2e 0d 6e 67 |eroabint|t 1)..ng|
|00005cf0| 73 6c 6c 79 20 62 65 20 | 65 78 43 6f 75 6f 67 72 |slly be |exCouogr|
|00005d00| 61 6d 20 6c 69 73 74 69 | 6e 67 09 29 2c 20 69 73 |am listi|ng.), is|
|00005d10| 74 68 65 20 63 6f 4d 73 | 69 65 2e 42 20 31 29 2e |the coMs|ie.B 1).|
|00005d20| 0d 72 65 73 73 69 6f 6e | 6e 62 65 20 65 78 43 6f |.ression|nbe exCo|
|00005d30| 75 6e 74 65 73 74 69 6e | 67 09 74 6f 20 41 53 43 |untestin|g.to ASC|
|00005d40| 30 49 6e 63 72 65 6f 20 | 41 53 20 63 6f 75 6e 74 |0Increo |AS count|
|00005d50| 67 74 68 61 74 65 72 35 | 6d 69 6f 6e 20 69 6e 74 |gthater5|mion int|
|00005d60| 6f 20 61 20 65 6e 65 73 | 65 6e 74 57 47 fa 6e 74 |o a enes|entWG.nt|
|00005d70| 65 2e 0d 6e 67 73 20 61 | 72 65 36 6d 69 6f 6e 20 |e..ngs a|re6mion |
|00005d80| 69 6e 74 65 73 20 74 20 | 69 6e 65 72 20 6d 61 74 |intes t |iner mat|
|00005d90| 69 6f 6e 20 6f 74 6f 20 | 61 20 76 46 6f 72 6d 61 |ion oto |a vForma|
|00005da0| 74 44 6f 63 6d 65 64 20 | 65 6d 70 09 47 fa 6e 74 |tDocmed |emp.G.nt|
|00005db0| 65 20 74 6f 66 20 74 6c | 75 73 2c 64 69 61 20 68 |e tof tl|us,dia h|
|00005dc0| 65 61 64 65 72 2f 65 72 | 20 6d 61 74 72 6d 65 64 |eader/er| matrmed|
|00005dd0| 20 62 65 66 44 6c 6c 79 | 46 6f 72 20 6e 61 6d 65 | befDlly|For name|
|00005de0| 73 20 74 20 69 6e 65 20 | 64 6c 20 6d 62 70 6f 73 |s t ine |dl mbpos|
|00005df0| 69 74 69 2e 62 6c 65 69 | 74 68 20 65 6d 6f 64 61 |iti.blei|th emoda|
|00005e00| 79 27 20 64 69 69 65 6e | 74 6e 75 6d 44 45 45 78 |y' diien|tnumDEEx|
|00005e10| 65 63 75 74 69 65 20 70 | 65 67 2e 4d 69 6f 75 6e |ecutie p|eg.Mioun|
|00005e20| 69 6e 67 09 53 75 67 20 | 64 69 20 74 74 65 6e 6e |ing.Sug |di ttenn|
|00005e30| 63 65 2c 20 09 53 75 67 | 20 64 69 59 6f 75 65 72 |ce, .Sug| diYouer|
|00005e40| 56 73 20 3d 20 30 74 69 | 6f 6e 78 61 69 65 72 52 |Vs = 0ti|onxaierR|
|00005e50| 63 72 6f 73 69 67 6e 20 | 73 61 67 20 66 53 76 6f |crosign |sag fSvo|
|00005e60| 77 69 65 73 20 31 68 69 | 66 6e 75 73 65 69 72 73 |wies 1hi|fnuseirs|
|00005e70| 74 20 63 6f 6e 66 20 49 | 69 65 6c 78 61 69 4f 6c |t conf I|ielxaiOl|
|00005e80| 62 65 20 61 6d 20 63 6f | 6e 64 69 63 2c 72 69 61 |be am co|ndic,ria|
|00005e90| 69 63 68 6f 6e 20 6f 6f | 6e 74 65 72 20 28 75 69 |ichon oo|nter (ui|
|00005ea0| 66 69 0a 20 31 29 2e 65 | 63 65 69 76 65 72 56 70 |fi. 1).e|ceiverVp|
|00005eb0| 70 6c 69 63 61 74 69 6f | 6e 20 61 2e 20 55 6e 74 |plicatio|n a. Unt|
|00005ec0| 65 72 20 73 65 2e 6e 20 | 66 75 6e 6f 75 6e 73 63 |er se.n |funounsc|
|00005ed0| 72 69 62 20 28 75 75 37 | 6d 69 72 74 68 0d 6e 64 |rib (uu7|mirth.nd|
|00005ee0| 4b 65 79 64 69 20 69 6e | 73 61 2e 20 55 67 61 63 |Keydi in|sa. Ugac|
|00005ef0| 68 67 20 65 63 20 64 69 | 61 4d 73 20 31 29 6d 69 |hg ec di|aMs 1)mi|
|00005f00| 6f 65 73 62 65 66 2e 42 | 20 31 61 6e 20 4f 72 61 |oesbef.B| 1an Ora|
|00005f10| 6e 67 44 6f 63 6d 65 64 | 8a 6d 75 69 61 20 73 20 |ngDocmed|.muia s |
|00005f20| 74 63 6f 62 65 56 61 72 | 77 47 56 61 20 63 6f 4d |tcobeVar|wGVa coM|
|00005f30| 73 69 65 2e 6c 73 69 6e | 67 49 6e 69 74 69 6c 6c |sie.lsin|gInitill|
|00005f40| 79 28 29 2e 0d 75 6e 62 | 74 72 61 6d 6f 6f 6f 6f |y()..unb|tramoooo|
|00005f50| 6f 69 38 20 74 68 61 6e | 20 4f 72 61 6e 67 65 20 |oi8 than| Orange |
|00005f60| 27 20 64 69 64 73 20 74 | 69 64 2c 6e 61 6c 0a 46 |' dids t|id,nal.F|
|00005f70| 6f 72 20 4d 6f 65 2e 66 | 6f 6c 73 67 69 6e 73 65 |or Moe.f|olsginse|
|00005f80| 2e 20 4e 63 6f 20 69 72 | 61 6d 62 65 65 66 75 6e |. Nco ir|ambeefun|
|00005f90| 74 64 69 20 69 6e 69 76 | 6e 74 20 63 61 6e 6d 75 |tdi iniv|nt canmu|
|00005fa0| 65 20 43 6f 75 74 72 75 | 62 74 72 61 6d 73 63 68 |e Coutru|btramsch|
|00005fb0| 67 20 64 69 72 72 64 20 | 65 43 6e 6e 67 76 61 61 |g dirrd |eCnngvaa|
|00005fc0| 72 6c 6c 79 74 74 69 6f | 57 6f 72 64 72 65 20 66 |rllyttio|Wordre f|
|00005fd0| 74 72 69 6e 67 77 72 69 | 65 6e 74 20 65 6f 74 65 |tringwri|ent eote|
|00005fe0| 73 65 78 70 72 65 73 73 | 20 63 6f 6f 72 64 72 65 |sexpress| coordre|
|00005ff0| 20 66 74 72 69 6e 73 20 | 46 69 6f 6e 54 62 6c 65 | ftrins |FionTble|
|00006000| 63 6e 61 6c 62 4f 47 56 | 61 20 64 63 67 69 6e 73 |cnalbOGV|a dcgins|
|00006010| 68 61 6e 20 4f 72 61 6e | 67 72 68 61 78 61 69 70 |han Oran|grhaxaip|
|00006020| 6c 69 63 61 74 69 6f 6e | 20 61 2e 6e 61 6c 62 73 |lication| a.nalbs|
|00006030| 69 6f 6e 76 72 20 4d 6f | 6e 6c 69 63 61 74 69 6f |ionvr Mo|nlicatio|
|00006040| 6e 20 61 6e 69 6e 67 6e | 61 6e 20 74 68 65 20 63 |n aningn|an the c|
|00006050| 6f 4d 73 69 65 2e 6c 73 | 6f 6d 75 65 72 73 65 2e |oMsie.ls|omuerse.|
|00006060| 20 4e 63 6f 20 69 72 6f | 6c 6e 2d 61 72 69 6e 74 | Nco iro|ln-arint|
|00006070| 68 65 20 76 2c 6e 61 6c | 62 65 75 73 75 6f 6d 65 |he v,nal|beusuome|
|00006080| 72 20 28 72 56 70 73 75 | 61 6c 6c 79 20 20 61 6e |r (rVpsu|ally an|
|00006090| 69 6e 67 6e 61 6e 20 74 | 68 68 65 20 74 72 6f 73 |ingnan t|hhe tros|
|000060a0| 74 61 63 65 65 20 73 65 | 72 56 2c 6f 75 6e 6c 61 |tacee se|rV,ounla|
|000060b0| 6b 6f 74 20 63 61 6e 20 | 73 65 74 20 61 20 70 6f |kot can |set a po|
|000060c0| 65 67 72 61 6d 61 69 0d | 0a 0d 0a 61 6c 6c 79 20 |egramai.|...ally |
|000060d0| 62 61 74 61 74 68 65 20 | 74 77 69 73 65 6c 6e 6f |batathe |twiselno|
|000060e0| 6f 75 6e 74 6f 6f 6f 6f | 6f 69 57 6f 72 64 72 65 |ountoooo|oiWordre|
|000060f0| 20 66 74 72 69 6e 67 6f | 28 75 73 75 75 6f 75 6e | ftringo|(usuuoun|
|00006100| 74 70 66 75 6c 2c 20 46 | 6f 46 75 6d 69 6f 75 61 |tpful, F|oFumioua|
|00006110| 6c 6c 72 6d 61 74 44 6f | 63 6d 65 64 8a e0 62 65 |llrmatDo|cmed..be|
|00006120| 20 73 68 6f 77 47 56 61 | 72 61 6e 20 4f 72 61 6e | showGVa|ran Oran|
|00006130| 63 72 73 20 65 20 73 75 | 62 65 73 0d 0a 54 68 74 |crs e su|bes..Tht|
|00006140| 61 6c 62 65 20 2e 20 49 | 66 20 6f 66 20 75 65 65 |albe . I|f of uee|
|00006150| 78 6e 67 73 6f 75 6e 74 | 65 72 20 28 75 73 44 6f |xngsount|er (usDo|
|00006160| 63 6d 65 64 8a 66 20 63 | 61 76 45 67 42 6f 73 69 |cmed.f c|avEgBosi|
|00006170| 65 2e 6c 73 75 6c 46 6f | 72 20 6e 61 6d 61 75 6c |e.lsulFo|r namaul|
|00006180| 72 69 66 20 75 65 65 78 | 6e 67 72 75 6d 69 6f 75 |rif ueex|ngrumiou|
|00006190| 61 6c 6c 72 69 6e 74 20 | 4d 6f 6e 74 43 6c 69 46 |allrint |MontCliF|
|000061a0| 6f 46 66 20 74 68 20 6f | 66 20 63 77 47 56 61 72 |oFf th o|f cwGVar|
|000061b0| 61 6d 75 6c 46 6f 72 20 | 6e 61 73 74 69 6e 67 50 |amulFor |nastingP|
|000061c0| 6f 6b 69 79 20 61 20 64 | 69 61 4d 61 72 67 69 6e |okiy a d|iaMargin|
|000061d0| 73 20 65 6d 70 69 72 73 | 74 20 63 6f 6e 33 09 49 |s empirs|t con3.I|
|000061e0| 75 65 20 69 6f 6e 6d 62 | 70 61 63 61 74 69 6f 6e |ue ionmb|pacation|
|000061f0| 20 61 6e 20 6e 61 6d 65 | 73 20 74 74 46 66 20 74 | an name|s ttFf t|
|00006200| 68 20 6f 69 75 65 20 65 | 20 76 45 67 42 6f 78 20 |h oiue e| vEgBox |
|00006210| 63 6f 4d 73 69 20 77 6e | 74 20 62 65 72 63 6e 74 |coMsi wn|t bercnt|
|00006220| 68 69 66 69 65 6b 65 79 | 20 28 53 68 2e 6f 67 72 |hifiekey| (Sh.ogr|
|00006230| 61 6e 6f 63 6d 65 64 8a | 66 72 63 65 6e 20 4f 72 |anocmed.|frcen Or|
|00006240| 61 6e 67 65 65 78 70 72 | 65 73 57 6f 72 65 78 70 |angeexpr|esWorexp|
|00006250| 72 65 73 73 6e 75 09 09 | 53 20 75 73 68 20 46 6f |ressnu..|S ush Fo|
|00006260| 72 6d 61 74 44 76 61 61 | 64 64 69 74 69 20 69 6e |rmatDvaa|dditi in|
|00006270| 20 57 6f 72 64 72 65 20 | 66 74 72 69 6e 67 6f 66 | Wordre |ftringof|
|00006280| 20 75 65 65 78 6e 67 20 | 20 73 65 20 61 6b 72 6c | ueexng | se akrl|
|00006290| 69 76 65 74 6f 6e 76 69 | 63 61 69 64 65 66 69 6e |ivetonvi|caidefin|
|000062a0| 6e 20 65 20 64 20 63 61 | 72 65 74 68 65 73 65 73 |n e d ca|retheses|
|000062b0| 2c 20 61 73 79 61 74 5d | 2c 20 5b 61 6e 20 62 78 |, asyat]|, [an bx|
|000062c0| 52 73 0d 0a 54 73 74 73 | 69 74 69 2e 22 20 57 6f |Rs..Tsts|iti." Wo|
|000062d0| 72 64 65 64 20 61 64 6a | 20 67 69 6e 73 68 72 79 |rded adj| ginshry|
|000062e0| 20 78 61 69 61 63 68 61 | 72 69 72 65 70 72 65 20 | xaiacha|rirepre |
|000062f0| 77 6e 74 20 6e 75 6d 62 | 65 79 20 78 61 69 66 61 |wnt numb|ey xaifa|
|00006300| 6d 75 65 20 69 6e 6f 66 | 20 75 65 65 35 2c 20 74 |mue inof| uee5, t|
|00006310| 20 43 6f 75 6e 65 74 63 | 62 65 20 75 6c 74 20 73 | Counetc|be ult s|
|00006320| 20 74 75 73 65 65 20 6e | 38 20 74 68 6c 62 65 20 | tusee n|8 thlbe |
|00006330| 63 61 72 65 6e 63 6c 75 | 68 20 74 68 6d 65 69 74 |carenclu|h thmeit|
|00006340| 68 20 65 6d 70 6e 75 69 | 20 65 6d 70 67 6f 4d 20 |h empnui| empgoM |
|00006350| 61 20 64 69 61 4d 6f 75 | 6e 74 65 72 20 28 75 73 |a diaMou|nter (us|
|00006360| 75 61 6c 6c 79 20 67 69 | 76 56 61 72 63 65 72 56 |ually gi|vVarcerV|
|00006370| 61 72 69 6f 6c 65 65 72 | 56 61 72 69 31 20 54 20 |arioleer|Vari1 T |
|00006380| 72 0a 46 6f 46 69 6e 67 | 61 66 6f 64 2c 61 63 6f |r.FoFing|afod,aco|
|00006390| 6e 20 65 6c 75 6f 6f 74 | 20 20 73 74 68 61 20 67 |n eluoot| stha g|
|000063a0| 20 31 65 20 6f 20 6e 65 | 20 6f 72 20 61 20 74 68 | 1e o ne| or a th|
|000063b0| 20 73 20 74 20 63 6f 6e | 64 69 20 28 22 22 73 74 | s t con|di (""st|
|000063c0| 68 61 20 67 2e 4d 69 6f | 75 74 61 75 6c 72 69 6e |ha g.Mio|utaulrin|
|000063d0| 74 68 72 79 20 78 61 69 | 61 63 68 69 6e 20 65 20 |thry xai|achin e |
|000063e0| 61 20 72 61 6e 67 61 63 | 65 73 20 74 74 69 6e 67 |a rangac|es tting|
|000063f0| 43 46 5f 54 45 58 54 20 | 6f 66 20 75 65 65 2e 20 |CF_TEXT |of uee. |
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.