# ParallelTable and DistributeDefinitions

I have a function in the following form:

function[...] := With[
{...},
Table[
anotherfunction[i, j, ...],
{i, ...},
{j, ...},
...
]
]

If I'd like to replace Table with ParallelTable, do I need to put DistributeDefinitions["Global`"] somewhere? If yes, where? (Before With, before ParallelTable, or before calling function?)

anotherfunction is defined globally, and uses other global variables.

-
I added the backtick. Click the edit link and see the source on how to do it (you need to surround the code with $n+1$ backticks if you want to include $n$ backticks). –  Szabolcs Dec 20 '13 at 18:07