Hi all,

I am using gprolog in random generation of options for a command line.

If i say a option like -a to a command can take 7 type of arguments,

i would write,

start -> [cmd], option.

option -> [-a], xyz.
option -> [-a], abc.
.
.
.
option -> [-a], pqs

I want these option to appear in random way, without any repitition in the
generated output like cmd -a xyz as one generaition and cmd -a xyz -a pqs as
another generation etc...

Can you please help me to get this pattern?

-- 
Nagaraj P Hegde
_______________________________________________
Users-prolog mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/users-prolog

Reply via email to