On Jul 29, 2004, at 3:14 PM, Brian Heibert wrote:
dim readstream as textinputstream
redValue = readstream.readByte()
Now I get this method or property does not exist.
That's because there is not such method as ReadByte for
TextInputStream. You need to use the BinaryStream. Also, you can
simplify your code by using:
theColor = RGB(readstream.ReadByte, readstream.ReadByte,
readstream.ReadByte)
Seth Willits
------------------------------------------------------------------------
---
President and Head Developer of Freak Software - http://www.freaksw.com
REALbasic Guru at ResExcellence - http://www.resexcellence.com/realbasic
"Organized people are just too lazy to look for things."
--
------------------------------------------------------------------------
---
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://www.realsoftware.com/listarchives/lists.html>
|