Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Gains to achieve by strong typing memory variables
Message
De
05/07/2002 06:30:49
 
 
À
04/07/2002 07:39:43
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00675290
Message ID:
00675550
Vues:
10
>With VFP 7.0 we can define memory variables indicating their types,
> I would like to know from yours experiencies, if is there some real gain
> or loss in coding in such manner ??
>
> - The size of the final executable is smaller ?
> - The speed of execution is increasead ?
> - Can this can improve debugging time ?
>
> Regards,
>
> João Canêdo

As David said... Strong typing does not give any advantages to the compiled desktop executable.

From VFP Help:
Visual FoxPro is not a strongly typed language in which you must declare variables as a specific data type. However, strong typing, when used in this version of Visual FoxPro, provides control that makes coding easier and less error-prone, and supports IntelliSense for these items in the editor.

Note Strong typing is not enforced at design time or at run time. In Visual FoxPro, strong typing allows IntelliSense objects in the editor. Strong typing also is used in OLEPUBLIC type libraries.


Check http://msdn.microsoft.com/library/default.asp?url=/library/en-us/fox7help/html/neconstrongtypinginclassobjectsvariablecode.asp for more info.

HTH
Zlatin Zlatev,
MCSD (VS6)

Make solutions, not programs!

Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform