也就是说,在Vimscript中,printf并不会输出其数据参数列表的格式化后的版本;它会返回一个字符串,其中包含了数据参数列表的格式化后的版本。
That is, in Vimscript, printf doesn't print a formatted version of its list of data arguments; it returns a string containing a formatted version of its list of data arguments.
省略构造函数参数列表和封闭的圆括号等价于指定一个空参数列表。
Omitting the constructor argument list and enclosing parentheses is equivalent to specifying an empty argument list.
省略构造函数参数列表和封闭的圆括号等价于指定一个空参数列表。
Omitting the constructor argument list and enclosing parentheses is equivalent to specifying an empty argument list.
应用推荐