Re: can't make { . . . } into an item [error message] deivy's original again pt. 2
Re: can't make { . . . } into an item [error message] deivy's original again pt. 2
- Subject: Re: can't make { . . . } into an item [error message] deivy's original again pt. 2
- From: monk <email@hidden>
- Date: Tue, 17 Jul 2001 18:54:06 -0400
-- 7/16/01 12:48 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?
>
_______> Here \/
>
>
> set mymix to rest of mymix -- comment out this line. This is
>
> the offending line
>
>
_______> Here /\
interesting results, now that i commented out the line you specified, i do
indeed get the same no. of items as in the source list, however, some of the
items are being reselected over and over again, for eaxmple, if the original
file has 1 instance of 'the', the resultant might have 3!
what i would like:
to have 0 or 1 instances of any item as it exists in the source
so, for examaple, if the source had 25 items, then the result could have 19,
all 19 representing a single occurence of that item in the list, and the
other 6 being randomly left out
another generation might yield 25 of 25, it is all random, if the list
contained te word 'of' 5 times, then in this case 'of' would return 5 times
thanks again
h 'monk' elmer
--
|,,,,,,,,,,,|
http://www.assemblage.org
||