Val

From Lazarus wiki
Revision as of 22:03, 7 November 2018 by Kai Burghardt (talk | contribs) (link to system unit reference, remove category included by Template:Val)
Jump to navigationJump to search

Deutsch (de) English (en) русский (ru)

Procedure Val converts the String value S to its numeric representation.

S is a string-type expression; it must be a sequence of characters that form a signed whole number. V is an integer-type or real-type variable. Code is a variable of type Integer. If the string is invalid, the index of the offending character is stored in Code; otherwise, Code is set to zero.


Declaration

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


see also