Sign in Join
Wiki copytemporary

Val/ru: what changed

Revision 1 to 2. Removed lines have a minus sign; added lines have a plus sign.

OldNewLine
11Процедура **Val** преобразовывает [[String/ru|строку]] **S** в её числовое представление.
22
33*S* - выражение строкового типа; оно должно быть последовательностью символов, образующей знаковое целое число. *V* - переменная целого или вещественного типа. *Code* - переменная типа [[Integer/ru|Integer]]. Если строка некорректна, позиция ошибочного символа указывается в *Code*; в противном случае *Code* устанавливается равным 0.
44
55Объявление
66
7-`procedure Val(S; var V; var Code: Integer);`
7+``` pascal
8+procedure Val(S; var V; var Code: Integer);
9+```
810
911См. также:
1012
1113- [[Str/ru|Str]]
1214
1315---
1416*From the Free Pascal wiki, page "Val/ru", as it stood on 2018-03-22 after a change by Useroflazarus, out of the wiki's dump of 2024-05-26. Copyright stays with the author who wrote it, according to the old wiki's [[Licensing]] page. If you have concerns about this material, [message the admin](/wiki-contact).*
1517Category: Pascal/ru

Back to history