In fact this code is valid according to ECMA standard, 3-36 section 8.19.19 (DEVS) page 109. -- Eric Bezault