A simple test follows:

${message}

Now perform function tests:

${test3} ${alt} ${alt} Current item is ${item}
Matching: ${match}
Finished matching.
Matching: ${match}
Finished matching.

Function is defined, now let's call it:

Again, but with different parameters:

Now through the variable instruction:

${showLink(urls.about, images.about, "About Us")}

Now testing lists and exit matching:

Result is ${result}.

Current item is ${currentItem}

Result is ${result}.

Current item is ${currentItem}

Test3 is ${test3}.

Test4 is ${test4}.