预先定义变数(Pre-defined Variable)
与异常相关:
$! raise设定的异常资讯讯息。
$@ 最近被掷出之异常的追踪资讯阵列。
与最近字样比对动作相关:
$& 符合字样之内容。
$` 符合字样之字串左侧的内容。
$' 符合字样之字串右侧的内容。
$+ 符合最后一个字样分组的内容。
$1 to $9 符合第1 到9 个字样分组的内容。
$~ 比对动作相关资讯。
$= The flag for case insensitive, nil by default.
$/ The input record separator, newline by default.
$\ The output record separator for the print and IO#write. Default is nil.
$, The output field separator for the print and Array#join.
$; The default separator for String#split.
$. The current input line number of the last file that was read.
$< The virtual concatenation file of the files given on command line.
$> The default output for print, printf. $stdout by default.
$_ The last input line of string by gets or readline.
$0 手稿程式的名称。可指派。
$*命令列引数阵列,即ARGV。
$$ 运行手稿程式的Ruby 行程识别码(PID)。
$? 最后执行的子行程之状态码。
$: 载入(load or require)手稿程式档案或模组时之搜寻路径的阵列。
$"以require载入的模组名称之阵列。
分享到:
相关推荐
RF and Digital Signal Processing for Software-Defined Radio: A Multi-Standard Multi-Mode Approach by Tony J. Rouphael RF and Digital Signal Processing for Software-Defined Radio: A Multi-...
Software-defined radios (SDRs) have been around for more than a decade. The first complete Global Positioning System (GPS) implementation was described by Dennis Akos in 1997. Since then several ...
A Software-Defined GPS and Galileo Receiver -- A Single-Frequency Approach
Software-Defined Networking (SDN) with OpenStack-Packt Publishing(2016)
基于液化变形超越概率模型的液化灾害区划初探,刘芳,李震,地震所引起的液化侧向变形严重违威胁着城市生命线工程的安全。基于新近提出的液化侧向变形超越概率模型,本文提出了一种新的基于
Software-Defined_Storage-vForum-final,软件定义的存储 -VMware的战略和愿景
Virtualized Software-Defined Networks and Services 英文无水印pdf pdf所有页面使用FoxitReader和PDF-XChangeViewer测试都可以打开 本资源转载自网络,如有侵权,请联系上传者或csdn删除 本资源转载自网络,...
这篇论文是目前SDN领域最完整和全面的一篇总结型论文。这篇论文长达61页,引用了579份参考文献,全面细致地介绍了SDN科研领域的方方面面。
Software-Defined Cloud Centers,2018年新书,介绍软件定义数据中心技术。
前端开源库-if-defined如果定义了值,则返回true
Software-Defined-Perimeter.zip
一本很好介绍GPS接收机的英文书 Applied and Numerical Harmonic Analysis Series Editor John J. Benedetto University of Maryland Editorial Advisory Board Akram Aldroubi Douglas Cochran ...
Springer - A Software-Defined GPS and Galileo Receiver 源代码
AS400资料(5)------Separation ODBC jobs into user-defined subsystem.zip
中文译名《软件无线电中的射频与数字信号处理》,不可多得的一部实用的软件无线电著作,可以当作手册,供工程人员参考借鉴。
高结晶性Na2Zn3[Fe(CN)6]2正极的合成及其电化学性能研究,吴晨,钱江锋,本文,我们报道了一种简单的共沉淀反应制备六方晶系 Na2Zn3[Fe(CN)6]2纳米颗粒(~300 nm)。电化学测试表明,该材料具有可逆的嵌钠反应行
UDF官方教程10.User-Defined Functions Appendix C-Programming.pdf
Software -defined warfare architecting the DOD‘s Transition to the digital age2022年9月软件定义战争构建美国国防部向数字时代转型架构作者Nand MulchandaniJohn N.T. “ Jack”Shanahan国际战略研究中心战略...
MATLAB课件:ch5 User-Defined Functions.ppt