public Database createCallFrame(Object[] args, String[] argNames)
{
if((args == null || args.length == 0) || (argNames == null || argNames.length == 0))
return(null);
Database db = new EvaluationFrame("<OmegaInterfaceManager evaluation frame>");
int n = Math.min(args.length, argNames.length);
try {
for(int i = 0; i < n ; i++) {
db.assign(argNames[i], args[i]);
}
} catch(Exception ex) {
ex.printStackTrace();
}