Results 1 to 2 of 2

Thread: declaration of array

  1. #1

    Thread Starter
    New Member
    Join Date
    Feb 2000
    Posts
    15
    if I have:
    tempstr1 [7] = "<pre><b><br><font+=24><a name=componentName>", "<pre><br><font+=12><a name=componentDes>", _
    "<pre><b><br><font+=24><a name=constructorName>", "<pre><br><font+=12><a name=constructorDes>", _
    "<pre><b><br><font+=24><a name=methodName>", "<pre><br><font+=12><a name=methodDes>", _
    "<pre><b><br><font+=24><a name=propertyName>", "<pre><br><font+=12><a name=propertyDes>"

    WHAT SHOULD i DECLARE FOR tempstr1? I have tried string, but it doesn't work. anybody help?

  2. #2
    Lively Member
    Join Date
    Mar 2000
    Posts
    82
    seems to work...

    Code:
    Private tempstr(7) As String
    
    
    Private Sub Form_Load()
    tempstr(0) = "<pre><b><br><font+=24><aname=componentName>"
    tempstr(1) = "<pre><br><font+=12><a name=componentDes>"
    tempstr(2) = "<pre><b><br><font+=24><aname=constructorName>"
    tempstr(3) = "<pre><br><font+=12><a name=constructorDes>"
    tempstr(4) = "<pre><b><br><font+=24><a name=methodName>"
    tempstr(5) = "<pre><br><font+=12><a name=methodDes>"
    tempstr(6) = "<pre><b><br><font+=24><a name=propertyName>"
    tempstr(7) = "<pre><br><font+=12><a name=propertyDes>"
    End Sub

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