On Tuesday, April 17, 2012 4:58:40 AM UTC-4, StGallen wrote: > Dear All > > VMS 7.3-1 > DEC Basic 1.4 Upgrade to 1.7 and try again. (something similar works fine for me) Might also try explicit contant typing: IF INTEGER(x$,QUAD) = D"0"Q ... Hein