Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Proper way of declaration
Message
De
06/08/2006 16:09:19
 
 
À
06/08/2006 15:56:52
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:
01143264
Message ID:
01143315
Vues:
12
>It's not that it's *wrong*, meaning it won't work ... but since it's not necessary to do, then it's simply redundant and I doubt if it makes it any clearer to the developer as to what is going on.

Ok, let's try this code:
        Public lLogin As Boolean = False
        Public lSave As Boolean = True
        Public nErrorValidation As Integer = 0
        Public nPrimaryKey As Integer = 0
        Public nSQLMode As Integer = 1
        Public oApp As Framework.App = New Framework.App
        Public oDataProvider As Framework.Data = New Framework.Data(oApp)
        Public oDropDownCondition As Collection = New Collection
To me, it is much easier to understand the declarations when everything is declared the same way.
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform