Re: can't make { . . . } into an item [error message] deivy's original again
Re: can't make { . . . } into an item [error message] deivy's original again
- Subject: Re: can't make { . . . } into an item [error message] deivy's original again
- From: Deivy Petrescu <email@hidden>
- Date: Mon, 16 Jul 2001 12:48:55 -0400
At 7:42 AM -0400 7/16/01, monk wrote:
-- 7/14/01 09:06 pm: email@hidden said:
i got deivy's original working, and changed the tid here and there for
mixing items, added a write and close
anyway though, i found that i always have 1 less item in the result than in
the source file, i.e., if the source has 8 items, the result will have 7,
and so on
Sorry, a line there was specialized for the script that I wrote. May
be making the change bellow will help
i don't mind randomly leaving out items, but is there a way to randomly
include all items too?
thanks
...
set k to contents of some item of zlist -- random element chosen
set mymix to mymix & text item k of mytext -- added to _mix
if k = pcount and k = 1 then --only one line in the _source, let's
finish it up
set mytext to ""
_______> Here \/
set mymix to rest of mymix -- comment out this line. This is
the offending line
_______> Here /\
set mymix to mymix as string
set text item delimiters to "" -- restaure to default
return mymix
end if
...
<adapted script>
h 'monk' elmer
--
//\/\\/\/\//\/\\/\/\//\/\\
http://www.assemblage.org
Deivy Petrescu
http://www.dicas.com