Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!cs.utexas.edu!samsung!usc!apple!apple.com!kevina From: kevina@apple.com (This space for rent) Newsgroups: comp.lang.postscript Subject: Re: eexec? Message-ID: <9102@goofy.Apple.COM> Date: 12 Jul 90 01:14:59 GMT References: <9101@goofy.Apple.COM> Sender: usenet@Apple.COM Distribution: usa Organization: Apple Computer, Inc. Lines: 17 Ack! Too quick on the send button (and too slow on the Red Book...) In article <9101@goofy.Apple.COM> I write: > Notice that you used "readstring" in the above example instead of > "readhexstring". Readstring only reads until the first newline, while readhexstring will ignore non-hexadecimal characters (like cr/lf). The reason that your example works on AppleTalk but not on serial probably has to do with the different handling of newlines. What I really meant to say was readstring treats the newline character(s) as data. Readline is the operator that reads until an end-of-line indication. Readhexstring is still the operator of choice. Now I'm confused, though, as to why it would work under AppleTalk and not serial. How do you send over AppleTalk? How about an example? --Kevin Andresen [kevina@apple.com] "Orange whip? Orange whip? Three orange whips."