[quote user="Steven W"]If there is a better way please advice[/quote]
You don't say what version of MicroStation you're using. If it's V8 or later, than abandon MicroStation BASIC and switch to VBA. MicroStation VBA has much better support for levels than BASIC.