SKILL常见的输出格式规范
格式字符
Type(s) ofArgument
Prints
%d
fixnum
Integer in decimal radix
%o
fixnum
Integer in octal
%x
fixnum
Integer in hexadecimal
%f
fixnum
Floating-point number in the style [-]ddd.ddd
%e
fixnum
Floating-point number in the style[-]d.ddde[-]ddd
%g
fixnum
Floating-point number in style f ore, whichevergives full precision in minimum space
%s
string, symbol
Prints out a string (without quotes)or the printname of a symbol
%c
string, symbol
The first character
%n
fixnum, flonum
Number
%L
list
Default format for the data type
%P
list
Point
%B
list
Box
Point:为坐标,包括x和y。格式为list(x,y)
Box:为一方形区域坐标,包括左下和右上,格式为:list( lowerLeft upperRight )。比如:
bBox = list( 300:400 500:450 )
完全没看懂这是什么 好,谢谢罗老师 谢谢老师,学习了
页:
[1]