home *** CD-ROM | disk | FTP | other *** search
/ Simtel MSDOS - Coast to Coast / simteldosarchivecoasttocoast2.iso / calculat / sm30a.zip / SYMBMATH.H46 < prev    next >
Text File  |  1993-11-07  |  859b  |  31 lines

  1.         4.14    Database
  2.     After you creat a database file as a library (external function),
  3. you can search your database by finding its function value.
  4.  
  5.         4.14.1  Phone No. Database
  6.       If you have created the database file "phoneNo.(x)" as follow:
  7.  
  8. -------------------------------------
  9. phoneno("huang") := "6974643"
  10. phoneno("john")  := "12345"
  11. --------------------------------------
  12.  
  13. you can find out phone No. of someone from the phone No. database
  14. file "phoneNo.(x)" by the external function
  15.         phoneno("name")
  16.  
  17.     Example 4.14.1
  18.     find out phone No. of huang.
  19. IN:  phoneno("huang")
  20. OUT: "6974643"
  21.  
  22.         4.14.2  Chemical Reaction Database
  23.     You can predict products for chemical reactions from the
  24. database file "react.(x)".
  25.  
  26.     Example 4.14.2.  
  27.         What are the products when HCl + NaOH react ?
  28.  
  29. IN:  react(HCl+NaOH)
  30. OUT: H2O + NaCl
  31.