<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: create a list of strings? in VBA Forum</title>
    <link>https://forums.autodesk.com/t5/vba-forum/create-a-list-of-strings/m-p/1466752#M39614</link>
    <description>might have been clearer if I wrote.&lt;BR /&gt;
&lt;BR /&gt;
Dim urArray&lt;BR /&gt;
as&lt;BR /&gt;
Dim urArray() As Variant&lt;BR /&gt;
&lt;BR /&gt;
urArray is now a 'Variant array' from the get&lt;BR /&gt;
go, instead of just a 'Variant'. If no type is listed,&lt;BR /&gt;
'Dim urArray', then Variant is understood&lt;BR /&gt;
as the default.&lt;BR /&gt;
&lt;BR /&gt;
-- &lt;BR /&gt;
gl - Paul&lt;BR /&gt;
"Paul Richardson" &lt;SPAMTHIS&gt; wrote in message &lt;BR /&gt;
news:4992358@discussion.autodesk.com...&lt;BR /&gt;
[code]&lt;BR /&gt;
  Dim urArray&lt;BR /&gt;
  urArray = Array("one", "two", "three")&lt;BR /&gt;
&lt;BR /&gt;
  Dim arrayItem As Variant&lt;BR /&gt;
  For Each arrayItem In urArray&lt;BR /&gt;
    Debug.Print arrayItem&lt;BR /&gt;
  Next arrayItem&lt;BR /&gt;
&lt;BR /&gt;
  'or&lt;BR /&gt;
&lt;BR /&gt;
  Dim i As Integer&lt;BR /&gt;
  For i = 0 To UBound(urArray)&lt;BR /&gt;
    Debug.Print urArray(i)&lt;BR /&gt;
  Next i&lt;BR /&gt;
[/code]&lt;BR /&gt;
&lt;BR /&gt;
-- &lt;BR /&gt;
gl - Paul&lt;BR /&gt;
"C Witt" &lt;CWITT_AT_TRKENG.COM&gt; wrote in message&lt;BR /&gt;
news:4992341@discussion.autodesk.com...&lt;BR /&gt;
ok, first off, i don't know vba.. i know lisp..&lt;BR /&gt;
&lt;BR /&gt;
(list "start" "end" "end2")&lt;BR /&gt;
&lt;BR /&gt;
easy..&lt;BR /&gt;
&lt;BR /&gt;
but in vba, i'm lost and can't find anything that explains how this is&lt;BR /&gt;
done (or if it can)..&lt;BR /&gt;
&lt;BR /&gt;
my goal is to use it in this code.. (that i pulled from this NG)..&lt;BR /&gt;
     For Each NLType In LLType&lt;BR /&gt;
         ThisDrawing.Linetypes.Load NLType, "acad.lin"&lt;BR /&gt;
     Next&lt;BR /&gt;
&lt;BR /&gt;
so how can i create a list of names and set them to the variable LLType??&lt;BR /&gt;
&lt;BR /&gt;
TIA.  (first of many questions i will end up asking)&lt;/CWITT_AT_TRKENG.COM&gt;&lt;/SPAMTHIS&gt;</description>
    <pubDate>Sun, 23 Oct 2005 15:03:33 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2005-10-23T15:03:33Z</dc:date>
    <item>
      <title>create a list of strings?</title>
      <link>https://forums.autodesk.com/t5/vba-forum/create-a-list-of-strings/m-p/1466750#M39612</link>
      <description>ok, first off, i don't know vba.. i know lisp..&lt;BR /&gt;
&lt;BR /&gt;
(list "start" "end" "end2")&lt;BR /&gt;
&lt;BR /&gt;
easy..&lt;BR /&gt;
&lt;BR /&gt;
but in vba, i'm lost and can't find anything that explains how this is &lt;BR /&gt;
done (or if it can)..&lt;BR /&gt;
&lt;BR /&gt;
my goal is to use it in this code.. (that i pulled from this NG)..&lt;BR /&gt;
     For Each NLType In LLType&lt;BR /&gt;
         ThisDrawing.Linetypes.Load NLType, "acad.lin"&lt;BR /&gt;
     Next&lt;BR /&gt;
&lt;BR /&gt;
so how can i create a list of names and set them to the variable LLType??&lt;BR /&gt;
&lt;BR /&gt;
TIA.  (first of many questions i will end up asking)</description>
      <pubDate>Sun, 23 Oct 2005 06:25:00 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/create-a-list-of-strings/m-p/1466750#M39612</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2005-10-23T06:25:00Z</dc:date>
    </item>
    <item>
      <title>Re: create a list of strings?</title>
      <link>https://forums.autodesk.com/t5/vba-forum/create-a-list-of-strings/m-p/1466751#M39613</link>
      <description>[code]&lt;BR /&gt;
  Dim urArray&lt;BR /&gt;
  urArray = Array("one", "two", "three")&lt;BR /&gt;
&lt;BR /&gt;
  Dim arrayItem As Variant&lt;BR /&gt;
  For Each arrayItem In urArray&lt;BR /&gt;
    Debug.Print arrayItem&lt;BR /&gt;
  Next arrayItem&lt;BR /&gt;
&lt;BR /&gt;
  'or&lt;BR /&gt;
&lt;BR /&gt;
  Dim i As Integer&lt;BR /&gt;
  For i = 0 To UBound(urArray)&lt;BR /&gt;
    Debug.Print urArray(i)&lt;BR /&gt;
  Next i&lt;BR /&gt;
[/code]&lt;BR /&gt;
&lt;BR /&gt;
-- &lt;BR /&gt;
gl - Paul&lt;BR /&gt;
"C Witt" &lt;CWITT_AT_TRKENG.COM&gt; wrote in message &lt;BR /&gt;
news:4992341@discussion.autodesk.com...&lt;BR /&gt;
ok, first off, i don't know vba.. i know lisp..&lt;BR /&gt;
&lt;BR /&gt;
(list "start" "end" "end2")&lt;BR /&gt;
&lt;BR /&gt;
easy..&lt;BR /&gt;
&lt;BR /&gt;
but in vba, i'm lost and can't find anything that explains how this is&lt;BR /&gt;
done (or if it can)..&lt;BR /&gt;
&lt;BR /&gt;
my goal is to use it in this code.. (that i pulled from this NG)..&lt;BR /&gt;
     For Each NLType In LLType&lt;BR /&gt;
         ThisDrawing.Linetypes.Load NLType, "acad.lin"&lt;BR /&gt;
     Next&lt;BR /&gt;
&lt;BR /&gt;
so how can i create a list of names and set them to the variable LLType??&lt;BR /&gt;
&lt;BR /&gt;
TIA.  (first of many questions i will end up asking)&lt;/CWITT_AT_TRKENG.COM&gt;</description>
      <pubDate>Sun, 23 Oct 2005 14:53:20 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/create-a-list-of-strings/m-p/1466751#M39613</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2005-10-23T14:53:20Z</dc:date>
    </item>
    <item>
      <title>Re: create a list of strings?</title>
      <link>https://forums.autodesk.com/t5/vba-forum/create-a-list-of-strings/m-p/1466752#M39614</link>
      <description>might have been clearer if I wrote.&lt;BR /&gt;
&lt;BR /&gt;
Dim urArray&lt;BR /&gt;
as&lt;BR /&gt;
Dim urArray() As Variant&lt;BR /&gt;
&lt;BR /&gt;
urArray is now a 'Variant array' from the get&lt;BR /&gt;
go, instead of just a 'Variant'. If no type is listed,&lt;BR /&gt;
'Dim urArray', then Variant is understood&lt;BR /&gt;
as the default.&lt;BR /&gt;
&lt;BR /&gt;
-- &lt;BR /&gt;
gl - Paul&lt;BR /&gt;
"Paul Richardson" &lt;SPAMTHIS&gt; wrote in message &lt;BR /&gt;
news:4992358@discussion.autodesk.com...&lt;BR /&gt;
[code]&lt;BR /&gt;
  Dim urArray&lt;BR /&gt;
  urArray = Array("one", "two", "three")&lt;BR /&gt;
&lt;BR /&gt;
  Dim arrayItem As Variant&lt;BR /&gt;
  For Each arrayItem In urArray&lt;BR /&gt;
    Debug.Print arrayItem&lt;BR /&gt;
  Next arrayItem&lt;BR /&gt;
&lt;BR /&gt;
  'or&lt;BR /&gt;
&lt;BR /&gt;
  Dim i As Integer&lt;BR /&gt;
  For i = 0 To UBound(urArray)&lt;BR /&gt;
    Debug.Print urArray(i)&lt;BR /&gt;
  Next i&lt;BR /&gt;
[/code]&lt;BR /&gt;
&lt;BR /&gt;
-- &lt;BR /&gt;
gl - Paul&lt;BR /&gt;
"C Witt" &lt;CWITT_AT_TRKENG.COM&gt; wrote in message&lt;BR /&gt;
news:4992341@discussion.autodesk.com...&lt;BR /&gt;
ok, first off, i don't know vba.. i know lisp..&lt;BR /&gt;
&lt;BR /&gt;
(list "start" "end" "end2")&lt;BR /&gt;
&lt;BR /&gt;
easy..&lt;BR /&gt;
&lt;BR /&gt;
but in vba, i'm lost and can't find anything that explains how this is&lt;BR /&gt;
done (or if it can)..&lt;BR /&gt;
&lt;BR /&gt;
my goal is to use it in this code.. (that i pulled from this NG)..&lt;BR /&gt;
     For Each NLType In LLType&lt;BR /&gt;
         ThisDrawing.Linetypes.Load NLType, "acad.lin"&lt;BR /&gt;
     Next&lt;BR /&gt;
&lt;BR /&gt;
so how can i create a list of names and set them to the variable LLType??&lt;BR /&gt;
&lt;BR /&gt;
TIA.  (first of many questions i will end up asking)&lt;/CWITT_AT_TRKENG.COM&gt;&lt;/SPAMTHIS&gt;</description>
      <pubDate>Sun, 23 Oct 2005 15:03:33 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/create-a-list-of-strings/m-p/1466752#M39614</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2005-10-23T15:03:33Z</dc:date>
    </item>
    <item>
      <title>Re: create a list of strings?</title>
      <link>https://forums.autodesk.com/t5/vba-forum/create-a-list-of-strings/m-p/1466753#M39615</link>
      <description>thank you.&lt;BR /&gt;
&lt;BR /&gt;
there should be a list somewere that compares lisp to vba..  ugh..</description>
      <pubDate>Sun, 23 Oct 2005 20:09:59 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/create-a-list-of-strings/m-p/1466753#M39615</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2005-10-23T20:09:59Z</dc:date>
    </item>
    <item>
      <title>Re: create a list of strings?</title>
      <link>https://forums.autodesk.com/t5/vba-forum/create-a-list-of-strings/m-p/1466754#M39616</link>
      <description>your welcome...&lt;BR /&gt;
&lt;BR /&gt;
your could also dimension your array as a string,&lt;BR /&gt;
and give it a specific size as such.&lt;BR /&gt;
&lt;BR /&gt;
  Dim urArray(0 To 2) As String&lt;BR /&gt;
  urArray(0) = "one"&lt;BR /&gt;
  urArray(1) = "two"&lt;BR /&gt;
  urArray(2) = "three"&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
-- &lt;BR /&gt;
gl - Paul&lt;BR /&gt;
"C Witt" &lt;CWITT_AT_TRKENG.COM&gt; wrote in message &lt;BR /&gt;
news:4992420@discussion.autodesk.com...&lt;BR /&gt;
thank you.&lt;BR /&gt;
&lt;BR /&gt;
there should be a list somewere that compares lisp to vba..  ugh..&lt;/CWITT_AT_TRKENG.COM&gt;</description>
      <pubDate>Sun, 23 Oct 2005 20:34:44 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/create-a-list-of-strings/m-p/1466754#M39616</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2005-10-23T20:34:44Z</dc:date>
    </item>
  </channel>
</rss>

