Schon wieder beide "alarmRA[0]"
Ne, du musst nur die Änderungen vornehmen wie ich sagte, also von
Code:
if(alertdirection)
{
if(ExtMapBuffer1[0] < alarmRA[0])
notalert = true;
}
else
{
if(ExtMapBuffer2[0] > alarmRA[1])
notalert = true;
}
zu
Code:
if(alertdirection)
{
if(ExtMapBuffer1[0] < StrToDouble(alarmRA[0]))
notalert = true;
}
else
{
if(ExtMapBuffer2[0] > StrToDouble(alarmRA[1]))
notalert = true;
}