Using sockets
Frank D. Engel, Jr.
fde101 at fjrhome.net
Mon Mar 14 19:36:00 EST 2005
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Won't that delete the first character you retrieve?
On Mar 14, 2005, at 7:08 PM, Mark Smith wrote:
> on mouseUp
> open socket "theseahaven.com:5500"
> read from socket "theseahaven.com:5500" for -1
> put it into tvar
> repeat for each line L in tVar
> put char 2 to -1 of L & cr after nVar
> end repeat
> delete last char of nVar --- clear trailing cr
> put nVar in to field 1
> end mouseUp
- -----------------------------------------------------------
Frank D. Engel, Jr. <fde101 at fjrhome.net>
$ ln -s /usr/share/kjvbible /usr/manual
$ true | cat /usr/manual | grep "John 3:16"
John 3:16 For God so loved the world, that he gave his only begotten
Son, that whosoever believeth in him should not perish, but have
everlasting life.
$
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)
iD8DBQFCNi3w7aqtWrR9cZoRAhEoAJ9hfH94f7agikO70ow2Id2erXmYbACdHGdn
gvWFlnMqorwXqVOlBMcMqpc=
=zKT5
-----END PGP SIGNATURE-----
___________________________________________________________
$0 Web Hosting with up to 120MB web space, 1000 MB Transfer
10 Personalized POP and Web E-mail Accounts, and much more.
Signup at www.doteasy.com
More information about the use-livecode
mailing list