VAL() always returns 0 under certain conditions with very long strings

Where %MaxInt = 32767 ( maximum value of an Integer):

(I think I've got that right)

Note VAL(s,x) not tested for various conditions!

Where %MaxInt = 32767 ( maximum value of an Integer):

**VAL(s) = 0 where LEN(s) > %MaxInt AND (LEN(S) <= %MaxInt *2 OR****LEN(s) \ %MaxInt) MOD 2 = 0**(I think I've got that right)

Note VAL(s,x) not tested for various conditions!

## Comment