# Re: 如何打开档案!?

Posted by chih-wen yu on November 01, 1998 at 17:22:41:

In Reply to: 如何打开档案!? posted by Clkit on October 30, 1998 at 19:22:38:

: 例如文字档,我用
: (省略)
: dim files$,bye$
: if file$ <> "" then
: open files$ for input as #1
: while not eof(1)
: line input #1,bye$
: text1.text = chr(10) + chr(13) + bye$
: wend
: close #1
: 这段为何错误?
: thank you

1. 少end if
2. 建议将text1.text改成Text1.SelText才能看到整个档案内容

Follow Ups: