Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Function without an AS clause
Message
General information
Forum:
ASP.NET
Category:
Migration
Miscellaneous
Thread ID:
01075495
Message ID:
01076318
Views:
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.
>
>If you turn option explicit on you will see that these issues are marked as Errors not warnings.

Ok, it's probably in the migration process then. Probably the option explicit setting got changed. I thought it was a restriction in VS 2005 but probably before those errors didn't show because of that setting.
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
Previous
Reply
Map
View

Click here to load this message in the networking platform