In a message regarding reading in a file i've written dated Sun, 11 Jun
2006 6:54:53 -0400, [EMAIL PROTECTED] said that ...

> Hi there.

> In my program I create a file with a list of users and their passwords.  I do 
> this using textstream.
> However, now I want to read the file in to compare the allowable users with 
> their passwords and
> security settings.

If you have s as String and tis as TextInputStream, you can either read the
whole thing direct from the stream

  s = tis.ReadAll

Or you can loop until tis.EOF

  do
    MsgBox tis.ReadLine
  loop until tis.EOF

--
Steve Garman
Using REALbasic 2006r2 Professional on Windows XP Pro


_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to