Val (procedure)

Language:
Русский
English

 Val (procedure)


Converts a string value to its numeric representation.

Declaration

 procedure Val(S; var V; var Code: Integer);

where:

  S          string-type variable; must be a sequence of characters that
             form a signed whole number
  V          integer-type or real-type variable
  Code       variable of type Integer.

Target

Windows, Real, Protected

Remarks

Converts the string value (S) to its numeric representation, as if it were read from a text file with Read.

See Also

 Str

Sample Code

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