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


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

in Table To:


© 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