摘要:Visual basic随机文件记录含有汉字时,会发生读出记录不全的错误.究其原因,即记录的字段必须为定长的字符串,当写入或读出记录的长度少于定长的字符串长度时,会用空白来填充记录中后面的空间,用VB的内部函数RTrim或Trim都不能除掉这个空白.在此通过调用一个自定义函数,给出解决这一问题的方法.
注:因版权方要求,不能公开全文,如需全文,请咨询杂志社
热门期刊服务
直通VIP Journal of Environmental Sciences Biomedical and Environmental Sciences Journal of Ocean University of China Chemical Research in Chinese Universities Earthquake Engineering and Engineering Vibration Journal of Central South University Journal of Zhejiang University Science A Journal of Wuhan University of Technology Journal of Zhejiang University Science B Journal of Huazhong University of Science and Technology The Journal of China Universities of Posts and Telecommunications