<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DZone Snippets: asp code</title>
    <link>http://snippets.dzone.com/posts</link>
    <pubDate>Thu, 21 Aug 2008 00:38:52 GMT</pubDate>
    <description>DZone Snippets: asp code</description>
    <item>
      <title>Using Scheme in ASP</title>
      <link>http://snippets.dzone.com/posts/show/1735</link>
      <description>;The following example is in VBScript.  Any scripting language that uses com objects will be similar&lt;br /&gt;;1 Install PLT Scheme - it will register the dlls&lt;br /&gt;;2 Control Panel &gt; Administrative Tools &gt; Component Services&lt;br /&gt;;   My Computer &gt; DCOM Config &gt; MzCOM&lt;br /&gt;;   Properties &gt; Security &gt; Launch and Activation Permissions &gt; Customize&lt;br /&gt;;   Add Everyone or IUSR_&lt;Computername&gt; Allow Local Launch, Local Activation&lt;br /&gt;&lt;br /&gt;;Output&lt;br /&gt;;(define test (lambda () (+ 1 2 3 4 5)))&lt;br /&gt;;15&lt;br /&gt;&lt;code&gt;&lt;br /&gt;strScheme = "(define test (lambda () (+ 1 2 3 4 5)))" 'Test Function&lt;br /&gt;    &lt;br /&gt;Set objScheme = Server.CreateObject("MzCOM.MzObj")   &lt;br /&gt;result = objScheme.Eval(strScheme) &lt;br /&gt;result = objScheme.Eval("(test)")  'It remembers the function&lt;br /&gt;Set objScheme = Nothing&lt;br /&gt;&lt;br /&gt;Response.Write(strScheme &amp; "&lt;br&gt;" &amp; result &amp; "&lt;br&gt;") 'Display Results&lt;br /&gt;&lt;/code&gt;</description>
      <pubDate>Thu, 23 Mar 2006 13:23:16 GMT</pubDate>
      <guid>http://snippets.dzone.com/posts/show/1735</guid>
      <author>willpost ()</author>
    </item>
  </channel>
</rss>
