Private RHOT() As Single
Function calcular_SG(SG, T)
On Local Error Resume Next
Dim intIndex as integer
intIndex = Ubound(RHOT)
intIndex = intIndex + 1
If IntIndex > 1 then
Redim Preserve RHOT(1 to intIndex)
else
Redim RHOT(1 to 1)
end if
.
.
.
'Aceite Combustible
.
.
.
'Aplicacion de Correccion de Hidrometro
RHOT(intIndex) = RHO * HYC
.
.
.
End Sub