2015年5月22日
摘要: //函数基本定义func 函数名(参数名:参数类型=默认值) ->返回值类型{代码块}//无参无返回值函数func hsmin(){}//单参无返回值函数func prin(st:String){ println(st)}prin("111")//111func yuanzu(tup:(St... 阅读全文
posted @ 2015-05-22 04:06 雨过平静 阅读(214) 评论(0) 推荐(0) 编辑