$V: Var-String Checking Switch


 $V:  Var-String Checking Switch

Controls type-checking on strings passed as variable parameters.

   Syntax:        {$V+} or {$V-}
   Default:       {$V+}
   Type:          Local
   Menu Command:  Options|Compiler|Strict Var-String

The $V+ State

In the $V+ state, strict type-checking is performed, requiring the formal and actual parameters to be of identical string types.

The $V- State

In the $V- state, 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. Although $V- is still supported, you should use the open string parameters.

See Also


Тэги: $V
| G+
Код для вставки: :: :: :: ::
Поделиться: // //