extracting variables from an expression

*To*: mathgroup at smc.vnet.net*Subject*: [mg44111] extracting variables from an expression*From*: "Peter Schinko" <Peter.Schinko at utanet.at>*Date*: Thu, 23 Oct 2003 07:15:02 -0400 (EDT)*Sender*: owner-wri-mathgroup at wolfram.com

Hi, I'm looking for a function that extracts all variables from a boolean expression. For example: x || y || z should return something similar to {x, y, z}. Is there a similar function in Mathematica? If so, how does it work? Thanks very much Peter

**Follow-Ups**:**Re: extracting variables from an expression***From:*Daniel Lichtblau <danl@wolfram.com>