[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Replaced print function return stack getting emptied
- From: Steven Johnson <steve@...>
- Date: Sun, 6 May 2012 13:22:42 -0500
If I'm not mistaken, you're actually seeing the return values for the
loadstring() chunk, not your print function.
Assuming your user code is very simple, you could do
return print("stuff", "more stuff")
on the console or prepend a "return " to inCmd before loading.
For something more general maybe print could stuff the strings into a
table in parallel and you can snag that instead.