[prev in list] [next in list] [prev in thread] [next in thread] 

List:       wekalist
Subject:    Re: [Wekalist] the option of removing attributes
From:       Peter Reutemann <fracpete () waikato ! ac ! nz>
Date:       2006-10-25 2:40:18
Message-ID: 453ECE92.7020206 () waikato ! ac ! nz
[Download RAW message or body]

> So for the range 1,3,5, the code is like
> options[0] = "-R";
> options[1] = "1,3,5";

Yes.

> Or
> options[0] = "-R";
> options[1] = "1";
> options[2] = "3";
> options[3] = "5";

No, otherwise you will have 4 separate parameters and 3 and 5 won't be 
considered as argument for -R.

Apart from using the setOptions(String[]) method you can always use the 
normal accessor methods, i.e., setAttributeIndices(String) for the above 
parameter.

HTH

Cheers, Peter
-- 
Peter Reutemann, Dept. of Computer Science, University of Waikato, NZ
http://www.cs.waikato.ac.nz/~fracpete/     +64 (7) 838-4466 Ext. 5174

_______________________________________________
Wekalist mailing list
Wekalist@list.scms.waikato.ac.nz
https://list.scms.waikato.ac.nz/mailman/listinfo/wekalist
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic