[quote user="kamil"]My English is very poor[/quote]
We all speak MicroStation and VBA. This is a world-wide community, and we use English as a common language. There are many successful contributors to these Forums whose first language is not English.
[quote user="kamil"]needs help in improving macra[/quote]
First, as Jan suggests, forget MicroStation BASIC and move to MicroStation VBA.
[quote user="kamil"]MbeGetInput MBE_DataPointInput, MBE_CommandInput, MBE_ResetInput[/quote]
BASIC's way to get user input is clumsy. VBA makes it much easier with the IPrimitiveCommandEvents and ILocateCommandEvents interfaces.
What is the Purpose of your BASIC macro?
Rather than attempt to translate BASIC to VBA, I suggest that you write down the functionality of your macro (in a human language). Then see how to implement that functional specification using VBA.