home *** CD-ROM | disk | FTP | other *** search
Unknown | 1997-10-10 | 4.2 KB |
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was not able to be converted.
This format is not currently supported by dexvert.
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| file
| data
| default
| |
100%
| gt2
| Kopftext: 'HELP('
| default (weak)
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 48 45 4c 50 28 00 00 00 | fa 00 00 00 ff ff ff ff |HELP(...|........|
|00000010| 2c 00 00 00 00 fd ff ff | 00 00 00 00 80 00 00 00 |,.......|........|
|00000020| 00 01 00 00 00 00 00 00 | 24 00 00 00 44 49 52 24 |........|$...DIR$|
|00000030| 88 00 00 00 88 00 00 00 | b4 00 00 00 47 fd ff ff |........|....G...|
|00000040| 5a c4 68 b5 47 01 00 00 | 13 00 00 00 00 00 00 00 |Z.h.G...|........|
|00000050| 21 52 6f 6f 74 00 00 00 | fc 01 00 00 47 fd ff ff |!Root...|....G...|
|00000060| e2 9b b4 98 f4 03 00 00 | 13 00 00 00 00 00 00 00 |........|........|
|00000070| 69 6e 66 6f 00 00 00 00 | f0 05 00 00 47 fd ff ff |info....|....G...|
|00000080| dc 51 06 d7 5c 00 00 00 | 13 01 00 00 00 00 00 00 |.Q..\...|........|
|00000090| 46 4e 00 00 04 08 00 00 | 47 fd ff ff 13 52 06 d7 |FN......|G....R..|
|000000a0| 4c 01 00 00 13 01 00 00 | 00 00 00 00 50 52 4f 43 |L.......|....PROC|
|000000b0| 00 00 00 00 44 41 54 41 | 47 01 00 00 44 79 6e 4d |....DATA|G...DynM|
|000000c0| 65 6e 75 4c 69 62 20 72 | 6f 75 74 69 6e 65 73 0a |enuLib r|outines.|
|000000d0| 23 50 61 72 65 6e 74 20 | 53 74 72 6f 6e 67 48 65 |#Parent |StrongHe|
|000000e0| 6c 70 3a 21 4d 65 6e 75 | 0a 23 54 61 62 6c 65 20 |lp:!Menu|.#Table |
|000000f0| 43 6f 6c 75 6d 6e 73 20 | 32 0a 3c 50 52 4f 43 69 |Columns |2.<PROCi|
|00000100| 6e 69 74 5f 64 79 6e 6d | 65 6e 75 3e 0a 3c 50 52 |nit_dynm|enu>.<PR|
|00000110| 4f 43 64 79 6e 6d 65 6e | 75 5f 6d 65 6e 75 3e 0a |OCdynmen|u_menu>.|
|00000120| 3c 50 52 4f 43 64 79 6e | 6d 65 6e 75 5f 64 65 73 |<PROCdyn|menu_des|
|00000130| 74 72 6f 79 3e 0a 3c 50 | 52 4f 43 64 79 6e 6d 65 |troy>.<P|ROCdynme|
|00000140| 6e 75 5f 73 75 62 6d 65 | 6e 75 3e 0a 3c 46 4e 64 |nu_subme|nu>.<FNd|
|00000150| 79 6e 6d 65 6e 75 5f 65 | 6e 64 3e 0a 3c 50 52 4f |ynmenu_e|nd>.<PRO|
|00000160| 43 64 79 6e 6d 65 6e 75 | 5f 61 64 64 3e 0a 3c 50 |Cdynmenu|_add>.<P|
|00000170| 52 4f 43 64 79 6e 6d 65 | 6e 75 5f 61 74 74 61 63 |ROCdynme|nu_attac|
|00000180| 68 3e 0a 3c 50 52 4f 43 | 64 79 6e 6d 65 6e 75 5f |h>.<PROC|dynmenu_|
|00000190| 6c 61 73 74 66 6c 61 67 | 73 3e 0a 3c 46 4e 64 79 |lastflag|s>.<FNdy|
|000001a0| 6e 6d 65 6e 75 5f 70 72 | 65 73 65 72 76 65 3e 0a |nmenu_pr|eserve>.|
|000001b0| 3c 50 52 4f 43 64 79 6e | 6d 65 6e 75 5f 72 65 73 |<PROCdyn|menu_res|
|000001c0| 74 6f 72 65 3e 0a 23 45 | 6e 64 54 61 62 6c 65 0a |tore>.#E|ndTable.|
|000001d0| 23 49 6e 64 65 6e 74 0a | 0a 3c 49 6e 66 6f 72 6d |#Indent.|.<Inform|
|000001e0| 61 74 69 6f 6e 3d 3e 69 | 6e 66 6f 3e 20 6f 6e 20 |ation=>i|nfo> on |
|000001f0| 44 79 6e 4d 65 6e 75 4c | 69 62 0a 00 44 41 54 41 |DynMenuL|ib..DATA|
|00000200| f4 03 00 00 44 79 6e 4d | 65 6e 75 4c 69 62 20 68 |....DynM|enuLib h|
|00000210| 65 6c 70 0a 23 41 6c 69 | 67 6e 20 43 65 6e 74 72 |elp.#Ali|gn Centr|
|00000220| 65 0a 7b 66 68 33 7d 4a | 46 53 68 61 72 65 64 20 |e.{fh3}J|FShared |
|00000230| 44 79 6e 4d 65 6e 75 4c | 69 62 20 76 31 2e 30 31 |DynMenuL|ib v1.01|
|00000240| 7b 66 7d 0a 23 41 6c 69 | 67 6e 20 4c 65 66 74 0a |{f}.#Ali|gn Left.|
|00000250| 0a 54 68 65 20 44 79 6e | 61 6d 69 63 20 4d 65 6e |.The Dyn|amic Men|
|00000260| 75 20 4c 69 62 72 61 72 | 79 20 69 73 20 61 20 42 |u Librar|y is a B|
|00000270| 61 73 69 63 20 4c 69 62 | 72 61 72 79 20 66 69 6c |asic Lib|rary fil|
|00000280| 65 20 77 68 69 63 68 20 | 61 6c 6c 6f 77 73 20 79 |e which |allows y|
|00000290| 6f 75 20 74 6f 20 63 72 | 65 61 74 65 20 61 6e 64 |ou to cr|eate and|
|000002a0| 20 6d 61 6e 61 67 65 20 | 6d 65 6e 75 73 20 27 6f | manage |menus 'o|
|000002b0| 6e 20 74 68 65 20 66 6c | 79 27 2e 20 49 6e 20 63 |n the fl|y'. In c|
|000002c0| 6f 6e 6a 75 6e 63 74 69 | 6f 6e 20 77 69 74 68 20 |onjuncti|on with |
|000002d0| 74 68 65 20 57 69 6d 70 | 4c 69 62 2c 20 48 65 61 |the Wimp|Lib, Hea|
|000002e0| 70 4c 69 62 20 61 6e 64 | 20 4a 46 53 68 61 72 65 |pLib and| JFShare|
|000002f0| 64 20 73 6b 65 6c 65 74 | 6f 6e 20 61 70 70 6c 69 |d skelet|on appli|
|00000300| 63 61 74 69 6f 6e 20 74 | 68 69 73 20 61 6c 6c 6f |cation t|his allo|
|00000310| 77 73 20 79 6f 75 20 74 | 6f 20 63 72 65 61 74 65 |ws you t|o create|
|00000320| 20 61 70 70 6c 69 63 61 | 74 69 6f 6e 73 20 77 68 | applica|tions wh|
|00000330| 69 63 68 20 68 61 76 65 | 20 63 68 61 6e 67 69 6e |ich have| changin|
|00000340| 67 20 6d 65 6e 75 73 20 | 64 65 70 65 6e 64 69 6e |g menus |dependin|
|00000350| 67 20 6f 6e 20 74 68 65 | 69 72 20 63 6f 6e 74 65 |g on the|ir conte|
|00000360| 78 74 2c 20 65 67 20 68 | 69 73 74 6f 72 79 20 6c |xt, eg h|istory l|
|00000370| 69 73 74 73 2e 20 54 68 | 69 73 20 68 65 6c 70 20 |ists. Th|is help |
|00000380| 66 69 6c 65 20 64 65 74 | 61 69 6c 73 20 74 68 65 |file det|ails the|
|00000390| 20 72 6f 75 74 69 6e 65 | 73 20 70 72 6f 76 69 64 | routine|s provid|
|000003a0| 65 64 20 69 6e 20 44 79 | 6e 4d 65 6e 75 4c 69 62 |ed in Dy|nMenuLib|
|000003b0| 2e 0a 0a 54 68 65 20 44 | 79 6e 61 6d 69 63 20 4d |...The D|ynamic M|
|000003c0| 65 6e 75 20 4c 69 62 72 | 61 72 79 20 69 73 20 72 |enu Libr|ary is r|
|000003d0| 65 66 65 72 65 6e 63 65 | 64 20 62 79 20 5c 3c 44 |eference|d by \<D|
|000003e0| 79 6e 4d 65 6e 75 4c 69 | 62 72 61 72 79 24 46 69 |ynMenuLi|brary$Fi|
|000003f0| 6c 65 3e 20 61 6e 64 20 | 73 68 6f 75 6c 64 20 62 |le> and |should b|
|00000400| 65 20 6c 6f 61 64 65 64 | 20 77 69 74 68 20 3a 0a |e loaded| with :.|
|00000410| 7b 66 43 6f 64 65 7d 4c | 49 42 52 41 52 59 20 22 |{fCode}L|IBRARY "|
|00000420| 5c 3c 44 79 6e 4d 65 6e | 75 4c 69 62 72 61 72 79 |\<DynMen|uLibrary|
|00000430| 24 46 69 6c 65 3e 22 3a | 50 52 4f 43 69 6e 69 74 |$File>":|PROCinit|
|00000440| 5f 64 79 6e 6d 65 6e 75 | 7b 66 7d 0a 0a 48 6f 77 |_dynmenu|{f}..How|
|00000450| 65 76 65 72 2c 20 79 6f | 75 20 77 69 6c 6c 20 61 |ever, yo|u will a|
|00000460| 6c 73 6f 20 72 65 71 75 | 69 72 65 20 74 68 65 20 |lso requ|ire the |
|00000470| 48 65 61 70 20 4c 69 62 | 72 61 72 79 20 61 73 20 |Heap Lib|rary as |
|00000480| 77 65 6c 6c 2c 20 73 6f | 20 79 6f 75 20 77 69 6c |well, so| you wil|
|00000490| 6c 20 70 72 6f 62 61 62 | 6c 79 20 68 61 76 65 20 |l probab|ly have |
|000004a0| 74 6f 20 61 64 64 20 3a | 0a 7b 66 43 6f 64 65 7d |to add :|.{fCode}|
|000004b0| 4c 49 42 52 41 52 59 20 | 22 5c 3c 48 65 61 70 4c |LIBRARY |"\<HeapL|
|000004c0| 69 62 72 61 72 79 24 46 | 69 6c 65 3e 22 3a 50 52 |ibrary$F|ile>":PR|
|000004d0| 4f 43 69 6e 69 74 68 65 | 61 70 7b 66 7d 0a 0a 54 |OCinithe|ap{f}..T|
|000004e0| 68 65 20 4a 46 53 68 61 | 72 65 64 20 61 70 70 6c |he JFSha|red appl|
|000004f0| 69 63 61 74 69 6f 6e 20 | 69 73 20 a9 20 3c 4a 75 |ication |is . <Ju|
|00000500| 73 74 69 6e 20 46 6c 65 | 74 63 68 65 72 3d 3e 46 |stin Fle|tcher=>F|
|00000510| 69 6c 65 74 79 70 65 73 | 3a 41 75 74 68 6f 72 73 |iletypes|:Authors|
|00000520| 5f 4a 75 73 74 69 6e 46 | 6c 65 74 63 68 65 72 3e |_JustinF|letcher>|
|00000530| 2c 20 31 39 39 36 20 61 | 6e 64 20 69 73 20 72 65 |, 1996 a|nd is re|
|00000540| 6c 65 61 73 65 64 20 69 | 6e 74 6f 20 74 68 65 20 |leased i|nto the |
|00000550| 50 75 62 6c 69 63 20 44 | 6f 6d 61 69 6e 20 77 69 |Public D|omain wi|
|00000560| 74 68 20 74 68 65 20 73 | 61 6d 65 20 72 65 73 74 |th the s|ame rest|
|00000570| 72 69 63 74 69 6f 6e 73 | 20 61 73 20 73 75 62 73 |rictions| as subs|
|00000580| 69 73 74 20 69 6e 20 6d | 6f 73 74 20 50 44 20 73 |ist in m|ost PD s|
|00000590| 6f 66 74 77 61 72 65 2e | 20 54 68 69 73 20 69 6e |oftware.| This in|
|000005a0| 63 6c 75 64 65 73 20 74 | 68 65 20 66 61 63 74 20 |cludes t|he fact |
|000005b0| 74 68 61 74 20 77 68 65 | 6e 20 64 69 73 74 72 69 |that whe|n distri|
|000005c0| 62 75 74 65 64 20 74 68 | 65 20 65 6e 74 69 72 65 |buted th|e entire|
|000005d0| 20 61 70 70 6c 69 63 61 | 74 69 6f 6e 20 6d 75 73 | applica|tion mus|
|000005e0| 74 20 72 65 6d 61 69 6e | 20 69 6e 74 61 63 74 2e |t remain| intact.|
|000005f0| 44 49 52 24 5c 00 00 00 | 5c 00 00 00 4c 06 00 00 |DIR$\...|\...L...|
|00000600| 47 ff ff ff 15 94 00 d7 | fa 00 00 00 13 00 00 00 |G.......|........|
|00000610| 00 00 00 00 64 79 6e 6d | 65 6e 75 5f 65 6e 64 00 |....dynm|enu_end.|
|00000620| 48 07 00 00 47 ff ff ff | 80 08 c4 31 bb 00 00 00 |H...G...|...1....|
|00000630| 13 00 00 00 00 00 00 00 | 64 79 6e 6d 65 6e 75 5f |........|dynmenu_|
|00000640| 70 72 65 73 65 72 76 65 | 00 00 00 00 44 41 54 41 |preserve|....DATA|
|00000650| fa 00 00 00 46 4e 64 79 | 6e 6d 65 6e 75 5f 65 6e |....FNdy|nmenu_en|
|00000660| 64 0a 23 50 61 72 65 6e | 74 20 21 52 6f 6f 74 0a |d.#Paren|t !Root.|
|00000670| 3c 3d 09 70 6f 69 6e 74 | 65 72 20 74 6f 20 3c 6d |<=.point|er to <m|
|00000680| 65 6e 75 20 73 74 72 75 | 63 74 75 72 65 3d 3e 57 |enu stru|cture=>W|
|00000690| 69 6d 70 3a 57 69 6d 70 | 5f 43 72 65 61 74 65 4d |imp:Wimp|_CreateM|
|000006a0| 65 6e 75 2e 62 6c 6f 63 | 6b 3e 0a 0a 54 68 69 73 |enu.bloc|k>..This|
|000006b0| 20 63 61 6c 6c 20 69 73 | 20 75 73 65 64 20 74 6f | call is| used to|
|000006c0| 20 65 6e 64 20 61 20 64 | 79 6e 61 6d 69 63 20 6d | end a d|ynamic m|
|000006d0| 65 6e 75 2e 20 55 73 75 | 61 6c 6c 79 20 69 74 20 |enu. Usu|ally it |
|000006e0| 77 69 6c 6c 20 62 65 20 | 75 73 65 64 20 69 6e 20 |will be |used in |
|000006f0| 63 6f 6e 6a 75 6e 63 74 | 69 6f 6e 20 77 69 74 68 |conjunct|ion with|
|00000700| 20 3c 50 52 4f 43 64 79 | 6e 6d 65 6e 75 5f 61 74 | <PROCdy|nmenu_at|
|00000710| 74 61 63 68 3e 20 6f 72 | 20 74 6f 20 72 65 74 75 |tach> or| to retu|
|00000720| 72 6e 20 74 68 65 20 66 | 69 6e 61 6c 20 68 61 6e |rn the f|inal han|
|00000730| 64 6c 65 20 6f 66 20 74 | 68 65 20 73 74 72 75 63 |dle of t|he struc|
|00000740| 74 75 72 65 2e 0a 00 00 | 44 41 54 41 bb 00 00 00 |ture....|DATA....|
|00000750| 46 4e 64 79 6e 6d 65 6e | 75 5f 70 72 65 73 65 72 |FNdynmen|u_preser|
|00000760| 76 65 0a 23 50 61 72 65 | 6e 74 20 21 52 6f 6f 74 |ve.#Pare|nt !Root|
|00000770| 0a 3c 3d 09 70 6f 69 6e | 74 65 72 20 74 6f 20 64 |.<=.poin|ter to d|
|00000780| 79 6e 61 6d 69 63 20 6d | 65 6e 75 20 68 61 6e 64 |ynamic m|enu hand|
|00000790| 6c 65 0a 0a 54 68 69 73 | 20 63 61 6c 6c 20 69 73 |le..This| call is|
|000007a0| 20 75 73 65 64 20 74 6f | 20 70 72 65 73 65 72 76 | used to| preserv|
|000007b0| 65 20 74 68 65 20 63 75 | 72 72 65 6e 74 20 64 79 |e the cu|rrent dy|
|000007c0| 6e 61 6d 69 63 20 6d 65 | 6e 75 20 73 74 61 74 65 |namic me|nu state|
|000007d0| 2e 20 54 6f 20 72 65 73 | 74 6f 72 65 20 74 68 65 |. To res|tore the|
|000007e0| 20 73 74 61 74 65 2c 20 | 75 73 65 20 3c 50 52 4f | state, |use <PRO|
|000007f0| 43 64 79 6e 6d 65 6e 75 | 5f 72 65 73 74 6f 72 65 |Cdynmenu|_restore|
|00000800| 3e 2e 0a 00 44 49 52 24 | 4c 01 00 00 4c 01 00 00 |>...DIR$|L...L...|
|00000810| 50 09 00 00 47 ff ff ff | 94 d9 c2 31 94 00 00 00 |P...G...|...1....|
|00000820| 13 00 00 00 00 00 00 00 | 69 6e 69 74 5f 64 79 6e |........|init_dyn|
|00000830| 6d 65 6e 75 00 00 00 00 | e4 09 00 00 47 ff ff ff |menu....|....G...|
|00000840| bd 2c c3 31 ec 00 00 00 | 13 00 00 00 00 00 00 00 |.,.1....|........|
|00000850| 64 79 6e 6d 65 6e 75 5f | 6d 65 6e 75 00 00 00 00 |dynmenu_|menu....|
|00000860| d0 0a 00 00 47 ff ff ff | 71 11 c3 31 8b 00 00 00 |....G...|q..1....|
|00000870| 13 00 00 00 00 00 00 00 | 64 79 6e 6d 65 6e 75 5f |........|dynmenu_|
|00000880| 64 65 73 74 72 6f 79 00 | 5c 0b 00 00 47 ff ff ff |destroy.|\...G...|
|00000890| d0 29 c3 31 be 00 00 00 | 13 00 00 00 00 00 00 00 |.).1....|........|
|000008a0| 64 79 6e 6d 65 6e 75 5f | 73 75 62 6d 65 6e 75 00 |dynmenu_|submenu.|
|000008b0| 1c 0c 00 00 47 ff ff ff | 60 75 c3 31 97 01 00 00 |....G...|`u.1....|
|000008c0| 13 00 00 00 00 00 00 00 | 64 79 6e 6d 65 6e 75 5f |........|dynmenu_|
|000008d0| 61 64 64 00 b4 0d 00 00 | 47 ff ff ff 96 5f 83 85 |add.....|G...._..|
|000008e0| a2 00 00 00 13 00 00 00 | 00 00 00 00 64 79 6e 6d |........|....dynm|
|000008f0| 65 6e 75 5f 61 74 74 61 | 63 68 00 00 58 0e 00 00 |enu_atta|ch..X...|
|00000900| 47 ff ff ff 21 99 b4 98 | f7 00 00 00 13 00 00 00 |G...!...|........|
|00000910| 00 00 00 00 64 79 6e 6d | 65 6e 75 5f 72 65 73 74 |....dynm|enu_rest|
|00000920| 6f 72 65 00 50 0f 00 00 | 47 ff ff ff 65 fb 68 b5 |ore.P...|G...e.h.|
|00000930| 6e 01 00 00 13 00 00 00 | 00 00 00 00 64 79 6e 6d |n.......|....dynm|
|00000940| 65 6e 75 5f 6c 61 73 74 | 66 6c 61 67 73 00 00 00 |enu_last|flags...|
|00000950| 44 41 54 41 94 00 00 00 | 50 52 4f 43 69 6e 69 74 |DATA....|PROCinit|
|00000960| 5f 64 79 6e 6d 65 6e 75 | 0a 23 50 61 72 65 6e 74 |_dynmenu|.#Parent|
|00000970| 20 21 52 6f 6f 74 0a 49 | 6e 69 74 69 61 6c 69 73 | !Root.I|nitialis|
|00000980| 65 73 20 6c 69 62 72 61 | 72 79 20 76 61 72 69 61 |es libra|ry varia|
|00000990| 62 6c 65 73 2e 0a 0a 43 | 61 6c 6c 20 74 68 69 73 |bles...C|all this|
|000009a0| 20 72 6f 75 74 69 6e 65 | 20 61 74 20 74 68 65 20 | routine| at the |
|000009b0| 73 74 61 72 74 20 6f 66 | 20 61 6e 79 20 70 72 6f |start of| any pro|
|000009c0| 67 72 61 6d 20 74 68 61 | 74 20 75 73 65 73 20 74 |gram tha|t uses t|
|000009d0| 68 65 20 44 79 6e 4d 65 | 6e 75 4c 69 62 20 66 69 |he DynMe|nuLib fi|
|000009e0| 6c 65 2e 0a 44 41 54 41 | ec 00 00 00 50 52 4f 43 |le..DATA|....PROC|
|000009f0| 64 79 6e 6d 65 6e 75 5f | 6d 65 6e 75 28 74 69 74 |dynmenu_|menu(tit|
|00000a00| 6c 65 24 29 0a 23 50 61 | 72 65 6e 74 20 21 52 6f |le$).#Pa|rent !Ro|
|00000a10| 6f 74 0a 3d 3e 09 7b 2f | 7d 74 69 74 6c 65 24 7b |ot.=>.{/|}title${|
|00000a20| 2f 7d 09 74 69 74 6c 65 | 20 6f 66 20 74 68 65 20 |/}.title| of the |
|00000a30| 6d 65 6e 75 0a 0a 54 68 | 69 73 20 63 61 6c 6c 20 |menu..Th|is call |
|00000a40| 69 73 20 75 73 65 64 20 | 74 6f 20 73 74 61 72 74 |is used |to start|
|00000a50| 20 63 72 65 61 74 69 6f | 6e 20 6f 66 20 61 20 64 | creatio|n of a d|
|00000a60| 79 6e 61 6d 69 63 20 6d | 65 6e 75 20 73 74 72 75 |ynamic m|enu stru|
|00000a70| 63 74 75 72 65 2e 20 54 | 68 65 20 70 72 65 76 69 |cture. T|he previ|
|00000a80| 6f 75 73 20 64 79 6e 61 | 6d 69 63 20 6d 65 6e 75 |ous dyna|mic menu|
|00000a90| 20 73 74 72 75 63 74 75 | 72 65 20 77 69 6c 6c 20 | structu|re will |
|00000aa0| 62 65 20 64 65 73 74 72 | 6f 79 65 64 2e 20 45 6e |be destr|oyed. En|
|00000ab0| 64 20 74 68 65 20 6d 65 | 6e 75 20 77 69 74 68 20 |d the me|nu with |
|00000ac0| 3c 46 4e 64 79 6e 6d 65 | 6e 75 5f 65 6e 64 3e 2e |<FNdynme|nu_end>.|
|00000ad0| 44 41 54 41 8b 00 00 00 | 50 52 4f 43 64 79 6e 6d |DATA....|PROCdynm|
|00000ae0| 65 6e 75 5f 64 65 73 74 | 72 6f 79 0a 23 50 61 72 |enu_dest|roy.#Par|
|00000af0| 65 6e 74 20 21 52 6f 6f | 74 0a 54 68 69 73 20 63 |ent !Roo|t.This c|
|00000b00| 61 6c 6c 20 69 73 20 75 | 73 65 64 20 74 6f 20 64 |all is u|sed to d|
|00000b10| 65 73 74 72 6f 79 20 74 | 68 65 20 6c 61 73 74 20 |estroy t|he last |
|00000b20| 64 79 6e 61 6d 69 63 20 | 6d 65 6e 75 20 73 74 72 |dynamic |menu str|
|00000b30| 75 63 74 75 72 65 20 63 | 72 65 61 74 65 64 20 61 |ucture c|reated a|
|00000b40| 6e 64 20 72 65 6c 65 61 | 73 65 20 61 6c 6c 20 69 |nd relea|se all i|
|00000b50| 74 27 73 20 6d 65 6d 6f | 72 79 2e 00 44 41 54 41 |t's memo|ry..DATA|
|00000b60| be 00 00 00 50 52 4f 43 | 64 79 6e 6d 65 6e 75 5f |....PROC|dynmenu_|
|00000b70| 73 75 62 6d 65 6e 75 28 | 74 69 74 6c 65 24 29 0a |submenu(|title$).|
|00000b80| 23 50 61 72 65 6e 74 20 | 21 52 6f 6f 74 0a 3d 3e |#Parent |!Root.=>|
|00000b90| 09 7b 2f 7d 74 69 74 6c | 65 24 7b 2f 7d 09 74 69 |.{/}titl|e${/}.ti|
|00000ba0| 74 6c 65 20 6f 66 20 74 | 68 65 20 6d 65 6e 75 0a |tle of t|he menu.|
|00000bb0| 0a 54 68 69 73 20 63 61 | 6c 6c 20 69 73 20 75 73 |.This ca|ll is us|
|00000bc0| 65 64 20 74 6f 20 73 74 | 61 72 74 20 61 20 73 75 |ed to st|art a su|
|00000bd0| 62 2d 6d 65 6e 75 20 77 | 69 74 68 69 6e 20 61 20 |b-menu w|ithin a |
|00000be0| 64 79 6e 61 6d 69 63 20 | 6d 65 6e 75 20 73 74 72 |dynamic |menu str|
|00000bf0| 75 63 74 75 72 65 2e 20 | 45 6e 64 20 74 68 65 20 |ucture. |End the |
|00000c00| 6d 65 6e 75 20 77 69 74 | 68 20 3c 46 4e 64 79 6e |menu wit|h <FNdyn|
|00000c10| 6d 65 6e 75 5f 65 6e 64 | 3e 2e 00 00 44 41 54 41 |menu_end|>...DATA|
|00000c20| 97 01 00 00 50 52 4f 43 | 64 79 6e 6d 65 6e 75 5f |....PROC|dynmenu_|
|00000c30| 61 64 64 28 69 74 65 6d | 24 2c 73 70 72 69 74 65 |add(item|$,sprite|
|00000c40| 24 2c 66 6c 61 67 73 25 | 29 0a 23 50 61 72 65 6e |$,flags%|).#Paren|
|00000c50| 74 20 21 52 6f 6f 74 0a | 3d 3e 09 7b 2f 7d 69 74 |t !Root.|=>.{/}it|
|00000c60| 65 6d 24 7b 2f 7d 09 74 | 65 78 74 20 6f 66 20 74 |em${/}.t|ext of t|
|00000c70| 68 65 20 69 74 65 6d 20 | 74 6f 20 61 64 64 0a 09 |he item |to add..|
|00000c80| 7b 2f 7d 73 70 72 69 74 | 65 24 7b 2f 7d 09 74 68 |{/}sprit|e${/}.th|
|00000c90| 65 20 6e 61 6d 65 20 6f | 66 20 61 6e 79 20 73 70 |e name o|f any sp|
|00000ca0| 72 69 74 65 20 74 6f 20 | 75 73 65 0a 09 7b 2f 7d |rite to |use..{/}|
|00000cb0| 66 6c 61 67 73 7b 2f 7d | 09 3c 6d 65 6e 75 20 66 |flags{/}|.<menu f|
|00000cc0| 6c 61 67 73 3d 3e 2e 66 | 6c 61 67 73 3e 0a 0a 54 |lags=>.f|lags>..T|
|00000cd0| 68 69 73 20 63 61 6c 6c | 20 69 73 20 75 73 65 64 |his call| is used|
|00000ce0| 20 74 6f 20 61 64 64 20 | 61 6e 20 69 74 65 6d 20 | to add |an item |
|00000cf0| 74 6f 20 74 68 65 20 63 | 75 72 72 65 6e 74 20 64 |to the c|urrent d|
|00000d00| 79 6e 61 6d 69 63 20 6d | 65 6e 75 2e 0a 23 0a 23 |ynamic m|enu..#.#|
|00000d10| 53 75 62 70 61 67 65 20 | 66 6c 61 67 73 0a 44 79 |Subpage |flags.Dy|
|00000d20| 6e 61 6d 69 63 20 6d 65 | 6e 75 20 66 6c 61 67 73 |namic me|nu flags|
|00000d30| 0a 42 69 74 09 4d 65 61 | 6e 69 6e 67 0a 23 4c 69 |.Bit.Mea|ning.#Li|
|00000d40| 6e 65 0a 30 09 69 74 65 | 6d 20 69 73 20 74 69 63 |ne.0.ite|m is tic|
|00000d50| 6b 65 64 0a 31 09 69 74 | 65 6d 20 69 73 20 66 6f |ked.1.it|em is fo|
|00000d60| 6c 6c 6f 77 65 64 20 62 | 79 20 61 20 6c 69 6e 65 |llowed b|y a line|
|00000d70| 0a 32 09 69 74 65 6d 20 | 69 73 20 77 72 69 74 61 |.2.item |is writa|
|00000d80| 62 6c 65 0a 33 09 69 74 | 65 6d 20 77 69 6c 6c 20 |ble.3.it|em will |
|00000d90| 70 72 6f 64 75 63 65 20 | 61 20 6d 65 73 73 61 67 |produce |a messag|
|00000da0| 65 0a 34 09 69 74 65 6d | 20 69 73 20 73 68 61 64 |e.4.item| is shad|
|00000db0| 65 64 0a 00 44 41 54 41 | a2 00 00 00 50 52 4f 43 |ed..DATA|....PROC|
|00000dc0| 64 79 6e 6d 65 6e 75 5f | 61 74 74 61 63 68 28 68 |dynmenu_|attach(h|
|00000dd0| 61 6e 64 6c 65 29 0a 23 | 50 61 72 65 6e 74 20 21 |andle).#|Parent !|
|00000de0| 52 6f 6f 74 0a 3d 3e 09 | 7b 2f 7d 68 61 6e 64 6c |Root.=>.|{/}handl|
|00000df0| 65 7b 2f 7d 09 68 61 6e | 64 6c 65 20 72 65 74 75 |e{/}.han|dle retu|
|00000e00| 72 6e 65 64 20 62 79 20 | 3c 46 4e 64 79 6e 6d 65 |rned by |<FNdynme|
|00000e10| 6e 75 5f 65 6e 64 3e 2e | 0a 0a 54 68 69 73 20 63 |nu_end>.|..This c|
|00000e20| 61 6c 6c 20 69 73 20 75 | 73 65 64 20 74 6f 20 61 |all is u|sed to a|
|00000e30| 74 74 61 63 68 20 61 20 | 73 75 62 2d 6d 65 6e 75 |ttach a |sub-menu|
|00000e40| 20 74 6f 20 74 68 65 20 | 63 75 72 72 65 6e 74 20 | to the |current |
|00000e50| 69 74 65 6d 2e 0a 00 00 | 44 41 54 41 f7 00 00 00 |item....|DATA....|
|00000e60| 50 52 4f 43 64 79 6e 6d | 65 6e 75 5f 72 65 73 74 |PROCdynm|enu_rest|
|00000e70| 6f 72 65 28 68 61 6e 64 | 6c 65 29 0a 23 50 61 72 |ore(hand|le).#Par|
|00000e80| 65 6e 74 20 21 52 6f 6f | 74 0a 3d 3e 09 7b 2f 7d |ent !Roo|t.=>.{/}|
|00000e90| 68 61 6e 64 6c 65 7b 2f | 7d 09 68 61 6e 64 6c 65 |handle{/|}.handle|
|00000ea0| 20 72 65 74 75 72 6e 65 | 64 20 62 79 20 3c 46 4e | returne|d by <FN|
|00000eb0| 64 79 6e 6d 65 6e 75 5f | 70 72 65 73 65 72 76 65 |dynmenu_|preserve|
|00000ec0| 3e 2c 20 6f 72 20 30 20 | 74 6f 20 64 6f 20 6e 6f |>, or 0 |to do no|
|00000ed0| 74 68 69 6e 67 2e 0a 0a | 54 68 69 73 20 63 61 6c |thing...|This cal|
|00000ee0| 6c 20 69 73 20 75 73 65 | 64 20 74 6f 20 72 65 73 |l is use|d to res|
|00000ef0| 74 6f 72 65 20 61 20 73 | 61 76 65 64 20 64 79 6e |tore a s|aved dyn|
|00000f00| 61 6d 69 63 20 6d 65 6e | 75 20 73 74 61 74 65 2e |amic men|u state.|
|00000f10| 20 59 6f 75 20 6d 69 67 | 68 74 20 77 61 73 20 74 | You mig|ht was t|
|00000f20| 6f 20 75 73 65 20 30 20 | 77 68 65 6e 20 69 6e 69 |o use 0 |when ini|
|00000f30| 74 69 61 6c 69 73 69 6e | 67 20 74 68 65 20 6d 65 |tialisin|g the me|
|00000f40| 6e 75 20 73 74 72 75 63 | 74 75 72 65 73 2e 0a 00 |nu struc|tures...|
|00000f50| 44 41 54 41 6e 01 00 00 | 50 52 4f 43 64 79 6e 6d |DATAn...|PROCdynm|
|00000f60| 65 6e 75 5f 6c 61 73 74 | 66 6c 61 67 73 28 62 69 |enu_last|flags(bi|
|00000f70| 63 2c 65 6f 72 29 0a 23 | 50 61 72 65 6e 74 20 21 |c,eor).#|Parent !|
|00000f80| 52 6f 6f 74 0a 3d 3e 09 | 7b 2f 7d 62 69 63 7b 2f |Root.=>.|{/}bic{/|
|00000f90| 7d 09 3c 62 69 74 73 3d | 3e 50 52 4f 43 64 79 6e |}.<bits=|>PROCdyn|
|00000fa0| 6d 65 6e 75 5f 61 64 64 | 2e 66 6c 61 67 73 3e 20 |menu_add|.flags> |
|00000fb0| 74 6f 20 63 6c 65 61 72 | 20 28 66 69 72 73 74 29 |to clear| (first)|
|00000fc0| 0a 09 7b 2f 7d 65 6f 72 | 7b 2f 7d 09 3c 62 69 74 |..{/}eor|{/}.<bit|
|00000fd0| 73 3d 3e 50 52 4f 43 64 | 79 6e 6d 65 6e 75 5f 61 |s=>PROCd|ynmenu_a|
|00000fe0| 64 64 2e 66 6c 61 67 73 | 3e 20 74 6f 20 74 6f 67 |dd.flags|> to tog|
|00000ff0| 67 6c 65 20 28 73 65 63 | 6f 6e 64 29 0a 0a 54 68 |gle (sec|ond)..Th|
|00001000| 69 73 20 63 61 6c 6c 20 | 69 73 20 75 73 65 64 20 |is call |is used |
|00001010| 74 6f 20 6d 6f 64 69 66 | 79 20 74 68 65 20 66 6c |to modif|y the fl|
|00001020| 61 67 73 20 6f 66 20 74 | 68 65 20 6c 61 73 74 20 |ags of t|he last |
|00001030| 69 74 65 6d 20 61 64 64 | 65 64 2e 20 54 68 69 73 |item add|ed. This|
|00001040| 20 63 61 6e 20 73 6f 6d | 65 74 69 6d 65 73 20 62 | can som|etimes b|
|00001050| 65 20 75 73 65 66 75 6c | 20 77 68 65 6e 2c 20 77 |e useful| when, w|
|00001060| 68 69 6c 73 74 20 61 64 | 64 69 6e 67 20 74 68 65 |hilst ad|ding the|
|00001070| 20 69 74 65 6d 73 20 79 | 6f 75 20 64 6f 6e 27 74 | items y|ou don't|
|00001080| 20 6b 6e 6f 77 20 77 68 | 65 74 68 65 72 20 74 68 | know wh|ether th|
|00001090| 65 20 6c 61 73 74 20 68 | 61 73 20 62 65 65 6e 20 |e last h|as been |
|000010a0| 72 65 61 63 68 65 64 20 | 74 6f 20 61 64 64 20 61 |reached |to add a|
|000010b0| 20 64 6f 74 74 65 64 20 | 6c 69 6e 65 2e 0a 00 00 | dotted |line....|
+--------+-------------------------+-------------------------+--------+--------+