Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Converting this line to VB.NET
Message
De
21/08/2006 10:18:24
 
 
À
21/08/2006 01:33:55
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Versions des environnements
Environment:
VB 8.0
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01147027
Message ID:
01147284
Vues:
19
>If you are CERTAIN that "lnlocation" is not accessed directly anywhere in the called method
>you could also
>
>loStringBuilder.Append(tcSearchIn, lnLocation, 1)
>' System.Threading.Interlocked.Increment(lnLocation), 1)
>lnLocation = lnLocation + 1
>
>If you don't view/interpret pre/post-incrementing as "functions" in themselves you will run into trouble in complex lines <g>. The code *probably* needs only the above - you would have to ask the author of the original code or read a bit there...

Yes, this is much better. Thanks
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform