Page 1 of 1

How to create text file for multi segment combinations?

PostPosted: Sat Jul 19, 2008 2:25 am
by kookoo
Hi All,

Can someone help me create text file of segments to be use for multi segment combinations filter.

Thanks

PostPosted: Sun Jul 20, 2008 4:52 pm
by Falcon
Hi kookoo,

Your multi-segment text file could look like this -

a,a,a,,,,,,,,,
a,a,b,,,,,,,,,
a,a,c,,,,,,,,,
a,b,a,,,,,,,,,
a,b,b,,,,,,,,,
a,b,c,,,,,,,,,
a,c,a,,,,,,,,,
a,c,b,,,,,,,,,
a,c,c,,,,,,,,,
b,a,a,,,,,,,,,
b,a,b,,,,,,,,,
b,a,c,,,,,,,,,
b,b,a,,,,,,,,,
b,b,b,,,,,,,,,
b,b,c,,,,,,,,,
b,c,a,,,,,,,,,
b,c,b,,,,,,,,,
b,c,c,,,,,,,,,
c,a,a,,,,,,,,,
c,a,b,,,,,,,,,
c,a,c,,,,,,,,,
c,b,a,,,,,,,,,
c,b,b,,,,,,,,,
c,b,c,,,,,,,,,
c,c,a,,,,,,,,,
c,c,b,,,,,,,,,
c,c,c,,,,,,,,,

where 'a' would be a segment, 'b' a segment, and 'c' a segment for the first column, and there would be a different set of segments for abc in the second column and a different set again for the third column.

You would normally create something like this in Excel and then replace a b and c with your segment values.

Note also that the filter needs to have positions in the file equivalent to all 11 columns hence the following commas.

You can have as many columns of segments as you wish but probably 5 or 6 is enough.

Also note that a column of segments can be in any column, for example if the last column shown above was to be in column -4 instead of column -2

then it would look like this (two lines only shown)

a,a,,,a,,,,,,,
a,a,,,b,,,,,,,
etc


I have shown an array for abc - you can have any set up you wish.

Given that commas are used as separators I suggest you save the file in CSV format.

hope this helps

falcon

PostPosted: Mon Jul 21, 2008 12:19 am
by kookoo
Thanks falcon, I will give it a try and get back later.
kookoo

PostPosted: Mon Jul 21, 2008 12:26 am
by kookoo
Given that commas are used as separators I suggest you save the file in CSV format.


Hi Falcon, what do stands for CSV format. is it in Excel?
kookoo

PostPosted: Mon Jul 21, 2008 1:37 am
by Falcon
Yes Kookoo,

CSV is in Excel - CSV = comma separated variable; sounds worse than it is but all you need do is go to Save As and you will get a drop down list of file types that any excel file can be saved as. A file in Excel saved as a csv file type can also be viewed with Notepad. Expert Lotto also saves and uses CSV file types. The multi-segment filter will accept both CSV and TXT type files but stick to one as the output from the MSF will also be a csv type file.

falcon

Re: How to create text file for multi segment combinations?

PostPosted: Wed Jul 28, 2010 6:43 pm
by Mirel
Which is the strategy of building multi segment combinations ?

Re: How to create text file for multi segment combinations?

PostPosted: Wed Jul 28, 2010 7:36 pm
by teoman
Mirel wrote:Which is the strategy of building multi segment combinations ?

You can write text less and use more combinations of segments:

?-0-?, 2-?-?, ?-?-4

?-0-? => 6-0-0, 5-0-1, 4-0-2, 3-0-3, 2-0-4, 1-0-5, 0-0-6
2-?-? => 2-0-4, 2-1-3, 2-2-2, 2-3-1, 2-4-0
?-?-4 => 0-2-4, 1-1-4, 2-0-4

(Poţi scrie text mai puţin şi utilizezi combinaţii de segmente mai multe.)