Cadence Skill 论坛

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
查看: 7033|回复: 3

SKILL常见的输出格式规范

[复制链接]
发表于 2013-5-10 22:37:32 | 显示全部楼层 |阅读模式
  格式字符
  
  
Type(s) of
  Argument
  
  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 or  e, whichever
  gives full precision in minimum space
  
  %s
  
  string, symbol
  
  
Prints out a string (without quotes)  or the print
  name 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 )

发表于 2014-12-20 20:29:15 | 显示全部楼层
完全没看懂这是什么
发表于 2016-4-19 17:12:18 | 显示全部楼层
好,谢谢罗老师
发表于 2017-6-7 20:25:50 | 显示全部楼层
谢谢老师,学习了
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|网站地图|Cadence Skill 论坛 ( 蜀ICP备13024417号 )

GMT+8, 2024-4-30 02:58 , Processed in 0.183300 second(s), 17 queries .

Powered by Discuz! X3.4

© 2001-2017 Comsenz Inc.

快速回复 返回顶部 返回列表