Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Command substitution
Message
From
03/05/1998 18:42:47
 
 
To
03/05/1998 14:40:46
General information
Forum:
Visual Basic
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00096611
Message ID:
00096620
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.
Guy Barrette, MCSD
============
Blog http://weblogs.asp.net/guybarrette
Microsoft Regional Director, Montreal, Canada www.microsoft.com/rd
MVP, ASP.NET http://mvp.support.microsoft.com/
President, Montreal Visual Studio User Group www.guvsm.net
INETA Regional Rep for Quebec www.ineta.org
UniversalThread Magazine Columnist (.NET Books Review Column) www.utmag.com
Tech Chair French Track, DevTeach 2004 & 2005 www.devteach.com
Business Architect, Microsoft Team - Nurun Inc www.nurun.com
XBox Live Gamer Tag: Slomo QC CA
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform