+ 3

Is there any way to ask for input more than once in the SL emulator?

I'm trying to create some code, that would require more than one input from the user and each input should be provided depending on the output that the previous input generated. This concept does not seem to work on SL's emulator as it asks for all input at once. Is there a way to work around this? I am working with Python, but any help that applies to other languages would also be appreciated.

18th Jun 2017, 7:04 AM
Agnius Bartninkas
Agnius Bartninkas - avatar
2 Answers
+ 6
Nope. SL asks for the input all at obce because it sends the code and the input to the remote interpreter. It is done only once per execution, so no multiple single inputs are possible.
18th Jun 2017, 7:27 AM
Kuba SiekierzyƄski
Kuba SiekierzyƄski - avatar
+ 1
Thought so, but had to make sure. Thank you.
18th Jun 2017, 8:27 AM
Agnius Bartninkas
Agnius Bartninkas - avatar