How to hold the console until user press any key

Hi all,
I am new to xojo. But fair knowledge in VB.Net, Python and AutoIt. I am trying to learn the basics of xojo with a console app. How hold the console until user presses any key ? I mean in VB.Net we can write “Console.ReadLine()”. Thanks in advance.
-Vinod

check stdin class in Xojo.
http://documentation.xojo.com/index.php/StdIn

Thanks . So you need a variable for this.
Var_a = stdin.ReadLine

This does not answer the original question and/or this is not technically possible (please correct me if I’m wrong). The subject is “…user press any key”. StdIn’s methods appear to block until the return key is pressed. There does not appear to be any equivalent of Basic’s original “get” function for a single char. If there is, please let me know!

This code in the Run event handler gets just a single key (at least on MacOS) without having to press return:

Print "Press any key..." Dim char As String char = StdIn.Read(1) Print "You pressed: " + char