Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

a grammar with delete?

Status
Not open for further replies.

nebnebben

Technical User
Jul 5, 2003
2
DE
Hi

Can you help me?

Got a grammar: ?-g(X,[]).

%%%%%%%%%%%%%%%%%%%%%%%%%

g --> c.

c --> [ok_1],[ok_2],[ok_3].

%%%%%%%%%%%%%%%%%%%%%%%%%

Result:

X=[ok_1, ok_2, ok_3]

no (more) answers

but:

%%%%%%%%%%%%%%%%%%%%%%%%%

g --> c.

c --> [ok_1],[ok_2],[ok_3].

% ?? delete ??

%%%%%%%%%%%%%%%%%%%%%%%%%

so that the Result is:
_

X=[ok_2, ok_3]

no (more) answers
_

without changing the query.


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top