Home » Archimedes archive » Archimedes World » AW-1992-08.adf » AWaug92 » !AWaug92/Goodies/Wimped/!Help

!AWaug92/Goodies/Wimped/!Help

This website contains an archive of files for the Acorn Electron, BBC Micro, Acorn Archimedes, Commodore 16 and Commodore 64 computers, which Dominic Ford has rescued from his private collection of floppy disks and cassettes.

Some of these files were originally commercial releases in the 1980s and 1990s, but they are now widely available online. I assume that copyright over them is no longer being asserted. If you own the copyright and would like files to be removed, please contact me.

Tape/disk: Home » Archimedes archive » Archimedes World » AW-1992-08.adf » AWaug92
Filename: !AWaug92/Goodies/Wimped/!Help
Read OK:
File size: 1023 bytes
Load address: 0000
Exec address: 0000
Duplicates

There is 1 duplicate copy of this file in the archive:

File contents
     
                     ----------------------------------------
                                Application : !WimpEd
   
                       Help for Version 1.0 : (26 May 1988)
     
                     ----------------------------------------
   
   
   
   
---------------------  
Saving an application                            
---------------------
   
Drag the icon from !WimpEd's  "Save" submenu to a Filer window. The default 
name for the application is  "!Task" . !WimpEd saves the resource files:
  
                       name                  type
  
                    1) !Help                Text file
                    2) !Sprites             Sprite file
                    3) !Run                 Obey file
                    4) !RunImage            BasicTxt   (File type &FD1)
                    5)*Templates            Template file
                    6)*Sprites              Sprite file
                    
     The items marked * are only saved if they we "loaded" to !WimpEd by 
     dragging from a Filer window to the icon bar.

Hint:
=====

   If you are using a floppy disk then save to the same disk as !WimpEd to 
   prevent a good deal of disc swapping. 
   
Running the application:
========================

   Before the application !Task can be run, the !RunImage file must be 
   converted into a BASIC file. This is easily achieved by dragging the file
   onto a !DeskEdit window or by using the application !Convert; see article
   in Archimedes World.
   
   If the "LoadToEditor" item of the "Choices" submenu is set (and you have
   enough memory to allow !DeskEdit to multi-task with !WimpEd) then, when 
   the application !Task is saved, a copy of its !RunImage file is dropped 
   into a !DeskEdit window. 
   
   To convert this file to BASIC simply press F3 (opening a !DeskEdit save 
   window) followed by the RETURN key.  


Application name:
=================

   The name of the application can be changed from !Task by typing in the
   writeable icon in the save box. The application is saved using the default   Filer icon. 
   
   A better way of changing the application's name is to create a sprite with   the same name as the proposed application. The name of this file should be   the usual "!Sprites". Dragging such a sprites file onto the !WimpEd icon
   results in the appropriate name and corresponding icon being changed.
   

Choices:
========

   Depending on the selections from the "Choices" submenu the !RunImage can 
   be annotated. If the "Library" selection is made the Wimp library is saved   as a separate program under the name Wimp - otherwise it is appended to 
   the main !RunImage program (this requires more memory).

   The setting of these choices is saved each time an application is saved.
   


-------
MEMORY   
-------

    Problems with memory are the bugbear of wimp programming.
    
    Memory is allocated by !WimpEd in three two places:
      
      
      1) The !Run file
         =============
         
         The default setting of WimpSlot is  -min 64K  -max -64K
         
         This can quite easily not be enough (usually signalled by
         the error 
         
                NOT ENOUGH ROOM FOR THIS DIM
                
         or some such.
         
         
      2) The procedure PROCWimp_Start(name$,memory1%,memory2%)
         =====================================================
         
         The first memory variable, memory1%, controls the size of
         a message block in the program. If this is too small it
         can lead to errors of the type 
             
                ADDRESS ERROR AT &xxxxxxxxxx
                
         The second memory variable, memory2%, is for indirected
         data connected with icons in the window definitions. !WimpEd
         usually calculates this requirement correctly but, if not, an 
         error of the type
         
                WINDOW DEFINITION WON'T FIT
                
         will be generated at start up.
         
         
   The answer in all cases is to increase the appropriate memory allowances.
   
   
00000000  20 20 20 20 20 0a 20 20  20 20 20 20 20 20 20 20  |     .          |
00000010  20 20 20 20 20 20 20 20  20 20 20 2d 2d 2d 2d 2d  |           -----|
00000020  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |----------------|
*
00000040  2d 2d 2d 0a 20 20 20 20  20 20 20 20 20 20 20 20  |---.            |
00000050  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
00000060  20 20 20 20 41 70 70 6c  69 63 61 74 69 6f 6e 20  |    Application |
00000070  3a 20 21 57 69 6d 70 45  64 0a 20 20 20 0a 20 20  |: !WimpEd.   .  |
00000080  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
00000090  20 20 20 20 20 48 65 6c  70 20 66 6f 72 20 56 65  |     Help for Ve|
000000a0  72 73 69 6f 6e 20 31 2e  30 20 3a 20 28 32 36 20  |rsion 1.0 : (26 |
000000b0  4d 61 79 20 31 39 38 38  29 0a 20 20 20 20 20 0a  |May 1988).     .|
000000c0  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
000000d0  20 20 20 20 20 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |     -----------|
000000e0  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |----------------|
000000f0  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 0a 20 20  |-------------.  |
00000100  20 0a 20 20 20 0a 20 20  20 0a 20 20 20 0a 2d 2d  | .   .   .   .--|
00000110  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |----------------|
00000120  2d 2d 2d 20 20 0a 53 61  76 69 6e 67 20 61 6e 20  |---  .Saving an |
00000130  61 70 70 6c 69 63 61 74  69 6f 6e 20 20 20 20 20  |application     |
00000140  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
00000150  20 20 20 20 20 20 20 0a  2d 2d 2d 2d 2d 2d 2d 2d  |       .--------|
00000160  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 0a 20 20  |-------------.  |
00000170  20 0a 44 72 61 67 20 74  68 65 20 69 63 6f 6e 20  | .Drag the icon |
00000180  66 72 6f 6d 20 21 57 69  6d 70 45 64 27 73 20 20  |from !WimpEd's  |
00000190  22 53 61 76 65 22 20 73  75 62 6d 65 6e 75 20 74  |"Save" submenu t|
000001a0  6f 20 61 20 46 69 6c 65  72 20 77 69 6e 64 6f 77  |o a Filer window|
000001b0  2e 20 54 68 65 20 64 65  66 61 75 6c 74 20 0a 6e  |. The default .n|
000001c0  61 6d 65 20 66 6f 72 20  74 68 65 20 61 70 70 6c  |ame for the appl|
000001d0  69 63 61 74 69 6f 6e 20  69 73 20 20 22 21 54 61  |ication is  "!Ta|
000001e0  73 6b 22 20 2e 20 21 57  69 6d 70 45 64 20 73 61  |sk" . !WimpEd sa|
000001f0  76 65 73 20 74 68 65 20  72 65 73 6f 75 72 63 65  |ves the resource|
00000200  20 66 69 6c 65 73 3a 0a  20 20 0a 20 20 20 20 20  | files:.  .     |
00000210  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
00000220  20 20 6e 61 6d 65 20 20  20 20 20 20 20 20 20 20  |  name          |
00000230  20 20 20 20 20 20 20 20  74 79 70 65 0a 20 20 0a  |        type.  .|
00000240  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
00000250  20 20 20 20 31 29 20 21  48 65 6c 70 20 20 20 20  |    1) !Help    |
00000260  20 20 20 20 20 20 20 20  20 20 20 20 54 65 78 74  |            Text|
00000270  20 66 69 6c 65 0a 20 20  20 20 20 20 20 20 20 20  | file.          |
00000280  20 20 20 20 20 20 20 20  20 20 32 29 20 21 53 70  |          2) !Sp|
00000290  72 69 74 65 73 20 20 20  20 20 20 20 20 20 20 20  |rites           |
000002a0  20 20 53 70 72 69 74 65  20 66 69 6c 65 0a 20 20  |  Sprite file.  |
000002b0  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
000002c0  20 20 33 29 20 21 52 75  6e 20 20 20 20 20 20 20  |  3) !Run       |
000002d0  20 20 20 20 20 20 20 20  20 20 4f 62 65 79 20 66  |          Obey f|
000002e0  69 6c 65 0a 20 20 20 20  20 20 20 20 20 20 20 20  |ile.            |
000002f0  20 20 20 20 20 20 20 20  34 29 20 21 52 75 6e 49  |        4) !RunI|
00000300  6d 61 67 65 20 20 20 20  20 20 20 20 20 20 20 20  |mage            |
00000310  42 61 73 69 63 54 78 74  20 20 20 28 46 69 6c 65  |BasicTxt   (File|
00000320  20 74 79 70 65 20 26 46  44 31 29 0a 20 20 20 20  | type &FD1).    |
00000330  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
00000340  35 29 2a 54 65 6d 70 6c  61 74 65 73 20 20 20 20  |5)*Templates    |
00000350  20 20 20 20 20 20 20 20  54 65 6d 70 6c 61 74 65  |        Template|
00000360  20 66 69 6c 65 0a 20 20  20 20 20 20 20 20 20 20  | file.          |
00000370  20 20 20 20 20 20 20 20  20 20 36 29 2a 53 70 72  |          6)*Spr|
00000380  69 74 65 73 20 20 20 20  20 20 20 20 20 20 20 20  |ites            |
00000390  20 20 53 70 72 69 74 65  20 66 69 6c 65 0a 20 20  |  Sprite file.  |
000003a0  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
000003b0  20 20 0a 20 20 20 20 20  54 68 65 20 69 74 65 6d  |  .     The item|
000003c0  73 20 6d 61 72 6b 65 64  20 2a 20 61 72 65 20 6f  |s marked * are o|
000003d0  6e 6c 79 20 73 61 76 65  64 20 69 66 20 74 68 65  |nly saved if the|
000003e0  79 20 77 65 20 22 6c 6f  61 64 65 64 22 20 74 6f  |y we "loaded" to|
000003f0  20 21 57 69 6d 70 45 64  20 62 79 20 0a 20 20 20  | !WimpEd by .   |
00000400  20 20 64 72 61 67 67 69  6e 67 20 66 72 6f 6d 20  |  dragging from |
00000410  61 20 46 69 6c 65 72 20  77 69 6e 64 6f 77 20 74  |a Filer window t|
00000420  6f 20 74 68 65 20 69 63  6f 6e 20 62 61 72 2e 0a  |o the icon bar..|
00000430  0a 48 69 6e 74 3a 0a 3d  3d 3d 3d 3d 0a 0a 20 20  |.Hint:.=====..  |
00000440  20 49 66 20 79 6f 75 20  61 72 65 20 75 73 69 6e  | If you are usin|
00000450  67 20 61 20 66 6c 6f 70  70 79 20 64 69 73 6b 20  |g a floppy disk |
00000460  74 68 65 6e 20 73 61 76  65 20 74 6f 20 74 68 65  |then save to the|
00000470  20 73 61 6d 65 20 64 69  73 6b 20 61 73 20 21 57  | same disk as !W|
00000480  69 6d 70 45 64 20 74 6f  20 0a 20 20 20 70 72 65  |impEd to .   pre|
00000490  76 65 6e 74 20 61 20 67  6f 6f 64 20 64 65 61 6c  |vent a good deal|
000004a0  20 6f 66 20 64 69 73 63  20 73 77 61 70 70 69 6e  | of disc swappin|
000004b0  67 2e 20 0a 20 20 20 0a  52 75 6e 6e 69 6e 67 20  |g. .   .Running |
000004c0  74 68 65 20 61 70 70 6c  69 63 61 74 69 6f 6e 3a  |the application:|
000004d0  0a 3d 3d 3d 3d 3d 3d 3d  3d 3d 3d 3d 3d 3d 3d 3d  |.===============|
000004e0  3d 3d 3d 3d 3d 3d 3d 3d  3d 0a 0a 20 20 20 42 65  |=========..   Be|
000004f0  66 6f 72 65 20 74 68 65  20 61 70 70 6c 69 63 61  |fore the applica|
00000500  74 69 6f 6e 20 21 54 61  73 6b 20 63 61 6e 20 62  |tion !Task can b|
00000510  65 20 72 75 6e 2c 20 74  68 65 20 21 52 75 6e 49  |e run, the !RunI|
00000520  6d 61 67 65 20 66 69 6c  65 20 6d 75 73 74 20 62  |mage file must b|
00000530  65 20 0a 20 20 20 63 6f  6e 76 65 72 74 65 64 20  |e .   converted |
00000540  69 6e 74 6f 20 61 20 42  41 53 49 43 20 66 69 6c  |into a BASIC fil|
00000550  65 2e 20 54 68 69 73 20  69 73 20 65 61 73 69 6c  |e. This is easil|
00000560  79 20 61 63 68 69 65 76  65 64 20 62 79 20 64 72  |y achieved by dr|
00000570  61 67 67 69 6e 67 20 74  68 65 20 66 69 6c 65 0a  |agging the file.|
00000580  20 20 20 6f 6e 74 6f 20  61 20 21 44 65 73 6b 45  |   onto a !DeskE|
00000590  64 69 74 20 77 69 6e 64  6f 77 20 6f 72 20 62 79  |dit window or by|
000005a0  20 75 73 69 6e 67 20 74  68 65 20 61 70 70 6c 69  | using the appli|
000005b0  63 61 74 69 6f 6e 20 21  43 6f 6e 76 65 72 74 3b  |cation !Convert;|
000005c0  20 73 65 65 20 61 72 74  69 63 6c 65 0a 20 20 20  | see article.   |
000005d0  69 6e 20 41 72 63 68 69  6d 65 64 65 73 20 57 6f  |in Archimedes Wo|
000005e0  72 6c 64 2e 0a 20 20 20  0a 20 20 20 49 66 20 74  |rld..   .   If t|
000005f0  68 65 20 22 4c 6f 61 64  54 6f 45 64 69 74 6f 72  |he "LoadToEditor|
00000600  22 20 69 74 65 6d 20 6f  66 20 74 68 65 20 22 43  |" item of the "C|
00000610  68 6f 69 63 65 73 22 20  73 75 62 6d 65 6e 75 20  |hoices" submenu |
00000620  69 73 20 73 65 74 20 28  61 6e 64 20 79 6f 75 20  |is set (and you |
00000630  68 61 76 65 0a 20 20 20  65 6e 6f 75 67 68 20 6d  |have.   enough m|
00000640  65 6d 6f 72 79 20 74 6f  20 61 6c 6c 6f 77 20 21  |emory to allow !|
00000650  44 65 73 6b 45 64 69 74  20 74 6f 20 6d 75 6c 74  |DeskEdit to mult|
00000660  69 2d 74 61 73 6b 20 77  69 74 68 20 21 57 69 6d  |i-task with !Wim|
00000670  70 45 64 29 20 74 68 65  6e 2c 20 77 68 65 6e 20  |pEd) then, when |
00000680  0a 20 20 20 74 68 65 20  61 70 70 6c 69 63 61 74  |.   the applicat|
00000690  69 6f 6e 20 21 54 61 73  6b 20 69 73 20 73 61 76  |ion !Task is sav|
000006a0  65 64 2c 20 61 20 63 6f  70 79 20 6f 66 20 69 74  |ed, a copy of it|
000006b0  73 20 21 52 75 6e 49 6d  61 67 65 20 66 69 6c 65  |s !RunImage file|
000006c0  20 69 73 20 64 72 6f 70  70 65 64 20 0a 20 20 20  | is dropped .   |
000006d0  69 6e 74 6f 20 61 20 21  44 65 73 6b 45 64 69 74  |into a !DeskEdit|
000006e0  20 77 69 6e 64 6f 77 2e  20 0a 20 20 20 0a 20 20  | window. .   .  |
000006f0  20 54 6f 20 63 6f 6e 76  65 72 74 20 74 68 69 73  | To convert this|
00000700  20 66 69 6c 65 20 74 6f  20 42 41 53 49 43 20 73  | file to BASIC s|
00000710  69 6d 70 6c 79 20 70 72  65 73 73 20 46 33 20 28  |imply press F3 (|
00000720  6f 70 65 6e 69 6e 67 20  61 20 21 44 65 73 6b 45  |opening a !DeskE|
00000730  64 69 74 20 73 61 76 65  20 0a 20 20 20 77 69 6e  |dit save .   win|
00000740  64 6f 77 29 20 66 6f 6c  6c 6f 77 65 64 20 62 79  |dow) followed by|
00000750  20 74 68 65 20 52 45 54  55 52 4e 20 6b 65 79 2e  | the RETURN key.|
00000760  20 20 0a 0a 0a 41 70 70  6c 69 63 61 74 69 6f 6e  |  ...Application|
00000770  20 6e 61 6d 65 3a 0a 3d  3d 3d 3d 3d 3d 3d 3d 3d  | name:.=========|
00000780  3d 3d 3d 3d 3d 3d 3d 3d  0a 0a 20 20 20 54 68 65  |========..   The|
00000790  20 6e 61 6d 65 20 6f 66  20 74 68 65 20 61 70 70  | name of the app|
000007a0  6c 69 63 61 74 69 6f 6e  20 63 61 6e 20 62 65 20  |lication can be |
000007b0  63 68 61 6e 67 65 64 20  66 72 6f 6d 20 21 54 61  |changed from !Ta|
000007c0  73 6b 20 62 79 20 74 79  70 69 6e 67 20 69 6e 20  |sk by typing in |
000007d0  74 68 65 0a 20 20 20 77  72 69 74 65 61 62 6c 65  |the.   writeable|
000007e0  20 69 63 6f 6e 20 69 6e  20 74 68 65 20 73 61 76  | icon in the sav|
000007f0  65 20 62 6f 78 2e 20 54  68 65 20 61 70 70 6c 69  |e box. The appli|
00000800  63 61 74 69 6f 6e 20 69  73 20 73 61 76 65 64 20  |cation is saved |
00000810  75 73 69 6e 67 20 74 68  65 20 64 65 66 61 75 6c  |using the defaul|
00000820  74 20 20 20 46 69 6c 65  72 20 69 63 6f 6e 2e 20  |t   Filer icon. |
00000830  0a 20 20 20 0a 20 20 20  41 20 62 65 74 74 65 72  |.   .   A better|
00000840  20 77 61 79 20 6f 66 20  63 68 61 6e 67 69 6e 67  | way of changing|
00000850  20 74 68 65 20 61 70 70  6c 69 63 61 74 69 6f 6e  | the application|
00000860  27 73 20 6e 61 6d 65 20  69 73 20 74 6f 20 63 72  |'s name is to cr|
00000870  65 61 74 65 20 61 20 73  70 72 69 74 65 20 77 69  |eate a sprite wi|
00000880  74 68 20 20 20 74 68 65  20 73 61 6d 65 20 6e 61  |th   the same na|
00000890  6d 65 20 61 73 20 74 68  65 20 70 72 6f 70 6f 73  |me as the propos|
000008a0  65 64 20 61 70 70 6c 69  63 61 74 69 6f 6e 2e 20  |ed application. |
000008b0  54 68 65 20 6e 61 6d 65  20 6f 66 20 74 68 69 73  |The name of this|
000008c0  20 66 69 6c 65 20 73 68  6f 75 6c 64 20 62 65 20  | file should be |
000008d0  20 20 74 68 65 20 75 73  75 61 6c 20 22 21 53 70  |  the usual "!Sp|
000008e0  72 69 74 65 73 22 2e 20  44 72 61 67 67 69 6e 67  |rites". Dragging|
000008f0  20 73 75 63 68 20 61 20  73 70 72 69 74 65 73 20  | such a sprites |
00000900  66 69 6c 65 20 6f 6e 74  6f 20 74 68 65 20 21 57  |file onto the !W|
00000910  69 6d 70 45 64 20 69 63  6f 6e 0a 20 20 20 72 65  |impEd icon.   re|
00000920  73 75 6c 74 73 20 69 6e  20 74 68 65 20 61 70 70  |sults in the app|
00000930  72 6f 70 72 69 61 74 65  20 6e 61 6d 65 20 61 6e  |ropriate name an|
00000940  64 20 63 6f 72 72 65 73  70 6f 6e 64 69 6e 67 20  |d corresponding |
00000950  69 63 6f 6e 20 62 65 69  6e 67 20 63 68 61 6e 67  |icon being chang|
00000960  65 64 2e 0a 20 20 20 0a  0a 43 68 6f 69 63 65 73  |ed..   ..Choices|
00000970  3a 0a 3d 3d 3d 3d 3d 3d  3d 3d 0a 0a 20 20 20 44  |:.========..   D|
00000980  65 70 65 6e 64 69 6e 67  20 6f 6e 20 74 68 65 20  |epending on the |
00000990  73 65 6c 65 63 74 69 6f  6e 73 20 66 72 6f 6d 20  |selections from |
000009a0  74 68 65 20 22 43 68 6f  69 63 65 73 22 20 73 75  |the "Choices" su|
000009b0  62 6d 65 6e 75 20 74 68  65 20 21 52 75 6e 49 6d  |bmenu the !RunIm|
000009c0  61 67 65 20 63 61 6e 20  0a 20 20 20 62 65 20 61  |age can .   be a|
000009d0  6e 6e 6f 74 61 74 65 64  2e 20 49 66 20 74 68 65  |nnotated. If the|
000009e0  20 22 4c 69 62 72 61 72  79 22 20 73 65 6c 65 63  | "Library" selec|
000009f0  74 69 6f 6e 20 69 73 20  6d 61 64 65 20 74 68 65  |tion is made the|
00000a00  20 57 69 6d 70 20 6c 69  62 72 61 72 79 20 69 73  | Wimp library is|
00000a10  20 73 61 76 65 64 20 20  20 61 73 20 61 20 73 65  | saved   as a se|
00000a20  70 61 72 61 74 65 20 70  72 6f 67 72 61 6d 20 75  |parate program u|
00000a30  6e 64 65 72 20 74 68 65  20 6e 61 6d 65 20 57 69  |nder the name Wi|
00000a40  6d 70 20 2d 20 6f 74 68  65 72 77 69 73 65 20 69  |mp - otherwise i|
00000a50  74 20 69 73 20 61 70 70  65 6e 64 65 64 20 74 6f  |t is appended to|
00000a60  20 0a 20 20 20 74 68 65  20 6d 61 69 6e 20 21 52  | .   the main !R|
00000a70  75 6e 49 6d 61 67 65 20  70 72 6f 67 72 61 6d 20  |unImage program |
00000a80  28 74 68 69 73 20 72 65  71 75 69 72 65 73 20 6d  |(this requires m|
00000a90  6f 72 65 20 6d 65 6d 6f  72 79 29 2e 0a 0a 20 20  |ore memory)...  |
00000aa0  20 54 68 65 20 73 65 74  74 69 6e 67 20 6f 66 20  | The setting of |
00000ab0  74 68 65 73 65 20 63 68  6f 69 63 65 73 20 69 73  |these choices is|
00000ac0  20 73 61 76 65 64 20 65  61 63 68 20 74 69 6d 65  | saved each time|
00000ad0  20 61 6e 20 61 70 70 6c  69 63 61 74 69 6f 6e 20  | an application |
00000ae0  69 73 20 73 61 76 65 64  2e 0a 20 20 20 0a 0a 0a  |is saved..   ...|
00000af0  2d 2d 2d 2d 2d 2d 2d 0a  4d 45 4d 4f 52 59 20 20  |-------.MEMORY  |
00000b00  20 0a 2d 2d 2d 2d 2d 2d  2d 0a 0a 20 20 20 20 50  | .-------..    P|
00000b10  72 6f 62 6c 65 6d 73 20  77 69 74 68 20 6d 65 6d  |roblems with mem|
00000b20  6f 72 79 20 61 72 65 20  74 68 65 20 62 75 67 62  |ory are the bugb|
00000b30  65 61 72 20 6f 66 20 77  69 6d 70 20 70 72 6f 67  |ear of wimp prog|
00000b40  72 61 6d 6d 69 6e 67 2e  0a 20 20 20 20 0a 20 20  |ramming..    .  |
00000b50  20 20 4d 65 6d 6f 72 79  20 69 73 20 61 6c 6c 6f  |  Memory is allo|
00000b60  63 61 74 65 64 20 62 79  20 21 57 69 6d 70 45 64  |cated by !WimpEd|
00000b70  20 69 6e 20 74 68 72 65  65 20 74 77 6f 20 70 6c  | in three two pl|
00000b80  61 63 65 73 3a 0a 20 20  20 20 20 20 0a 20 20 20  |aces:.      .   |
00000b90  20 20 20 0a 20 20 20 20  20 20 31 29 20 54 68 65  |   .      1) The|
00000ba0  20 21 52 75 6e 20 66 69  6c 65 0a 20 20 20 20 20  | !Run file.     |
00000bb0  20 20 20 20 3d 3d 3d 3d  3d 3d 3d 3d 3d 3d 3d 3d  |    ============|
00000bc0  3d 0a 20 20 20 20 20 20  20 20 20 0a 20 20 20 20  |=.         .    |
00000bd0  20 20 20 20 20 54 68 65  20 64 65 66 61 75 6c 74  |     The default|
00000be0  20 73 65 74 74 69 6e 67  20 6f 66 20 57 69 6d 70  | setting of Wimp|
00000bf0  53 6c 6f 74 20 69 73 20  20 2d 6d 69 6e 20 36 34  |Slot is  -min 64|
00000c00  4b 20 20 2d 6d 61 78 20  2d 36 34 4b 0a 20 20 20  |K  -max -64K.   |
00000c10  20 20 20 20 20 20 0a 20  20 20 20 20 20 20 20 20  |      .         |
00000c20  54 68 69 73 20 63 61 6e  20 71 75 69 74 65 20 65  |This can quite e|
00000c30  61 73 69 6c 79 20 6e 6f  74 20 62 65 20 65 6e 6f  |asily not be eno|
00000c40  75 67 68 20 28 75 73 75  61 6c 6c 79 20 73 69 67  |ugh (usually sig|
00000c50  6e 61 6c 6c 65 64 20 62  79 0a 20 20 20 20 20 20  |nalled by.      |
00000c60  20 20 20 74 68 65 20 65  72 72 6f 72 20 0a 20 20  |   the error .  |
00000c70  20 20 20 20 20 20 20 0a  20 20 20 20 20 20 20 20  |       .        |
00000c80  20 20 20 20 20 20 20 20  4e 4f 54 20 45 4e 4f 55  |        NOT ENOU|
00000c90  47 48 20 52 4f 4f 4d 20  46 4f 52 20 54 48 49 53  |GH ROOM FOR THIS|
00000ca0  20 44 49 4d 0a 20 20 20  20 20 20 20 20 20 20 20  | DIM.           |
00000cb0  20 20 20 20 20 0a 20 20  20 20 20 20 20 20 20 6f  |     .         o|
00000cc0  72 20 73 6f 6d 65 20 73  75 63 68 2e 0a 20 20 20  |r some such..   |
00000cd0  20 20 20 20 20 20 0a 20  20 20 20 20 20 20 20 20  |      .         |
00000ce0  0a 20 20 20 20 20 20 32  29 20 54 68 65 20 70 72  |.      2) The pr|
00000cf0  6f 63 65 64 75 72 65 20  50 52 4f 43 57 69 6d 70  |ocedure PROCWimp|
00000d00  5f 53 74 61 72 74 28 6e  61 6d 65 24 2c 6d 65 6d  |_Start(name$,mem|
00000d10  6f 72 79 31 25 2c 6d 65  6d 6f 72 79 32 25 29 0a  |ory1%,memory2%).|
00000d20  20 20 20 20 20 20 20 20  20 3d 3d 3d 3d 3d 3d 3d  |         =======|
00000d30  3d 3d 3d 3d 3d 3d 3d 3d  3d 3d 3d 3d 3d 3d 3d 3d  |================|
*
00000d50  3d 3d 3d 3d 3d 3d 3d 3d  3d 3d 3d 3d 3d 3d 0a 20  |==============. |
00000d60  20 20 20 20 20 20 20 20  0a 20 20 20 20 20 20 20  |        .       |
00000d70  20 20 54 68 65 20 66 69  72 73 74 20 6d 65 6d 6f  |  The first memo|
00000d80  72 79 20 76 61 72 69 61  62 6c 65 2c 20 6d 65 6d  |ry variable, mem|
00000d90  6f 72 79 31 25 2c 20 63  6f 6e 74 72 6f 6c 73 20  |ory1%, controls |
00000da0  74 68 65 20 73 69 7a 65  20 6f 66 0a 20 20 20 20  |the size of.    |
00000db0  20 20 20 20 20 61 20 6d  65 73 73 61 67 65 20 62  |     a message b|
00000dc0  6c 6f 63 6b 20 69 6e 20  74 68 65 20 70 72 6f 67  |lock in the prog|
00000dd0  72 61 6d 2e 20 49 66 20  74 68 69 73 20 69 73 20  |ram. If this is |
00000de0  74 6f 6f 20 73 6d 61 6c  6c 20 69 74 0a 20 20 20  |too small it.   |
00000df0  20 20 20 20 20 20 63 61  6e 20 6c 65 61 64 20 74  |      can lead t|
00000e00  6f 20 65 72 72 6f 72 73  20 6f 66 20 74 68 65 20  |o errors of the |
00000e10  74 79 70 65 20 0a 20 20  20 20 20 20 20 20 20 20  |type .          |
00000e20  20 20 20 0a 20 20 20 20  20 20 20 20 20 20 20 20  |   .            |
00000e30  20 20 20 20 41 44 44 52  45 53 53 20 45 52 52 4f  |    ADDRESS ERRO|
00000e40  52 20 41 54 20 26 78 78  78 78 78 78 78 78 78 78  |R AT &xxxxxxxxxx|
00000e50  0a 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |.               |
00000e60  20 0a 20 20 20 20 20 20  20 20 20 54 68 65 20 73  | .         The s|
00000e70  65 63 6f 6e 64 20 6d 65  6d 6f 72 79 20 76 61 72  |econd memory var|
00000e80  69 61 62 6c 65 2c 20 6d  65 6d 6f 72 79 32 25 2c  |iable, memory2%,|
00000e90  20 69 73 20 66 6f 72 20  69 6e 64 69 72 65 63 74  | is for indirect|
00000ea0  65 64 0a 20 20 20 20 20  20 20 20 20 64 61 74 61  |ed.         data|
00000eb0  20 63 6f 6e 6e 65 63 74  65 64 20 77 69 74 68 20  | connected with |
00000ec0  69 63 6f 6e 73 20 69 6e  20 74 68 65 20 77 69 6e  |icons in the win|
00000ed0  64 6f 77 20 64 65 66 69  6e 69 74 69 6f 6e 73 2e  |dow definitions.|
00000ee0  20 21 57 69 6d 70 45 64  0a 20 20 20 20 20 20 20  | !WimpEd.       |
00000ef0  20 20 75 73 75 61 6c 6c  79 20 63 61 6c 63 75 6c  |  usually calcul|
00000f00  61 74 65 73 20 74 68 69  73 20 72 65 71 75 69 72  |ates this requir|
00000f10  65 6d 65 6e 74 20 63 6f  72 72 65 63 74 6c 79 20  |ement correctly |
00000f20  62 75 74 2c 20 69 66 20  6e 6f 74 2c 20 61 6e 20  |but, if not, an |
00000f30  0a 20 20 20 20 20 20 20  20 20 65 72 72 6f 72 20  |.         error |
00000f40  6f 66 20 74 68 65 20 74  79 70 65 0a 20 20 20 20  |of the type.    |
00000f50  20 20 20 20 20 0a 20 20  20 20 20 20 20 20 20 20  |     .          |
00000f60  20 20 20 20 20 20 57 49  4e 44 4f 57 20 44 45 46  |      WINDOW DEF|
00000f70  49 4e 49 54 49 4f 4e 20  57 4f 4e 27 54 20 46 49  |INITION WON'T FI|
00000f80  54 0a 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |T.              |
00000f90  20 20 0a 20 20 20 20 20  20 20 20 20 77 69 6c 6c  |  .         will|
00000fa0  20 62 65 20 67 65 6e 65  72 61 74 65 64 20 61 74  | be generated at|
00000fb0  20 73 74 61 72 74 20 75  70 2e 0a 20 20 20 20 20  | start up..     |
00000fc0  20 20 20 20 0a 20 20 20  20 20 20 20 20 20 0a 20  |    .         . |
00000fd0  20 20 54 68 65 20 61 6e  73 77 65 72 20 69 6e 20  |  The answer in |
00000fe0  61 6c 6c 20 63 61 73 65  73 20 69 73 20 74 6f 20  |all cases is to |
00000ff0  69 6e 63 72 65 61 73 65  20 74 68 65 20 61 70 70  |increase the app|
00001000  72 6f 70 72 69 61 74 65  20 6d 65 6d 6f 72 79 20  |ropriate memory |
00001010  61 6c 6c 6f 77 61 6e 63  65 73 2e 0a 20 20 20 0a  |allowances..   .|
00001020  20 20 20                                          |   |
00001023