src/main/java/org/ucmtwine/proxy/ScriptProxy.java
private void writeVariableTables(List<String> variableNames, List<Integer> variableReturnTypes) {
    m_variableTable = variableNames.toArray(new String[variableNames.size()]);

    m_variableDefinitionTable = new int[variableNames.size()][2];

    for (int i = 0; i < variableNames.size(); i++) {
      m_variableDefinitionTable[i][0] = i;
      m_variableDefinitionTable[i][1] = variableReturnTypes.get(i);
    }
  }
private void writeVariableTables(List<String> variableNames, List<Integer> variableReturnTypes) {
    m_variableTable = variableNames.toArray(new String[variableNames.size()]);

    m_variableDefinitionTable = new int[variableNames.size()][2];

    for (int i = 0; i < variableNames.size(); i++) {
      m_variableDefinitionTable[i][0] = i;
      m_variableDefinitionTable[i][1] = variableReturnTypes.get(i);
    }
  }
Build a static int[m][2] array of variable info where the int array is
<code>{ variable_index, return_type }</code>.

@param functionParams