MACSCRPT Archives

November 2012

MACSCRPT@LISTSERV.DARTMOUTH.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Mark Lively <[log in to unmask]>
Reply To:
Macintosh Scripting Systems <[log in to unmask]>
Date:
Wed, 14 Nov 2012 13:07:39 +0000
Content-Type:
text/plain
Parts/Attachments:
text/plain (23 lines)
On Nov 14, 2012, at 4:51 AM, Nigel Garvey <[log in to unmask]>
 wrote:

> Mark Lively wrote on Tue, 13 Nov 2012 22:32:35 +0000:
> 
>> 		set sometext to read lun until "def"
> 
> Up to Snow Leopard, at least, 'read' parameters like 'until' and 'using
> delimiter' only use the first character of the string passed to them,
> case-sensitively. The same split would be obtained with any 'until'
> value beginning with a lower-case "d".
> 
> NG

Carp!

I thought some of the strings I got back seemed Fishy.

Unfortunately writing a scanner is not exactly trivial.

-Mark
Why can't it do what it says one the box.

ATOM RSS1 RSS2