Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Function without an AS clause
Message
De
08/12/2005 07:35:54
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
Information générale
Forum:
ASP.NET
Catégorie:
Migration
Divers
Thread ID:
01075495
Message ID:
01076093
Vues:
26
>If you have a routine in VB.NET that doesnt return anything it needs to be declared SUB not Function.
>
>In FOX function and sub are the same. In .net they are not.

Correction: What you say applies to VB or VB.NET, but not to .NET in general.

For example, in C#, there exist only functions; if there is no return value, a return type of "void" is declared.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform