Problem:

flow.js of blockA
------------------
function blockAFunc() {
  return helper();
}
function helper() {
  return "A";
}

flow.js of blockB
-----------------
function blockBFunc() {
  return helper();
}
function helper() {
   return "B";
}


flow.js of blockC ----------------- function blockCFunc() { print(blockB());

You mean:

print(blockBFunc());

}

What do you expect when you call blockCFun()? A or B?

Sorry, for the late response

...but clearly: B

Answer: It depends on the order of declaring your scripts in <map:flow/>. The first helper() method declared will be found.

But there is only one helper() method per block!?

cheers
--
Torsten

Reply via email to