Pass-by-reference error

Post Reply
barry.marcus
Posts: 288
Joined: Thu Nov 16, 2006 1:05 pm

Pass-by-reference error

Post by barry.marcus »

I am getting the message:

Pass-by-reference variables not allowed here

when I attempt to compile code with the line:

<BuildMarkupHitLists hitStartList=$&hitStartList hitEndList=$&hitEndList thisFilter=$terms data=$&phrase>

The definition of the function looks like this:

<a name=BuildMarkupHitLists PUBLIC hitStartList hitEndList thisFilter data project="">

I've never seen this before. Moreover, this line of code is several years old and has never been a problem before now!

What does this mean?
barry.marcus
Posts: 288
Joined: Thu Nov 16, 2006 1:05 pm

Pass-by-reference error

Post by barry.marcus »

Never mind! I figured it out. I had removed an item in the <uses> directive that referenced the module that has the function. Apparently you can't pass variables by reference to a function that doesn't exist! :-)
Post Reply