Re: Is my Control a cotrol array ??

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



"Michael C" <nospam@xxxxxxxxxx> wrote in message
news:u$sLYeGVGHA.2156@xxxxxxxxxxxxxxxxxxxx
"Bob Butler" <tiredofit@xxxxxxxxxxx> wrote in message
news:e9d3XQGVGHA.2276@xxxxxxxxxxxxxxxxxxxxxxx
And nothing form you expect general platitudes saying it's a bad
idea.

That's definately wrong. I've raised one very good point that has
been left unanswered. What happens if you store data for years from
1970 to 2010 but need to change to every second year?

If I needed to change every second year it wouldn't be a fixed array. It
would be dimensioned dynamically or I wouldn't use that technique in the
first place. It's all about using the tools appropriate for the task.

Here's another. Apparently there are reasonable performance gains from
having arrays fixed at 0. For the rarity of arrays that don't start
at zero (never in 23+ years for me) it's not worth the performance
hit.

That's because of the way it is implemented currently and, even if it were
always true, it would make sense to leave the array syntax in VB alone and
create a new syntax to define the more performant vector data type. That
way people could move their code forward and then rewrite as needed to gain
additional performance if the decide it is necessary. Telling me that I
have to spend uncountable man-hours rewriting and re-testing thousands of
lines of working code because when I'm done it will be faster is simply
ludicrous.

In VB.Net, yes, at least for a version or two to deprecate them.

Should we put in gosub as well :-)

Absolutely. I got out of the habit of using it years ago but reading the
other threads I see exactly how useful it could be and now I'm watching for
places to utilize it.

I fully agree with and applaude the "we HAD to make the changes".
Com with vb6 was basically broken and needed fixing in a major way.
A minor update couldn't have fixed the issues.

What a load of crap.

Again with the non points bob.

alpine said it best

Except for the parts where MS extends it...

Hopefully they do. :-)

And then they'll be free to break the extensions.

--
Reply to the group so all can participate
VB.Net: "Fool me once..."

.



Relevant Pages

  • Re: Which data structure should Iuse for fast retrieval(KS)
    ... > store data using an index, use an array. ... I have used CMapStringToString where I have to map a string to another string. ... >> Pls clarify as I am doing frequent searches in a file.My idea is read ...
    (microsoft.public.vc.mfc)
  • Re: Any way to take a word as input from stdin ?
    ... Now here I am thinking of using fgets() to ... fgetsuses array top store data and I don't know how large ... so I can't decide on the size of the array. ... I mean the char that doesn't belong to the word and signifies ...
    (comp.lang.c)
  • Implementation question
    ... For an application I'm developing I need to store data from a file in a ... The data itself can be real or string or a combination of the both. ... I would like to make available to libraries, ... I first had in mind of using an "array of array of string", ...
    (comp.lang.pascal.delphi.misc)
  • Re: Is my Control a cotrol array ??
    ... Why would it be a fixed array anyway? ... So the technique is becoming dependant on the data? ... way people could move their code forward and then rewrite as needed to ... lines of working code because when I'm done it will be faster is simply ...
    (microsoft.public.vb.controls)
  • Re: splitting a string and putting it into an array?
    ... > an two-dimensional array. ... CData MyData; ... while(InputFile>> MyData) { ...
    (comp.lang.cpp)