Writer. macro : input text

Hello!

I have a task , to imput text, and then to work it out.

The text should be imput in the dos frame (from writer)
As I am compeltely new in that field , all advices would be helping!!!

User has to imput a text using dos window, and that text will be worked out by macro function (sub function end function end sub)
MANY THANKS!!!

I believe this is InputBox what you are looking for: InputBox Function [Runtime] - LibreOffice Help