SKILL语言的函数调用有三种方式,下面我们以strcat函数举例说明:
(1)strcat("hellow" "," "world" "!") ;类似于C语言(strcat 和括号之间没有空格,否则会出错)
(2)(strcat"hellow" "," "world" "!") ; 类似于Lisp语言
(3)strcat"hellow" "," "world" "!" ;(2)的括号可以省略
这三种的输入返回值均为:"hellow,world!"
其中推荐使用第一种方式,比较规范,不容易出错
延申:
strcat函数,是获取输入字符串或符号,并将它们连接起来的函数。(Takes input strings or symbols and concatenates them.)