Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Command substitution
Message
De
03/05/1998 18:42:47
 
 
À
03/05/1998 14:40:46
Information générale
Forum:
Visual Basic
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00096611
Message ID:
00096620
Vues:
21
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform