Hello, fellow Revolutionaries!
I've only recently discovered this wonderful program and I am excited at the
prospect of what it can do. I have gone through the tutorials and have begun
building an app of my own using Rev 1.1a6 for MacOS 9. I am familiar with
various languages but I must admit that I've never programmed in
HyperCard/SuperCard/MetaCard before, so I feel a bit lost at times. I'm
willing to learn, though. I've got a few questions to start, and I'm sure
I'll have more later. With Revolution's built-in socket support, I'm looking
to try making a simple telnet client app to start. I can open a socket and I
think (by monitoring the server) send data from a field. However, I'm stuck
trying to receive data to place into a field. I've figured out from browsing
the dictionary that I can use
read from socket "xx.xx.xx.xx:port" until empty
to read a line at a time from the server. However, with telnet I anticipate
receiving multiple lines at once. How can I loop this or have it continually
read in new lines from the server? Right now I've basically got two fields -
one for the text from the server and one for the input - and a button that
sends the text to the server on mouseUp. (Oh, and a button to
connect/disconnect to the server, where the open socket command is)
Am I going about this the right way? Please help a Card newbie. Thanks!
Sincerely,
Matt
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
Matthew Duhan [EMAIL PROTECTED] http://shell2.primushost.com/~fringe
When I want my opinions I'll ask me for them.
WWW, HTML, VR, MOO, HRSFA, TMBG, DNA--any more initials and I'll go insane
I am Nietzsche. *PING!*