delimiter if not using only one?
delimiter if not using only one?
- Subject: delimiter if not using only one?
- From: micro-people <email@hidden>
- Date: Wed, 3 Sep 2003 20:24:51 +0900
Hi again,
and
this one:
------8<------
set poem to open for access file "sarigama:@:as:saol"
set song to open for access file "sarigama:@:as:newthang" with write permission
set x to get eof poem
try
repeat 7 times
set y to random number from 0 to x
set fragment to read poem from y until "." as text
write "Sa" & fragment & return to song starting at (get eof song) + 1
end repeat
on error errMes
close access poem
close access song
error errMes
end try
close access poem
close access song
--------8<------------
went okay
but
if i used
set fragment to read poem from y until {".", ",", "is", return} as text
the editor warns me that
it cannot convert
{".", ",", "is", return}
to a string
if i want to use several words @ "until"
{".", ",", "is", return}
is not the right way to bundle them?
BUYO-BUYO-IGOR------------------
http://buyobuyo.isgenius.com
"SaRiGaMa's Oil Vending Orchestra"
http://oil.isonfire.com
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.