请选择 进入手机版 | 继续访问电脑版
搜索
专业IC版图外包服务 微信:drclvs
广告位:SY02 广告业务联系QQ:3173974412
无锡芯满微电子有限公司---专业研发电机驱动芯片
IC设计论坛----ictown.com
广告位:SY05 广告业务联系QQ:3173974412
查看: 573|回复: 0

[转帖] setSGq and getSGq

[复制链接]

14

主题

14

帖子

161

E币

技术员

Rank: 2

积分
28
发表于 2017-5-8 10:43:21 | 显示全部楼层 |阅读模式
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)
积分规则
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则



版权所有:EDABOSS论坛 投诉受理:13816911948 合作热线:13816911948

备案信息:苏经营性ICP B2-20090218号 皖ICP备09697823号 电子公告服务许可文件号:皖通[2009]556号

Powered by EDABOSS X3.4 Tamplate By EDABOSS论坛  © 2001-2013 Comsenz Inc.

广告投放 微信:drclvs

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