Show/Hide Toolbars

XSharp

The -allowoldstyleassignments compiler option allows you to control if the single Equals ("=") operator should be allowed to assign values.

The default for the FoxPro dialect is /allowdot+

The default for the other dialects is /allowdot-

Syntax

-allowoldstyleassignments[+ | -]

Arguments

+ | - Specifying +, or just -

To set this compiler option in the Visual Studio development environment:

 

1.Open the project's Properties page.

2.Click the Language tab.

3.Change "Allow Old Style assignments" Value of checkbox

4.Click here to see the property page