Version.html 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. <html lang="en">
  2. <head>
  3. <title>Version - avram - a virtual machine code interpreter</title>
  4. <meta http-equiv="Content-Type" content="text/html">
  5. <meta name="description" content="avram - a virtual machine code interpreter">
  6. <meta name="generator" content="makeinfo 4.13">
  7. <link title="Top" rel="start" href="index.html#Top">
  8. <link rel="up" href="Metrics-and-Maintenance.html#Metrics-and-Maintenance" title="Metrics and Maintenance">
  9. <link rel="prev" href="Metrics-and-Maintenance.html#Metrics-and-Maintenance" title="Metrics and Maintenance">
  10. <link rel="next" href="Note.html#Note" title="Note">
  11. <link href="http://www.gnu.org/software/texinfo/" rel="generator-home" title="Texinfo Homepage">
  12. <meta http-equiv="Content-Style-Type" content="text/css">
  13. <style type="text/css"><!--
  14. pre.display { font-family:inherit }
  15. pre.format { font-family:inherit }
  16. pre.smalldisplay { font-family:inherit; font-size:smaller }
  17. pre.smallformat { font-family:inherit; font-size:smaller }
  18. pre.smallexample { font-size:smaller }
  19. pre.smalllisp { font-size:smaller }
  20. span.sc { font-variant:small-caps }
  21. span.roman { font-family:serif; font-weight:normal; }
  22. span.sansserif { font-family:sans-serif; font-weight:normal; }
  23. --></style>
  24. </head>
  25. <body>
  26. <div class="node">
  27. <a name="Version"></a>
  28. <p>
  29. Next:&nbsp;<a rel="next" accesskey="n" href="Note.html#Note">Note</a>,
  30. Previous:&nbsp;<a rel="previous" accesskey="p" href="Metrics-and-Maintenance.html#Metrics-and-Maintenance">Metrics and Maintenance</a>,
  31. Up:&nbsp;<a rel="up" accesskey="u" href="Metrics-and-Maintenance.html#Metrics-and-Maintenance">Metrics and Maintenance</a>
  32. <hr>
  33. </div>
  34. <h5 class="subsubsection">2.7.7.1 Version</h5>
  35. <p>A virtual code application with exactly the following definition
  36. implements a function that returns a constant character string
  37. regardless of its argument.
  38. <a name="index-g_t_0040code_007bversion_007d-280"></a>
  39. <pre class="example"> version = ((nil,nil),((nil,nil),(nil,((nil,nil),nil))))
  40. </pre>
  41. <p class="noindent">The character string encodes the version number of the installed
  42. <code>avram</code> executable, for example <code>0.13.0</code>, using the standard
  43. representation for characters.
  44. <p>Although such an application is useless by itself, the intended use for
  45. this feature is to cope with the possibility that future versions of
  46. <code>avram</code> may include enhancements. Ideally, the maintainer of
  47. <code>avram</code> will update the version number when new enhancements are
  48. added. Applications can then detect whether they are available in the
  49. installed version by using this feature. If a needed enhancement is not
  50. available, the application can either make allowances or at least
  51. terminate gracefully.
  52. </body></html>