Home » Archimedes archive » Acorn User » AU 1998-12.adf » Regulars » StarInfo/Granger/!Chemistry/PROCS/HelpPROCs
StarInfo/Granger/!Chemistry/PROCS/HelpPROCs
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 » Acorn User » AU 1998-12.adf » Regulars |
Filename: | StarInfo/Granger/!Chemistry/PROCS/HelpPROCs |
Read OK: | ✔ |
File size: | 1293 bytes |
Load address: | 0000 |
Exec address: | 0000 |
File contents
10REM ### HELP LIBRARY ### 20 30DEF FNhelpmessage(win%,icon%) 40r$="" 50IF win%=-2 THEN r$="This is the icon for !Chemistry - |mA program to help with calculations involving chemicals" 60IF win%=equation% THEN 70CASE icon% OF 80WHEN -1:r$="Equation window" 90WHEN 0:r$="Reactants - |mClick on this icon to gain caret then type in reactants (formulae)" 100WHEN 2:r$="Products - |mClick on this icon to gain caret then type in products (formulae)" 110WHEN 3:r$="Add compound - |mSelect a compound from the menu and click on it, the compound's formula will be added where the cursor is" 120WHEN 4:r$="Balance equation - |mClick on this icon to make the balancing menu come up" 130WHEN 5:r$="Molar masses - |mClick on this icon to show the masses of the compounds entered" 140WHEN 6:r$="Equation breakdown - |mClick on this icon to show the numbers of each elements on each side of the equation" 150WHEN 8:r$="Percentage composition - |mClick on this icon bring up the percentage composition window" 160WHEN 9:r$="Compound database - |mClick on this icon the bring up the compound database" 170WHEN 7:r$="Name compound - |mClick on this icon to bring up the name compound window" 180ENDCASE 190ENDIF 200IF win%=balance% THEN 210IF icon%<>reset% AND icon%<>okbutton% THEN r$="This is the balancing window - use the arrows below the formulae to change the number of moles until the equation is balanced" 220IF icon%=reset% THEN r$="Clicking this icon will reset all the mole values to those in the equation window" 230IF icon%=okbutton% THEN r$="Clicking on this icon will change all the mole values in the equation window to those in the balancing window" 240ENDIF 250IF win%=ram% THEN 260IF icon%=0 THEN r$="This icon shows the molar masses of the compounds in the equation" 270IF icon%=1 THEN r$="Clicking on this icon will display the full working out of the molar mass for each compound" 280ENDIF 290IF win%=numbers% THEN r$="This window shows the numbers of each element on each side of the equation" 300IF win%=dbase% THEN 310CASE icon% OF 320WHEN 0:r$="To edit the formula then click mouse to gain caret then enter formula then press return" 330WHEN 1:r$="This is the group name, you can have 11 groups" 340WHEN 2:r$="Click on this icon to display a menu of groups" 350WHEN 4:r$="To edit a compound, click mouse to gain caret, edit then press return to save" 360WHEN 5:r$="Click on this icon to display a menu of compounds in this group" 370WHEN 8:r$="To create a new group enter a name above then click on this icon" 380WHEN 9:r$="To delete the group "+FNreadicon(dbase%,1)+" then click house on this icon" 390WHEN 10:r$="Click here to add a new compound" 400WHEN 11:r$="Click here to delete the compound "+FNreadicon(dbase%,4) 410WHEN 12:r$="Click here to save the current group" 420ENDCASE 430ENDIF 440IF win%=add% THEN r$="Enter compound name then click on O.K. or press return" 450IF win%=message% THEN r$="This window displays a message, probably an error related to a failed calculation" 460IF win%=sure% THEN r$="This window is asking a question !!" 470IF win%=periodic% THEN r$="This is the periodic table, click on a element you wish to know about" 480IF win%=data% THEN r$="This window shows information on the selected element" 490IF win%=namecomp% THEN 500CASE icon% OF 510WHEN -1:r$="This function calculates chemical formulae from the name entered" 520WHEN 2:r$="Enter name is this box eg Ammonium Silicate and then press return" 530ENDCASE 540ENDIF 550IF win%=info% THEN r$="This box contains information about the program" 560IF win%=options% THEN 570CASE icon% OF 580WHEN -1:r$="This is the settings window it contains the settings for the program" 590WHEN 6:r$="This is the maximum number of elements per compound" 600WHEN 9:r$="This is the maximum number of compounds which can be placed on each side of the equation" 610WHEN 10:r$="This is the maximum number of groups allowed in the database" 620WHEN 11:r$="This is the maximum number of items per group in the dataabase" 630WHEN 12:r$="This is the number of decimal places the answers in the percentage composition are given to" 640WHEN 14:r$="Click here to save the options" 650WHEN 15:r$="Click here to cancel the window (without saving)" 660ENDCASE 670ENDIF 680IF win%=percent% THEN 690CASE icon% OF 700WHEN 2:r$="Enter the component in this icon E.g C" 710WHEN 3:r$="Enter original in this icon E.g. CO2" 720WHEN 9:r$="This is the percentage, to change the number of decimal places go the the options window" 730WHEN 11:r$="Click on this icon to calculate the percentage" 740WHEN 6:r$="This icon shows the molar mass of the component in the origional" 750WHEN 7:r$="This icon shows the molar mass of the original" 760ENDCASE 770IF r$="" THEN r$="This is the percentage compositon window, enter the original and the component then click on calculate" 780ENDIF 790IF win%=weights% THEN r$="This icon contains the working out of the formulae |mif not all the information is displayed then click on the icon is question to expand the data" 800=r$
� ### HELP LIBRARY ### � �helpmessage(win%,icon%) ( r$="" 2p� win%=-2 � r$="This is the icon for !Chemistry - |mA program to help with calculations involving chemicals" <� win%=equation% � FȎ icon% � P� -1:r$="Equation window" Z]� 0:r$="Reactants - |mClick on this icon to gain caret then type in reactants (formulae)" d[� 2:r$="Products - |mClick on this icon to gain caret then type in products (formulae)" n�� 3:r$="Add compound - |mSelect a compound from the menu and click on it, the compound's formula will be added where the cursor is" xW� 4:r$="Balance equation - |mClick on this icon to make the balancing menu come up" �\� 5:r$="Molar masses - |mClick on this icon to show the masses of the compounds entered" �x� 6:r$="Equation breakdown - |mClick on this icon to show the numbers of each elements on each side of the equation" �e� 8:r$="Percentage composition - |mClick on this icon bring up the percentage composition window" �X� 9:r$="Compound database - |mClick on this icon the bring up the compound database" �V� 7:r$="Name compound - |mClick on this icon to bring up the name compound window" �� �� �� win%=balance% � ҫ� icon%<>reset% � icon%<>okbutton% � r$="This is the balancing window - use the arrows below the formulae to change the number of moles until the equation is balanced" �k� icon%=reset% � r$="Clicking this icon will reset all the mole values to those in the equation window" �� icon%=okbutton% � r$="Clicking on this icon will change all the mole values in the equation window to those in the balancing window" �� �� win%=ram% � V� icon%=0 � r$="This icon shows the molar masses of the compounds in the equation" p� icon%=1 � r$="Clicking on this icon will display the full working out of the molar mass for each compound" � "e� win%=numbers% � r$="This window shows the numbers of each element on each side of the equation" ,� win%=dbase% � 6Ȏ icon% � @d� 0:r$="To edit the formula then click mouse to gain caret then enter formula then press return" J;� 1:r$="This is the group name, you can have 11 groups" T;� 2:r$="Click on this icon to display a menu of groups" ^Z� 4:r$="To edit a compound, click mouse to gain caret, edit then press return to save" hL� 5:r$="Click on this icon to display a menu of compounds in this group" rM� 8:r$="To create a new group enter a name above then click on this icon" |V� 9:r$="To delete the group "+�readicon(dbase%,1)+" then click house on this icon" �.� 10:r$="Click here to add a new compound" �D� 11:r$="Click here to delete the compound "+�readicon(dbase%,4) �2� 12:r$="Click here to save the current group" �� �� �M� win%=add% � r$="Enter compound name then click on O.K. or press return" �l� win%=message% � r$="This window displays a message, probably an error related to a failed calculation" �;� win%=sure% � r$="This window is asking a question !!" �a� win%=periodic% � r$="This is the periodic table, click on a element you wish to know about" �M� win%=data% � r$="This window shows information on the selected element" �� win%=namecomp% � �Ȏ icon% � �N� -1:r$="This function calculates chemical formulae from the name entered" N� 2:r$="Enter name is this box eg Ammonium Silicate and then press return" � � &G� win%=info% � r$="This box contains information about the program" 0� win%=options% � :Ȏ icon% � DR� -1:r$="This is the settings window it contains the settings for the program" N@� 6:r$="This is the maximum number of elements per compound" Xe� 9:r$="This is the maximum number of compounds which can be placed on each side of the equation" bJ� 10:r$="This is the maximum number of groups allowed in the database" lL� 11:r$="This is the maximum number of items per group in the dataabase" vi� 12:r$="This is the number of decimal places the answers in the percentage composition are given to" �,� 14:r$="Click here to save the options" �>� 15:r$="Click here to cancel the window (without saving)" �� �� �� win%=percent% � �Ȏ icon% � �3� 2:r$="Enter the component in this icon E.g C" �1� 3:r$="Enter original in this icon E.g. CO2" �e� 9:r$="This is the percentage, to change the number of decimal places go the the options window" �<� 11:r$="Click on this icon to calculate the percentage" �M� 6:r$="This icon shows the molar mass of the component in the origional" �;� 7:r$="This icon shows the molar mass of the original" �� y� r$="" � r$="This is the percentage compositon window, enter the original and the component then click on calculate" � �� win%=weights% � r$="This icon contains the working out of the formulae |mif not all the information is displayed then click on the icon is question to expand the data" =r$ �
00000000 0d 00 0a 1a f4 20 23 23 23 20 48 45 4c 50 20 4c |..... ### HELP L| 00000010 49 42 52 41 52 59 20 23 23 23 0d 00 14 04 0d 00 |IBRARY ###......| 00000020 1e 1e dd 20 a4 68 65 6c 70 6d 65 73 73 61 67 65 |... .helpmessage| 00000030 28 77 69 6e 25 2c 69 63 6f 6e 25 29 0d 00 28 09 |(win%,icon%)..(.| 00000040 72 24 3d 22 22 0d 00 32 70 e7 20 77 69 6e 25 3d |r$=""..2p. win%=| 00000050 2d 32 20 8c 20 72 24 3d 22 54 68 69 73 20 69 73 |-2 . r$="This is| 00000060 20 74 68 65 20 69 63 6f 6e 20 66 6f 72 20 21 43 | the icon for !C| 00000070 68 65 6d 69 73 74 72 79 20 2d 20 7c 6d 41 20 70 |hemistry - |mA p| 00000080 72 6f 67 72 61 6d 20 74 6f 20 68 65 6c 70 20 77 |rogram to help w| 00000090 69 74 68 20 63 61 6c 63 75 6c 61 74 69 6f 6e 73 |ith calculations| 000000a0 20 69 6e 76 6f 6c 76 69 6e 67 20 63 68 65 6d 69 | involving chemi| 000000b0 63 61 6c 73 22 0d 00 3c 16 e7 20 77 69 6e 25 3d |cals"..<.. win%=| 000000c0 65 71 75 61 74 69 6f 6e 25 20 8c 0d 00 46 0e c8 |equation% ...F..| 000000d0 8e 20 69 63 6f 6e 25 20 ca 0d 00 50 1d c9 20 2d |. icon% ...P.. -| 000000e0 31 3a 72 24 3d 22 45 71 75 61 74 69 6f 6e 20 77 |1:r$="Equation w| 000000f0 69 6e 64 6f 77 22 0d 00 5a 5d c9 20 30 3a 72 24 |indow"..Z]. 0:r$| 00000100 3d 22 52 65 61 63 74 61 6e 74 73 20 2d 20 7c 6d |="Reactants - |m| 00000110 43 6c 69 63 6b 20 6f 6e 20 74 68 69 73 20 69 63 |Click on this ic| 00000120 6f 6e 20 74 6f 20 67 61 69 6e 20 63 61 72 65 74 |on to gain caret| 00000130 20 74 68 65 6e 20 74 79 70 65 20 69 6e 20 72 65 | then type in re| 00000140 61 63 74 61 6e 74 73 20 28 66 6f 72 6d 75 6c 61 |actants (formula| 00000150 65 29 22 0d 00 64 5b c9 20 32 3a 72 24 3d 22 50 |e)"..d[. 2:r$="P| 00000160 72 6f 64 75 63 74 73 20 2d 20 7c 6d 43 6c 69 63 |roducts - |mClic| 00000170 6b 20 6f 6e 20 74 68 69 73 20 69 63 6f 6e 20 74 |k on this icon t| 00000180 6f 20 67 61 69 6e 20 63 61 72 65 74 20 74 68 65 |o gain caret the| 00000190 6e 20 74 79 70 65 20 69 6e 20 70 72 6f 64 75 63 |n type in produc| 000001a0 74 73 20 28 66 6f 72 6d 75 6c 61 65 29 22 0d 00 |ts (formulae)"..| 000001b0 6e 87 c9 20 33 3a 72 24 3d 22 41 64 64 20 63 6f |n.. 3:r$="Add co| 000001c0 6d 70 6f 75 6e 64 20 2d 20 7c 6d 53 65 6c 65 63 |mpound - |mSelec| 000001d0 74 20 61 20 63 6f 6d 70 6f 75 6e 64 20 66 72 6f |t a compound fro| 000001e0 6d 20 74 68 65 20 6d 65 6e 75 20 61 6e 64 20 63 |m the menu and c| 000001f0 6c 69 63 6b 20 6f 6e 20 69 74 2c 20 74 68 65 20 |lick on it, the | 00000200 63 6f 6d 70 6f 75 6e 64 27 73 20 66 6f 72 6d 75 |compound's formu| 00000210 6c 61 20 77 69 6c 6c 20 62 65 20 61 64 64 65 64 |la will be added| 00000220 20 77 68 65 72 65 20 74 68 65 20 63 75 72 73 6f | where the curso| 00000230 72 20 69 73 22 0d 00 78 57 c9 20 34 3a 72 24 3d |r is"..xW. 4:r$=| 00000240 22 42 61 6c 61 6e 63 65 20 65 71 75 61 74 69 6f |"Balance equatio| 00000250 6e 20 2d 20 7c 6d 43 6c 69 63 6b 20 6f 6e 20 74 |n - |mClick on t| 00000260 68 69 73 20 69 63 6f 6e 20 74 6f 20 6d 61 6b 65 |his icon to make| 00000270 20 74 68 65 20 62 61 6c 61 6e 63 69 6e 67 20 6d | the balancing m| 00000280 65 6e 75 20 63 6f 6d 65 20 75 70 22 0d 00 82 5c |enu come up"...\| 00000290 c9 20 35 3a 72 24 3d 22 4d 6f 6c 61 72 20 6d 61 |. 5:r$="Molar ma| 000002a0 73 73 65 73 20 2d 20 7c 6d 43 6c 69 63 6b 20 6f |sses - |mClick o| 000002b0 6e 20 74 68 69 73 20 69 63 6f 6e 20 74 6f 20 73 |n this icon to s| 000002c0 68 6f 77 20 74 68 65 20 6d 61 73 73 65 73 20 6f |how the masses o| 000002d0 66 20 74 68 65 20 63 6f 6d 70 6f 75 6e 64 73 20 |f the compounds | 000002e0 65 6e 74 65 72 65 64 22 0d 00 8c 78 c9 20 36 3a |entered"...x. 6:| 000002f0 72 24 3d 22 45 71 75 61 74 69 6f 6e 20 62 72 65 |r$="Equation bre| 00000300 61 6b 64 6f 77 6e 20 2d 20 7c 6d 43 6c 69 63 6b |akdown - |mClick| 00000310 20 6f 6e 20 74 68 69 73 20 69 63 6f 6e 20 74 6f | on this icon to| 00000320 20 73 68 6f 77 20 74 68 65 20 6e 75 6d 62 65 72 | show the number| 00000330 73 20 6f 66 20 65 61 63 68 20 65 6c 65 6d 65 6e |s of each elemen| 00000340 74 73 20 6f 6e 20 65 61 63 68 20 73 69 64 65 20 |ts on each side | 00000350 6f 66 20 74 68 65 20 65 71 75 61 74 69 6f 6e 22 |of the equation"| 00000360 0d 00 96 65 c9 20 38 3a 72 24 3d 22 50 65 72 63 |...e. 8:r$="Perc| 00000370 65 6e 74 61 67 65 20 63 6f 6d 70 6f 73 69 74 69 |entage compositi| 00000380 6f 6e 20 2d 20 7c 6d 43 6c 69 63 6b 20 6f 6e 20 |on - |mClick on | 00000390 74 68 69 73 20 69 63 6f 6e 20 62 72 69 6e 67 20 |this icon bring | 000003a0 75 70 20 74 68 65 20 70 65 72 63 65 6e 74 61 67 |up the percentag| 000003b0 65 20 63 6f 6d 70 6f 73 69 74 69 6f 6e 20 77 69 |e composition wi| 000003c0 6e 64 6f 77 22 0d 00 a0 58 c9 20 39 3a 72 24 3d |ndow"...X. 9:r$=| 000003d0 22 43 6f 6d 70 6f 75 6e 64 20 64 61 74 61 62 61 |"Compound databa| 000003e0 73 65 20 2d 20 7c 6d 43 6c 69 63 6b 20 6f 6e 20 |se - |mClick on | 000003f0 74 68 69 73 20 69 63 6f 6e 20 74 68 65 20 62 72 |this icon the br| 00000400 69 6e 67 20 75 70 20 74 68 65 20 63 6f 6d 70 6f |ing up the compo| 00000410 75 6e 64 20 64 61 74 61 62 61 73 65 22 0d 00 aa |und database"...| 00000420 56 c9 20 37 3a 72 24 3d 22 4e 61 6d 65 20 63 6f |V. 7:r$="Name co| 00000430 6d 70 6f 75 6e 64 20 2d 20 7c 6d 43 6c 69 63 6b |mpound - |mClick| 00000440 20 6f 6e 20 74 68 69 73 20 69 63 6f 6e 20 74 6f | on this icon to| 00000450 20 62 72 69 6e 67 20 75 70 20 74 68 65 20 6e 61 | bring up the na| 00000460 6d 65 20 63 6f 6d 70 6f 75 6e 64 20 77 69 6e 64 |me compound wind| 00000470 6f 77 22 0d 00 b4 05 cb 0d 00 be 05 cd 0d 00 c8 |ow".............| 00000480 15 e7 20 77 69 6e 25 3d 62 61 6c 61 6e 63 65 25 |.. win%=balance%| 00000490 20 8c 0d 00 d2 ab e7 20 69 63 6f 6e 25 3c 3e 72 | ...... icon%<>r| 000004a0 65 73 65 74 25 20 80 20 69 63 6f 6e 25 3c 3e 6f |eset% . icon%<>o| 000004b0 6b 62 75 74 74 6f 6e 25 20 8c 20 72 24 3d 22 54 |kbutton% . r$="T| 000004c0 68 69 73 20 69 73 20 74 68 65 20 62 61 6c 61 6e |his is the balan| 000004d0 63 69 6e 67 20 77 69 6e 64 6f 77 20 2d 20 75 73 |cing window - us| 000004e0 65 20 74 68 65 20 61 72 72 6f 77 73 20 62 65 6c |e the arrows bel| 000004f0 6f 77 20 74 68 65 20 66 6f 72 6d 75 6c 61 65 20 |ow the formulae | 00000500 74 6f 20 63 68 61 6e 67 65 20 74 68 65 20 6e 75 |to change the nu| 00000510 6d 62 65 72 20 6f 66 20 6d 6f 6c 65 73 20 75 6e |mber of moles un| 00000520 74 69 6c 20 74 68 65 20 65 71 75 61 74 69 6f 6e |til the equation| 00000530 20 69 73 20 62 61 6c 61 6e 63 65 64 22 0d 00 dc | is balanced"...| 00000540 6b e7 20 69 63 6f 6e 25 3d 72 65 73 65 74 25 20 |k. icon%=reset% | 00000550 8c 20 72 24 3d 22 43 6c 69 63 6b 69 6e 67 20 74 |. r$="Clicking t| 00000560 68 69 73 20 69 63 6f 6e 20 77 69 6c 6c 20 72 65 |his icon will re| 00000570 73 65 74 20 61 6c 6c 20 74 68 65 20 6d 6f 6c 65 |set all the mole| 00000580 20 76 61 6c 75 65 73 20 74 6f 20 74 68 6f 73 65 | values to those| 00000590 20 69 6e 20 74 68 65 20 65 71 75 61 74 69 6f 6e | in the equation| 000005a0 20 77 69 6e 64 6f 77 22 0d 00 e6 8a e7 20 69 63 | window"..... ic| 000005b0 6f 6e 25 3d 6f 6b 62 75 74 74 6f 6e 25 20 8c 20 |on%=okbutton% . | 000005c0 72 24 3d 22 43 6c 69 63 6b 69 6e 67 20 6f 6e 20 |r$="Clicking on | 000005d0 74 68 69 73 20 69 63 6f 6e 20 77 69 6c 6c 20 63 |this icon will c| 000005e0 68 61 6e 67 65 20 61 6c 6c 20 74 68 65 20 6d 6f |hange all the mo| 000005f0 6c 65 20 76 61 6c 75 65 73 20 69 6e 20 74 68 65 |le values in the| 00000600 20 65 71 75 61 74 69 6f 6e 20 77 69 6e 64 6f 77 | equation window| 00000610 20 74 6f 20 74 68 6f 73 65 20 69 6e 20 74 68 65 | to those in the| 00000620 20 62 61 6c 61 6e 63 69 6e 67 20 77 69 6e 64 6f | balancing windo| 00000630 77 22 0d 00 f0 05 cd 0d 00 fa 11 e7 20 77 69 6e |w".......... win| 00000640 25 3d 72 61 6d 25 20 8c 0d 01 04 56 e7 20 69 63 |%=ram% ....V. ic| 00000650 6f 6e 25 3d 30 20 8c 20 72 24 3d 22 54 68 69 73 |on%=0 . r$="This| 00000660 20 69 63 6f 6e 20 73 68 6f 77 73 20 74 68 65 20 | icon shows the | 00000670 6d 6f 6c 61 72 20 6d 61 73 73 65 73 20 6f 66 20 |molar masses of | 00000680 74 68 65 20 63 6f 6d 70 6f 75 6e 64 73 20 69 6e |the compounds in| 00000690 20 74 68 65 20 65 71 75 61 74 69 6f 6e 22 0d 01 | the equation"..| 000006a0 0e 70 e7 20 69 63 6f 6e 25 3d 31 20 8c 20 72 24 |.p. icon%=1 . r$| 000006b0 3d 22 43 6c 69 63 6b 69 6e 67 20 6f 6e 20 74 68 |="Clicking on th| 000006c0 69 73 20 69 63 6f 6e 20 77 69 6c 6c 20 64 69 73 |is icon will dis| 000006d0 70 6c 61 79 20 74 68 65 20 66 75 6c 6c 20 77 6f |play the full wo| 000006e0 72 6b 69 6e 67 20 6f 75 74 20 6f 66 20 74 68 65 |rking out of the| 000006f0 20 6d 6f 6c 61 72 20 6d 61 73 73 20 66 6f 72 20 | molar mass for | 00000700 65 61 63 68 20 63 6f 6d 70 6f 75 6e 64 22 0d 01 |each compound"..| 00000710 18 05 cd 0d 01 22 65 e7 20 77 69 6e 25 3d 6e 75 |....."e. win%=nu| 00000720 6d 62 65 72 73 25 20 8c 20 72 24 3d 22 54 68 69 |mbers% . r$="Thi| 00000730 73 20 77 69 6e 64 6f 77 20 73 68 6f 77 73 20 74 |s window shows t| 00000740 68 65 20 6e 75 6d 62 65 72 73 20 6f 66 20 65 61 |he numbers of ea| 00000750 63 68 20 65 6c 65 6d 65 6e 74 20 6f 6e 20 65 61 |ch element on ea| 00000760 63 68 20 73 69 64 65 20 6f 66 20 74 68 65 20 65 |ch side of the e| 00000770 71 75 61 74 69 6f 6e 22 0d 01 2c 13 e7 20 77 69 |quation"..,.. wi| 00000780 6e 25 3d 64 62 61 73 65 25 20 8c 0d 01 36 0e c8 |n%=dbase% ...6..| 00000790 8e 20 69 63 6f 6e 25 20 ca 0d 01 40 64 c9 20 30 |. icon% ...@d. 0| 000007a0 3a 72 24 3d 22 54 6f 20 65 64 69 74 20 74 68 65 |:r$="To edit the| 000007b0 20 66 6f 72 6d 75 6c 61 20 74 68 65 6e 20 63 6c | formula then cl| 000007c0 69 63 6b 20 6d 6f 75 73 65 20 74 6f 20 67 61 69 |ick mouse to gai| 000007d0 6e 20 63 61 72 65 74 20 74 68 65 6e 20 65 6e 74 |n caret then ent| 000007e0 65 72 20 66 6f 72 6d 75 6c 61 20 74 68 65 6e 20 |er formula then | 000007f0 70 72 65 73 73 20 72 65 74 75 72 6e 22 0d 01 4a |press return"..J| 00000800 3b c9 20 31 3a 72 24 3d 22 54 68 69 73 20 69 73 |;. 1:r$="This is| 00000810 20 74 68 65 20 67 72 6f 75 70 20 6e 61 6d 65 2c | the group name,| 00000820 20 79 6f 75 20 63 61 6e 20 68 61 76 65 20 31 31 | you can have 11| 00000830 20 67 72 6f 75 70 73 22 0d 01 54 3b c9 20 32 3a | groups"..T;. 2:| 00000840 72 24 3d 22 43 6c 69 63 6b 20 6f 6e 20 74 68 69 |r$="Click on thi| 00000850 73 20 69 63 6f 6e 20 74 6f 20 64 69 73 70 6c 61 |s icon to displa| 00000860 79 20 61 20 6d 65 6e 75 20 6f 66 20 67 72 6f 75 |y a menu of grou| 00000870 70 73 22 0d 01 5e 5a c9 20 34 3a 72 24 3d 22 54 |ps"..^Z. 4:r$="T| 00000880 6f 20 65 64 69 74 20 61 20 63 6f 6d 70 6f 75 6e |o edit a compoun| 00000890 64 2c 20 63 6c 69 63 6b 20 6d 6f 75 73 65 20 74 |d, click mouse t| 000008a0 6f 20 67 61 69 6e 20 63 61 72 65 74 2c 20 65 64 |o gain caret, ed| 000008b0 69 74 20 74 68 65 6e 20 70 72 65 73 73 20 72 65 |it then press re| 000008c0 74 75 72 6e 20 74 6f 20 73 61 76 65 22 0d 01 68 |turn to save"..h| 000008d0 4c c9 20 35 3a 72 24 3d 22 43 6c 69 63 6b 20 6f |L. 5:r$="Click o| 000008e0 6e 20 74 68 69 73 20 69 63 6f 6e 20 74 6f 20 64 |n this icon to d| 000008f0 69 73 70 6c 61 79 20 61 20 6d 65 6e 75 20 6f 66 |isplay a menu of| 00000900 20 63 6f 6d 70 6f 75 6e 64 73 20 69 6e 20 74 68 | compounds in th| 00000910 69 73 20 67 72 6f 75 70 22 0d 01 72 4d c9 20 38 |is group"..rM. 8| 00000920 3a 72 24 3d 22 54 6f 20 63 72 65 61 74 65 20 61 |:r$="To create a| 00000930 20 6e 65 77 20 67 72 6f 75 70 20 65 6e 74 65 72 | new group enter| 00000940 20 61 20 6e 61 6d 65 20 61 62 6f 76 65 20 74 68 | a name above th| 00000950 65 6e 20 63 6c 69 63 6b 20 6f 6e 20 74 68 69 73 |en click on this| 00000960 20 69 63 6f 6e 22 0d 01 7c 56 c9 20 39 3a 72 24 | icon"..|V. 9:r$| 00000970 3d 22 54 6f 20 64 65 6c 65 74 65 20 74 68 65 20 |="To delete the | 00000980 67 72 6f 75 70 20 22 2b a4 72 65 61 64 69 63 6f |group "+.readico| 00000990 6e 28 64 62 61 73 65 25 2c 31 29 2b 22 20 74 68 |n(dbase%,1)+" th| 000009a0 65 6e 20 63 6c 69 63 6b 20 68 6f 75 73 65 20 6f |en click house o| 000009b0 6e 20 74 68 69 73 20 69 63 6f 6e 22 0d 01 86 2e |n this icon"....| 000009c0 c9 20 31 30 3a 72 24 3d 22 43 6c 69 63 6b 20 68 |. 10:r$="Click h| 000009d0 65 72 65 20 74 6f 20 61 64 64 20 61 20 6e 65 77 |ere to add a new| 000009e0 20 63 6f 6d 70 6f 75 6e 64 22 0d 01 90 44 c9 20 | compound"...D. | 000009f0 31 31 3a 72 24 3d 22 43 6c 69 63 6b 20 68 65 72 |11:r$="Click her| 00000a00 65 20 74 6f 20 64 65 6c 65 74 65 20 74 68 65 20 |e to delete the | 00000a10 63 6f 6d 70 6f 75 6e 64 20 22 2b a4 72 65 61 64 |compound "+.read| 00000a20 69 63 6f 6e 28 64 62 61 73 65 25 2c 34 29 0d 01 |icon(dbase%,4)..| 00000a30 9a 32 c9 20 31 32 3a 72 24 3d 22 43 6c 69 63 6b |.2. 12:r$="Click| 00000a40 20 68 65 72 65 20 74 6f 20 73 61 76 65 20 74 68 | here to save th| 00000a50 65 20 63 75 72 72 65 6e 74 20 67 72 6f 75 70 22 |e current group"| 00000a60 0d 01 a4 05 cb 0d 01 ae 05 cd 0d 01 b8 4d e7 20 |.............M. | 00000a70 77 69 6e 25 3d 61 64 64 25 20 8c 20 72 24 3d 22 |win%=add% . r$="| 00000a80 45 6e 74 65 72 20 63 6f 6d 70 6f 75 6e 64 20 6e |Enter compound n| 00000a90 61 6d 65 20 74 68 65 6e 20 63 6c 69 63 6b 20 6f |ame then click o| 00000aa0 6e 20 4f 2e 4b 2e 20 6f 72 20 70 72 65 73 73 20 |n O.K. or press | 00000ab0 72 65 74 75 72 6e 22 0d 01 c2 6c e7 20 77 69 6e |return"...l. win| 00000ac0 25 3d 6d 65 73 73 61 67 65 25 20 8c 20 72 24 3d |%=message% . r$=| 00000ad0 22 54 68 69 73 20 77 69 6e 64 6f 77 20 64 69 73 |"This window dis| 00000ae0 70 6c 61 79 73 20 61 20 6d 65 73 73 61 67 65 2c |plays a message,| 00000af0 20 70 72 6f 62 61 62 6c 79 20 61 6e 20 65 72 72 | probably an err| 00000b00 6f 72 20 72 65 6c 61 74 65 64 20 74 6f 20 61 20 |or related to a | 00000b10 66 61 69 6c 65 64 20 63 61 6c 63 75 6c 61 74 69 |failed calculati| 00000b20 6f 6e 22 0d 01 cc 3b e7 20 77 69 6e 25 3d 73 75 |on"...;. win%=su| 00000b30 72 65 25 20 8c 20 72 24 3d 22 54 68 69 73 20 77 |re% . r$="This w| 00000b40 69 6e 64 6f 77 20 69 73 20 61 73 6b 69 6e 67 20 |indow is asking | 00000b50 61 20 71 75 65 73 74 69 6f 6e 20 21 21 22 0d 01 |a question !!"..| 00000b60 d6 61 e7 20 77 69 6e 25 3d 70 65 72 69 6f 64 69 |.a. win%=periodi| 00000b70 63 25 20 8c 20 72 24 3d 22 54 68 69 73 20 69 73 |c% . r$="This is| 00000b80 20 74 68 65 20 70 65 72 69 6f 64 69 63 20 74 61 | the periodic ta| 00000b90 62 6c 65 2c 20 63 6c 69 63 6b 20 6f 6e 20 61 20 |ble, click on a | 00000ba0 65 6c 65 6d 65 6e 74 20 79 6f 75 20 77 69 73 68 |element you wish| 00000bb0 20 74 6f 20 6b 6e 6f 77 20 61 62 6f 75 74 22 0d | to know about".| 00000bc0 01 e0 4d e7 20 77 69 6e 25 3d 64 61 74 61 25 20 |..M. win%=data% | 00000bd0 8c 20 72 24 3d 22 54 68 69 73 20 77 69 6e 64 6f |. r$="This windo| 00000be0 77 20 73 68 6f 77 73 20 69 6e 66 6f 72 6d 61 74 |w shows informat| 00000bf0 69 6f 6e 20 6f 6e 20 74 68 65 20 73 65 6c 65 63 |ion on the selec| 00000c00 74 65 64 20 65 6c 65 6d 65 6e 74 22 0d 01 ea 16 |ted element"....| 00000c10 e7 20 77 69 6e 25 3d 6e 61 6d 65 63 6f 6d 70 25 |. win%=namecomp%| 00000c20 20 8c 0d 01 f4 0e c8 8e 20 69 63 6f 6e 25 20 ca | ....... icon% .| 00000c30 0d 01 fe 4e c9 20 2d 31 3a 72 24 3d 22 54 68 69 |...N. -1:r$="Thi| 00000c40 73 20 66 75 6e 63 74 69 6f 6e 20 63 61 6c 63 75 |s function calcu| 00000c50 6c 61 74 65 73 20 63 68 65 6d 69 63 61 6c 20 66 |lates chemical f| 00000c60 6f 72 6d 75 6c 61 65 20 66 72 6f 6d 20 74 68 65 |ormulae from the| 00000c70 20 6e 61 6d 65 20 65 6e 74 65 72 65 64 22 0d 02 | name entered"..| 00000c80 08 4e c9 20 32 3a 72 24 3d 22 45 6e 74 65 72 20 |.N. 2:r$="Enter | 00000c90 6e 61 6d 65 20 69 73 20 74 68 69 73 20 62 6f 78 |name is this box| 00000ca0 20 65 67 20 41 6d 6d 6f 6e 69 75 6d 20 53 69 6c | eg Ammonium Sil| 00000cb0 69 63 61 74 65 20 61 6e 64 20 74 68 65 6e 20 70 |icate and then p| 00000cc0 72 65 73 73 20 72 65 74 75 72 6e 22 0d 02 12 05 |ress return"....| 00000cd0 cb 0d 02 1c 05 cd 0d 02 26 47 e7 20 77 69 6e 25 |........&G. win%| 00000ce0 3d 69 6e 66 6f 25 20 8c 20 72 24 3d 22 54 68 69 |=info% . r$="Thi| 00000cf0 73 20 62 6f 78 20 63 6f 6e 74 61 69 6e 73 20 69 |s box contains i| 00000d00 6e 66 6f 72 6d 61 74 69 6f 6e 20 61 62 6f 75 74 |nformation about| 00000d10 20 74 68 65 20 70 72 6f 67 72 61 6d 22 0d 02 30 | the program"..0| 00000d20 15 e7 20 77 69 6e 25 3d 6f 70 74 69 6f 6e 73 25 |.. win%=options%| 00000d30 20 8c 0d 02 3a 0e c8 8e 20 69 63 6f 6e 25 20 ca | ...:... icon% .| 00000d40 0d 02 44 52 c9 20 2d 31 3a 72 24 3d 22 54 68 69 |..DR. -1:r$="Thi| 00000d50 73 20 69 73 20 74 68 65 20 73 65 74 74 69 6e 67 |s is the setting| 00000d60 73 20 77 69 6e 64 6f 77 20 69 74 20 63 6f 6e 74 |s window it cont| 00000d70 61 69 6e 73 20 74 68 65 20 73 65 74 74 69 6e 67 |ains the setting| 00000d80 73 20 66 6f 72 20 74 68 65 20 70 72 6f 67 72 61 |s for the progra| 00000d90 6d 22 0d 02 4e 40 c9 20 36 3a 72 24 3d 22 54 68 |m"..N@. 6:r$="Th| 00000da0 69 73 20 69 73 20 74 68 65 20 6d 61 78 69 6d 75 |is is the maximu| 00000db0 6d 20 6e 75 6d 62 65 72 20 6f 66 20 65 6c 65 6d |m number of elem| 00000dc0 65 6e 74 73 20 70 65 72 20 63 6f 6d 70 6f 75 6e |ents per compoun| 00000dd0 64 22 0d 02 58 65 c9 20 39 3a 72 24 3d 22 54 68 |d"..Xe. 9:r$="Th| 00000de0 69 73 20 69 73 20 74 68 65 20 6d 61 78 69 6d 75 |is is the maximu| 00000df0 6d 20 6e 75 6d 62 65 72 20 6f 66 20 63 6f 6d 70 |m number of comp| 00000e00 6f 75 6e 64 73 20 77 68 69 63 68 20 63 61 6e 20 |ounds which can | 00000e10 62 65 20 70 6c 61 63 65 64 20 6f 6e 20 65 61 63 |be placed on eac| 00000e20 68 20 73 69 64 65 20 6f 66 20 74 68 65 20 65 71 |h side of the eq| 00000e30 75 61 74 69 6f 6e 22 0d 02 62 4a c9 20 31 30 3a |uation"..bJ. 10:| 00000e40 72 24 3d 22 54 68 69 73 20 69 73 20 74 68 65 20 |r$="This is the | 00000e50 6d 61 78 69 6d 75 6d 20 6e 75 6d 62 65 72 20 6f |maximum number o| 00000e60 66 20 67 72 6f 75 70 73 20 61 6c 6c 6f 77 65 64 |f groups allowed| 00000e70 20 69 6e 20 74 68 65 20 64 61 74 61 62 61 73 65 | in the database| 00000e80 22 0d 02 6c 4c c9 20 31 31 3a 72 24 3d 22 54 68 |"..lL. 11:r$="Th| 00000e90 69 73 20 69 73 20 74 68 65 20 6d 61 78 69 6d 75 |is is the maximu| 00000ea0 6d 20 6e 75 6d 62 65 72 20 6f 66 20 69 74 65 6d |m number of item| 00000eb0 73 20 70 65 72 20 67 72 6f 75 70 20 69 6e 20 74 |s per group in t| 00000ec0 68 65 20 64 61 74 61 61 62 61 73 65 22 0d 02 76 |he dataabase"..v| 00000ed0 69 c9 20 31 32 3a 72 24 3d 22 54 68 69 73 20 69 |i. 12:r$="This i| 00000ee0 73 20 74 68 65 20 6e 75 6d 62 65 72 20 6f 66 20 |s the number of | 00000ef0 64 65 63 69 6d 61 6c 20 70 6c 61 63 65 73 20 74 |decimal places t| 00000f00 68 65 20 61 6e 73 77 65 72 73 20 69 6e 20 74 68 |he answers in th| 00000f10 65 20 70 65 72 63 65 6e 74 61 67 65 20 63 6f 6d |e percentage com| 00000f20 70 6f 73 69 74 69 6f 6e 20 61 72 65 20 67 69 76 |position are giv| 00000f30 65 6e 20 74 6f 22 0d 02 80 2c c9 20 31 34 3a 72 |en to"...,. 14:r| 00000f40 24 3d 22 43 6c 69 63 6b 20 68 65 72 65 20 74 6f |$="Click here to| 00000f50 20 73 61 76 65 20 74 68 65 20 6f 70 74 69 6f 6e | save the option| 00000f60 73 22 0d 02 8a 3e c9 20 31 35 3a 72 24 3d 22 43 |s"...>. 15:r$="C| 00000f70 6c 69 63 6b 20 68 65 72 65 20 74 6f 20 63 61 6e |lick here to can| 00000f80 63 65 6c 20 74 68 65 20 77 69 6e 64 6f 77 20 28 |cel the window (| 00000f90 77 69 74 68 6f 75 74 20 73 61 76 69 6e 67 29 22 |without saving)"| 00000fa0 0d 02 94 05 cb 0d 02 9e 05 cd 0d 02 a8 15 e7 20 |............... | 00000fb0 77 69 6e 25 3d 70 65 72 63 65 6e 74 25 20 8c 0d |win%=percent% ..| 00000fc0 02 b2 0e c8 8e 20 69 63 6f 6e 25 20 ca 0d 02 bc |..... icon% ....| 00000fd0 33 c9 20 32 3a 72 24 3d 22 45 6e 74 65 72 20 74 |3. 2:r$="Enter t| 00000fe0 68 65 20 63 6f 6d 70 6f 6e 65 6e 74 20 69 6e 20 |he component in | 00000ff0 74 68 69 73 20 69 63 6f 6e 20 45 2e 67 20 43 22 |this icon E.g C"| 00001000 0d 02 c6 31 c9 20 33 3a 72 24 3d 22 45 6e 74 65 |...1. 3:r$="Ente| 00001010 72 20 6f 72 69 67 69 6e 61 6c 20 69 6e 20 74 68 |r original in th| 00001020 69 73 20 69 63 6f 6e 20 45 2e 67 2e 20 43 4f 32 |is icon E.g. CO2| 00001030 22 0d 02 d0 65 c9 20 39 3a 72 24 3d 22 54 68 69 |"...e. 9:r$="Thi| 00001040 73 20 69 73 20 74 68 65 20 70 65 72 63 65 6e 74 |s is the percent| 00001050 61 67 65 2c 20 74 6f 20 63 68 61 6e 67 65 20 74 |age, to change t| 00001060 68 65 20 6e 75 6d 62 65 72 20 6f 66 20 64 65 63 |he number of dec| 00001070 69 6d 61 6c 20 70 6c 61 63 65 73 20 67 6f 20 74 |imal places go t| 00001080 68 65 20 74 68 65 20 6f 70 74 69 6f 6e 73 20 77 |he the options w| 00001090 69 6e 64 6f 77 22 0d 02 da 3c c9 20 31 31 3a 72 |indow"...<. 11:r| 000010a0 24 3d 22 43 6c 69 63 6b 20 6f 6e 20 74 68 69 73 |$="Click on this| 000010b0 20 69 63 6f 6e 20 74 6f 20 63 61 6c 63 75 6c 61 | icon to calcula| 000010c0 74 65 20 74 68 65 20 70 65 72 63 65 6e 74 61 67 |te the percentag| 000010d0 65 22 0d 02 e4 4d c9 20 36 3a 72 24 3d 22 54 68 |e"...M. 6:r$="Th| 000010e0 69 73 20 69 63 6f 6e 20 73 68 6f 77 73 20 74 68 |is icon shows th| 000010f0 65 20 6d 6f 6c 61 72 20 6d 61 73 73 20 6f 66 20 |e molar mass of | 00001100 74 68 65 20 63 6f 6d 70 6f 6e 65 6e 74 20 69 6e |the component in| 00001110 20 74 68 65 20 6f 72 69 67 69 6f 6e 61 6c 22 0d | the origional".| 00001120 02 ee 3b c9 20 37 3a 72 24 3d 22 54 68 69 73 20 |..;. 7:r$="This | 00001130 69 63 6f 6e 20 73 68 6f 77 73 20 74 68 65 20 6d |icon shows the m| 00001140 6f 6c 61 72 20 6d 61 73 73 20 6f 66 20 74 68 65 |olar mass of the| 00001150 20 6f 72 69 67 69 6e 61 6c 22 0d 02 f8 05 cb 0d | original"......| 00001160 03 02 79 e7 20 72 24 3d 22 22 20 8c 20 72 24 3d |..y. r$="" . r$=| 00001170 22 54 68 69 73 20 69 73 20 74 68 65 20 70 65 72 |"This is the per| 00001180 63 65 6e 74 61 67 65 20 63 6f 6d 70 6f 73 69 74 |centage composit| 00001190 6f 6e 20 77 69 6e 64 6f 77 2c 20 65 6e 74 65 72 |on window, enter| 000011a0 20 74 68 65 20 6f 72 69 67 69 6e 61 6c 20 61 6e | the original an| 000011b0 64 20 74 68 65 20 63 6f 6d 70 6f 6e 65 6e 74 20 |d the component | 000011c0 74 68 65 6e 20 63 6c 69 63 6b 20 6f 6e 20 63 61 |then click on ca| 000011d0 6c 63 75 6c 61 74 65 22 0d 03 0c 05 cd 0d 03 16 |lculate"........| 000011e0 ad e7 20 77 69 6e 25 3d 77 65 69 67 68 74 73 25 |.. win%=weights%| 000011f0 20 8c 20 72 24 3d 22 54 68 69 73 20 69 63 6f 6e | . r$="This icon| 00001200 20 63 6f 6e 74 61 69 6e 73 20 74 68 65 20 77 6f | contains the wo| 00001210 72 6b 69 6e 67 20 6f 75 74 20 6f 66 20 74 68 65 |rking out of the| 00001220 20 66 6f 72 6d 75 6c 61 65 20 7c 6d 69 66 20 6e | formulae |mif n| 00001230 6f 74 20 61 6c 6c 20 74 68 65 20 69 6e 66 6f 72 |ot all the infor| 00001240 6d 61 74 69 6f 6e 20 69 73 20 64 69 73 70 6c 61 |mation is displa| 00001250 79 65 64 20 74 68 65 6e 20 63 6c 69 63 6b 20 6f |yed then click o| 00001260 6e 20 74 68 65 20 69 63 6f 6e 20 69 73 20 71 75 |n the icon is qu| 00001270 65 73 74 69 6f 6e 20 74 6f 20 65 78 70 61 6e 64 |estion to expand| 00001280 20 74 68 65 20 64 61 74 61 22 0d 03 20 07 3d 72 | the data".. .=r| 00001290 24 0d ff |$..| 00001293