Can I do like this?
In b4a :
and then my script execute
and show log
In b4a :
B4X:
executescript("for i = 0 to 10" & crlf & "Log(i)" & crlf & "endfor")
and then my script execute
and show log