Hi,
Strange..... I tested the following code
Code:
HSEROUT["Program start",13]
For i = 0 to 5
    Lookup2 i,[1, 10, 25, 50, 75, 100], maxbright
    B_max = maxbright */ 10484
    HSEROUT ["Maxbright: ", DEC3 maxbright, "     B_Max: ", DEC4 B_max, 13]
NEXT
And got the following results:
Code:
Program start
Maxbright: 001     B_Max: 0040
Maxbright: 010     B_Max: 0409
Maxbright: 025     B_Max: 1023
Maxbright: 050     B_Max: 2047
Maxbright: 075     B_Max: 3071
Maxbright: 100     B_Max: 4095
Seems to work fine here....

/Henrik.