Re: String() declaration?

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Basically it means :

- temp is an array of strings

- the temp array is holding strings

So this is two ways to tell the same thing. I tend to favor #2 as it is more
consistent with waht you do in your code i.e. temp(myIndex).

--
Patrice



"Anil Gupte/iCinema.com" <anil-list@xxxxxxxxxxx> a écrit dans le message de
groupe de discussion : uAROveZOJHA.2100@xxxxxxxxxxxxxxxxxxxxxxx
Can someone please explan the difference between

Dim temp as String()

and

Dim temp() as String

in terms of syntax and practical usage? I thought I knew, but of late
have become confused due to reasons too complicated to go in here.

Will appreciate your inputs.
--
Anil Gupte
www.keeninc.net
www.icinema.com
www.wizo.tv


.



Relevant Pages

  • Re: beginner string question
    ... > a compile error. ... Use std::string instead of plain C-style strings. ... If you declared temp ... result of comparing will be always false. ...
    (comp.lang.cpp)
  • Re: beginner string question
    ... Sorry but I gave the wrong info, I declared "temp" as a character array if ... I did use strings but they were breaking up in ... > a compile error. ...
    (comp.lang.cpp)
  • Re: Problem with this text-sorting algorithm
    ... I need to write an algorithm which will sort an array of text strings ... I'd done the sort. ... Dim temp As String ...
    (microsoft.public.vb.general.discussion)
  • Re: humidifiers
    ... So if the temp goes up a couple of degrees, the strings will expand, ... I don't see your pitch test as diagnostic of anything. ...
    (alt.guitar.beginner)