how to split a long LOOKUP line
I am working on a project that has a 30·entry LOOKUP line.· Given that they are each three digits,·it just makes it hard to print out nicely.
SUB GET_LEVELS:
LOOKUP config, 150, 152, 154, 156, 158, 160, 162, 164, 167, 169, 171, 174, 176, 179, 182,185, 188, 190, 194, 197, 200, 203, 207, 211, 214, 218, 222, 226, 231, 235, 240, tmpB2
RETURN
The line is one long line in the program.
The question is how do you split the line up neatly?
Thanks
Chet
SUB GET_LEVELS:
LOOKUP config, 150, 152, 154, 156, 158, 160, 162, 164, 167, 169, 171, 174, 176, 179, 182,185, 188, 190, 194, 197, 200, 203, 207, 211, 214, 218, 222, 226, 231, 235, 240, tmpB2
RETURN
The line is one long line in the program.
The question is how do you split the line up neatly?
Thanks
Chet

Comments
FUNC GET_LEVELS tmpB1 = __PARAM1 IF tmpB1 <= 30 THEN READ Levels+tmpB1, tmpB2 ELSE tmpB2 = 0 ENDIF RETURN tmpB2 ENDFUNCTo use:
I appreciate your quick reply.
Chet