亚洲乱码中文字幕综合,中国熟女仑乱hd,亚洲精品乱拍国产一区二区三区,一本大道卡一卡二卡三乱码全集资源,又粗又黄又硬又爽的免费视频

VBS教程:屬性-AtEndOfLine 屬性

 更新時(shí)間:2006年11月16日 00:00:00   作者:  

AtEndOfLine 屬性

TextStream 文件中,如果文件指針指向行末標(biāo)記,就返回 True;否則如果不是只讀則返回 False。

object.AtEndOfLine

object 應(yīng)為 TextStream 對象的名稱。

說明

AtEndOfLine 屬性僅應(yīng)用于以讀方式打開的 TextStream 文件,否則會出現(xiàn)錯誤。

下列代碼舉例說明如何使用 AtEndOfLine 屬性:

Function ReadEntireFile(filespec)  Const ForReading = 1  Dim fso, theFile, retstring  Set fso = CreateObject("Scripting.FileSystemObject")  Set theFile = fso.OpenTextFile(filespec, ForReading, False)  Do While theFile.AtEndOfLine <> True    retstring = theFile.Read(1)  Loop  theFile.Close  ReadEntireFile = retstringEnd Function

相關(guān)文章

最新評論