Re: Loop through Non-Array Variables

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Steve Gerrard

    #1

    Re: Loop through Non-Array Variables

    Steve wrote:
    How can I achieve this in VB?
    >
    I'm using VB.Net 2005. I have a framework that auto-generates a lot
    of non-arrayed variables with a consistent naming scheme, like:
    float1, float2, ... float24
    >
    Obviously this is what arrays are for, but I have no control over the
    framework and I cannot change it to produce arrays.
    >
    Even if you can't change this mysterious framework, can't you change the code it
    produces? Search for float1, replace with float(1); etc. It might seem like a
    pain, but not nearly as big a pain as working with a bunch of variables called
    float1, float2,...


Working...