Previous: 3.2.24. $TPO: Typed Inc/Dec Operations Switch To the Table of Contents Next: 3.2.26. $W: Warnings Generation Switch
3.2.24. $TPO: Typed Inc/Dec Operations Switch Table of Contents 3.2.26. $W: Warnings Generation Switch

- 3.2.25. -
Table of Contents>
3. Compiler Directives
3.2. Switch and Parameter Directives
3.2.25. $V: Var-String Checking Switch


3.2.25. $V: Var-String Checking Switch


Targets: MS-DOS, OS/2, Win32


Compiler directives

Controls type-checking on strings passed as variable parameters.

Syntax:
  {$V+} or {$V-}
Default:
  {$V+}
Remarks:
If {$V+} defined, strict type-checking is performed, requiring the formal and actual parameters to be of identical string types. Otherwise any string-type variable is allowed as an actual parameter, even if the declared maximum length is not the same as that of the formal parameter.


Previous: 3.2.24. $TPO: Typed Inc/Dec Operations Switch To the Table of Contents Next: 3.2.26. $W: Warnings Generation Switch
3.2.24. $TPO: Typed Inc/Dec Operations Switch Table of Contents 3.2.26. $W: Warnings Generation Switch

- 3.2.25. -