阿玛拉王国惩罚 锻造:PASCAL中VAL的用法

来源:百度文库 编辑:神马品牌网 时间:2024/05/17 07:14:59
...就是因为英文太难理解才来问的.请给我中文的解释吧

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 sequenc
form a signed whole number
V integer-type or real-type variable
Code variable of type Integer.