I made a server with a UI(JavaFX) interfase. It's working OK on windws/mac but now I want to make a console/Non-UI version. I'd like to respond to commands from the keyboard as "LU" (list users), "RESET",...
I cannot find the way of using StartMessageLoop with reader.readln or something similar.
Thanks for your help.
I cannot find the way of using StartMessageLoop with reader.readln or something similar.
Thanks for your help.
B4X:
sub appstart(args...)
...
sys.initializestatic(...)
reader.initializa(sys.get...)
...
startmessageloop
end sub
sub readln as string
return reader.readlin
end sub
' Where or when do I put de readln to get what the user typed?