输入与输出关键字总结

作用 关键字
访问或创建文件。 Open
关闭文件。 Close, Reset
控制输出外观。 Format, Print, Print #, Spc, Tab, Width #
复制文件。 FileCopy
取得文件相关信息。 EOF, FileAttr, FileDateTime, FileLen, FreeFile, GetAttr, Loc, LOF, Seek
文件管理。 Dir, Kill, Lock, Unlock, Name
从文件读入。 Get, Input, Input #, Line Input #
返回文件长度。 FileLen
设置或取得文件属性。 FileAttr, GetAttr, SetAttr
设置文件读写位置。 Seek
写入文件。 Print #, Put, Write #