(read string)
功能及参数
此函数将返回 string 的第一个表或原子。但 string 不可以包含空格, 除非是在表或字符串中 。read 会返回它的参数转换的相对应数据类型。
Command: (read "(a b c) (d)")
(A B C)
Command: (read "97 3.2")
97
Command: (read "hello there")
HELLO
命令: (read "0.a") 0 命令: (read "0a") 0A
命令: (read "0. a") 0.0
命令: (read "999.a") 999
:)
|