Plugging values into functions

I am very new to Mathematica, and need to know how to plug values into existing functions. For example, Math World supplies the following code for building a truth table of n levels of operator op:

TruthTable[op_, n_] :=
Module[{l =
Flatten[Outer[List, Sequence @@ Table[{True, False}, {n}]],
n - 1], a = Array[A, n]},
DisplayForm[
GridBox[Prepend[Append[#, op @@ #] & /@ l, Append[a, op @@ a]],
RowLines -> True, ColumnLines -> True]]]


How do I set the operator and the value of n?

-
You've seen BooleanTable[] already? –  Guess who it is. Oct 27 '12 at 7:39
You say "Mathematica supplies the following code for building a truth table of n levels of operator op". It it not known to my copy of Mathematica. I found it on Math World, which is not same as "supplied by Mathematica". –  m_goldberg Oct 27 '12 at 7:44
@J.M. I have seen BooleanTable[] and the related functions and did not have problems with those--I'm only unsure about the notation used above. –  QuietThud Oct 27 '12 at 7:53
@m_goldberg: I meant "supplied by Wolfram". –  QuietThud Oct 27 '12 at 7:55

@Quiet, @ is a prefix method of applying a function; that is, f @ x and f[x] are the same thing. There's a postfix version, x // f. &, on the other hand, is shorthand for the Function[] construct, which allows you to use pure functions. Look at the docs for Function[] for more detail on this. –  Guess who it is. Oct 27 '12 at 8:28