上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 82 下一页
摘要: string map ? -nocase ? mapping string根据mapping表里面的key-value关系替换string中的子字符串,mapping是一个类似于key value key value …的列表,每个在string中的key都会被value替换。如果指定了-nocase,匹配就不需要考虑大小写,但是替换时完全按照替换字符的大小写进行替换。key和value都可以是多字符的,置换按照一定的顺序进行,所以在列表前面的key会被优先置换。string只会被置换一次,所以前面做过置换操作的字符将不匹配后面的key。% string map "ab cd&quo 阅读全文
posted @ 2012-08-01 20:48 greencolor 阅读(370) 评论(0) 推荐(0) 编辑
摘要: string is class?-strict? ?-failindexvarname?string如果string是指定class中的成员就返回1,否则返回0。如果指定了-strict,空字符串就返回0,不指定则返回1。如果指定了-failindex,那么将导致不匹配的索引储存在varname中,如果返回1则varname不会被赋值。列举了以下字符类:判断字符串是否由字母和数字组成使用alnum:% string is alnum "abc123"1判断字符是否是由字母组成使用alpha:% string is alpha "abc"1任何ASCII码 阅读全文
posted @ 2012-08-01 20:41 greencolor 阅读(202) 评论(0) 推荐(0) 编辑
摘要: addAttribute initialize the updateScheduled($attribute) = 0updateRegisteredComponentsincr updateScheduled($attribute)if { updateScheduled($attribute) == 1 } {after idle [list safeCallback "$this updateRegisteredComponentsNow $attribute $initiatorId_"]} 阅读全文
posted @ 2012-07-29 17:16 greencolor 阅读(890) 评论(0) 推荐(0) 编辑
摘要: SELINUX=disabled 阅读全文
posted @ 2012-07-22 19:30 greencolor 阅读(135) 评论(0) 推荐(0) 编辑
摘要: class--------------class DCS::String {}--------------namespace eval---------------namespace eval ::device DCS::String abcnamespace eval ::device DCS::String bcdnamespace eval ::deviceb DCS::String efg---------------usage--------------::device::abc::device::bcd::deviceb::efg-------------- 阅读全文
posted @ 2012-07-17 14:53 greencolor 阅读(156) 评论(0) 推荐(0) 编辑
摘要: TitledMotorEntry { itk_option define constructor {args} { itk_component add ring { frame $itk_interior.ring } itk_component add Titled Frame { ::DCS::TitledFrame $itk_component(ring).l } { keep -laelText -labelFont -labelPadX -labelBackground } .pw.pane0.childsite.bluice.n.canvas.notebook.cs.page1.. 阅读全文
posted @ 2012-07-15 23:57 greencolor 阅读(141) 评论(0) 推荐(0) 编辑
摘要: deviceFactory0 cget -option deviceFactory0 configure ?-option? ?value -option value...? deviceFactory0 createCassetteOwnerString name ?arg arg ...? deviceFactory0 createCollimatorPresetString name ?arg arg ...? deviceFactory0 createCoreDevices deviceFactory0 createDefaultSignals deviceFactory0 crea. 阅读全文
posted @ 2012-07-15 09:44 greencolor 阅读(108) 评论(0) 推荐(0) 编辑
摘要: yum install *gfortran* 阅读全文
posted @ 2012-06-22 13:21 greencolor 阅读(1224) 评论(0) 推荐(0) 编辑
摘要: static struct gpibCmd gpibCmds[] ={ /* Parameter 0 */ {f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13}, /* parameter 1 */ ...};wheref1 Address of the Device Support Entry Table (DSET) that describes the record type supported by the table entry..f2 Type of GPIB I/O operation that is to be per 阅读全文
posted @ 2012-06-03 23:01 greencolor 阅读(6154) 评论(0) 推荐(0) 编辑
摘要: * If you're using an Ethernet/RS-232 converter or a device which communicates over a telnet-style socket connection you need to specify the Internet host and port number like: drvAsynIPPortConfigure("L0","164.54.9.91:4002",0,0,0) * If you're using a serial line directly a 阅读全文
posted @ 2012-05-18 00:22 greencolor 阅读(296) 评论(0) 推荐(0) 编辑
上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 82 下一页