Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Function without an AS clause
Message
From
08/12/2005 07:35:54
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
General information
Forum:
ASP.NET
Category:
Migration
Miscellaneous
Thread ID:
01075495
Message ID:
01076093
Views:
25
>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)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform