Basic HTML version of Foils prepared July 5 98

Foil 16 ASP - Example Code II (contd.)

From FMS: Forces Modeling and Simulation Handout JSU HPC Summer Institute for Undergraduates, Jackson MS -- June 15 1998. by Wojtek Furmanski, Subhash Nair, Tom Pulikal


<% `subroutine to print the member functions
Sub printFunction(ByVal attrib)
FuncQuery = "select fname from sp_functions_table where "
FuncQuery = FuncQuery & " fattrib ='"&attrib&"' AND fclsid = " & cid
FuncQuery = FuncQuery & " order by fname"
Set funclist = OBJdbConnection.Execute(FuncQuery) `form the query and execute it
if(StrComp(attrib,"Free Standing Function") = 0) then
attrib = "Free Standing"
end if
attrib = attrib & " Methods"
if(Not funclist.Eof) then ` if result set is not empty then print them
printRecord attrib,funclist
end if
End Sub
%>



© Northeast Parallel Architectures Center, Syracuse University, npac@npac.syr.edu

If you have any comments about this server, send e-mail to webmaster@npac.syr.edu.

Page produced by wwwfoil on Sat Nov 28 1998