TCL自學(xué)筆記-01

*createentity

Syntax

*createentity entity_type ?name1=value1? ?name2=value2? ... ?name3=valueN?

Examples

Create a set with name set1, cardimage GRNOD:

*createentity sets name=set1 cardimage=GRNOD

自學(xué)語句:

*createentity props cardimage = SHELLSECTION name = $name

以上語句又等價(jià)于

*createentity props name=$name cardimage=SHELLSECTION

也就是?name1=value1? ?name2=value2? ... ?name3=valueN?順序可以任意排列。

hm_getvalue

Syntax

hm_getvalue entity_type <select_type>=<selection> dataname=<data name or attribute name/ID> ?row=<row_index>? ?column=<column_index>?

Examples

hm_getvalue sets id=1 dataname=name

自學(xué)語句:

hm_getvalue comps id = $comp_id dataname = name

hm_getvalue comps id=1 dataname=name

堅(jiān)持每天學(xué)習(xí),時(shí)間會(huì)證明一切,加油

登錄后免費(fèi)查看全文
立即登錄
App下載
技術(shù)鄰APP
工程師必備
  • 項(xiàng)目客服
  • 培訓(xùn)客服
  • 平臺(tái)客服

TOP

2