ret = ((OConstantVarType) variable.type).getValue();
} else {
VariableInstance varInstance = _scopeInstance.resolve(variable);
if (varInstance == null)
return null;
VariableReadEvent vre = new VariableReadEvent();
vre.setVarName(varInstance.declaration.name);
sendEvent(vre);
ret = _native.fetchVariableData(varInstance, _scopeInstance, part, false);
}
return ret;
}