Well, nevermind. I answered my own question, but since I asked, I'll answer it here too.
First, just install Object Rexx on your IIS server machine as normal. Create an ASP document that defines the language used by coding the following as the first line in the file:
<%@ Language="Object Rexx"%>
Then, just enter and exit "asp" mode as normal with the <% and %> tags, but write Object REXX code between them. Output isn't done with "say" or "Document~writeln" but instead with "response~write(Data)".
Write me for more information if you like.
Thanks, -Mark
MarkHarsen@smsu.edu
Here's a sample program supplied by IBM but modified for server-side (instead of client-side) scripting:
<%@ Language="Object Rexx"%>
<%
/**********************/
/* 99 bottles of beer */
/**********************/
blue = "#3060c8" -- our blue color
yellow = "#fff000" -- our yellow color
red = "ffffff" -- a "dynamic" color...
/* write TABLE tag to HTML file */
response~write('<TABLE BORDER="0">')
/* main loop */
do i = 99 to 1 by -1
if i > 1 then plural = 's';
else plural = '';
response~write('<TR><TD BGCOLOR="#'red'">' i 'bottle'plural 'of ',
'beer on the wall,' i 'bottle'plural 'of beer<BR>')
response~write('Take one down, pass it around!</TD></TR>')
/* fade from red to white (decrease values for green and blue) */
red = (red~x2d - '000202'~x2d)~d2x
end
/* beer is out! */
response~write('<TR><TD BGCOLOR="'blue'"><FONT COLOR="'yellow'">No more ',
'bottles of beer on the wall, no more bottles of beer<BR>')
response~write('Go to the store and buy some more!</FONT></TD></TR>')
/* end table */
response~write('</TABLE>')
%>