Re: Checking for a value in a list

From: Bill Spight (Xbspight_at_pacbell.net)
Date: 03/30/04


Date: Tue, 30 Mar 2004 00:13:56 GMT

Dear Mark,

> I want to describe that a shift is considered "operational" if the shift
> is among the given list of 'H', 'D', '6', 'HE', or 'E'.

I don't know what you mean by "shift" or "operational", but here is one
way:

operational('H').
operational('D').
operational('6').
operational('HE').
operational('E').

Best wishes,

Bill