Can any tell me why this does not compile. I get a red X on the last line, and the variable LampV is shown in red, and is an output.
I seem to have a problem using multiple conditional statements in one script.
Deleting the last conditional statement removes the error. The error refers to the last line and says "Line 14, column 1: expecting EOF, found 'end'
Thanks
if (RadLampV > IrrLampV)
Bench = 'Radiance' ;
CradleT = RadCradT;
LampV = IrrLampV;
LampT = IrrLampT;
else
LampV= RadLampV;
CradleT = RadCradT;
LampT = IrrLampT;
Bench = 'O_Irradiance';
end;
If LampV < 0.1
Bench = 'unknown';
end;