找回密码
 注册

QQ登录

只需一步,快速开始

扫一扫,访问微社区

巢课
电巢直播8月计划
查看: 426|回复: 2
打印 上一主题 下一主题

setSGq and getSGq 函數說明使用

[复制链接]

57

主题

1857

帖子

7919

积分

六级会员(60)

Rank: 6Rank: 6

积分
7919
跳转到指定楼层
1#
发表于 2015-9-22 15:23 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式

EDA365欢迎您!

您需要 登录 才可以下载或查看,没有帐号?注册

x
Squiggle Arrow (~>) Operator

The squiggle arrow (~>) operator is a generalization of the arrow operator. It works the same way as an arrow operator when applied directly to an object, but it can also accept a list of such objects. It walks the list applying the arrow operator whenever it finds an atomic object.

The underlying functions for ~> operator are the setSGq and getSGq functions, which set and retrieve the value of an attribute or a property. For example,

setSGq(obj value prop)             ; is equivalent to:
obj~>prop=value
a=getSGq(obj prop)                 ; is equivalent to:
a=obj~>prop
info=getSGq(cvId objType)          ; is equivalent to:
info=cvId~>objType
setSGq(rect list(10:10 100:120) bBox) ; is equivalent to:
rect~>bBox=list(10:10 100:120)
分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友 微信微信
收藏收藏2 支持!支持! 反对!反对!

8

主题

468

帖子

2639

积分

四级会员(40)

Rank: 4Rank: 4Rank: 4Rank: 4

积分
2639
2#
发表于 2015-9-22 17:21 | 只看该作者
文档里面没有找到getSGq和setSGq,只有putpropq和~>等价。
请问LZ这个说明是在哪儿找的?

点评

網上找到的資料,很多搜尋軟件都可以找到.  详情 回复 发表于 2015-9-23 08:36

57

主题

1857

帖子

7919

积分

六级会员(60)

Rank: 6Rank: 6

积分
7919
3#
 楼主| 发表于 2015-9-23 08:36 | 只看该作者
chrysalis 发表于 2015-9-22 17:21
文档里面没有找到getSGq和setSGq,只有putpropq和~>等价。
请问LZ这个说明是在哪儿找的?

網上找到的資料,很多搜尋軟件都可以找到.
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

推荐内容上一条 /1 下一条

巢课

技术风云榜

关于我们|手机版|EDA365 ( 粤ICP备18020198号 )

GMT+8, 2025-2-23 07:35 , Processed in 0.057072 second(s), 33 queries , Gzip On.

深圳市墨知创新科技有限公司

地址:深圳市南山区科技生态园2栋A座805 电话:19926409050

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