Results 1 to 2 of 2

Thread: Parameter Arrays in asp

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Oct 2001
    Location
    Three Anchor Bay, Cape Town, South Africa
    Posts
    769

    Parameter Arrays in asp

    Is it possible to pass parameter arrays in asp functions. If so how?

  2. #2
    WALDO
    Guest

    Wink Sure

    Code:
    <%
    Function WriteText(ByVal Cells)
        Dim i
        If IsArray(Cells) Then
            For i = LBound(Cells) To UBound(Cells)
                Response.Write "<TR><TD>" & Cells(i) & "</TD></TR>"
            Next
        End If
    End Function
    %>
    <TABLE border="1">
    <%= WriteText(Array(6,1,2,"Schmoo", "Self",4,5,6)) %>
    </TABLE>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width