Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Command substitution
Message
From
04/05/1998 08:24:02
Jay Shepherd
Construction DataFax, Inc.
Montevallo, Alabama, United States
 
 
To
03/05/1998 18:42:47
General information
Forum:
Visual Basic
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00096611
Message ID:
00096675
Views:
18
>>If I have a number of variables named similarly with each name ending in a number (ie. date1, date2, date3...) could I refer to them with a string? (I do not want an array here)
>>ie.
>>For x - 1 to 6
>> varname = "date" + mid(str(x),2)
>> ? varname
>> ?
>>next x
>
>
>No, not possible in VB.

One thing that you might try, is to use the Microsoft Scripting Control. I've heard of other developers (read, not me) using this to do what you need.

It's a free control somewhere on the MS site.
Jay Shepherd
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform