Page 2 of 2

Re: How to use the multiline Message Box area??

Posted: Mon Feb 18, 2019 8:27 pm
by Mikey
@bogs
if you're trying to debug your app after it's compiled, you can take advantage of the fact that LC is interpreted at runtime by adding something like:

Code: Select all

on mouseUp
   ask "Command, please"
   if it is not empty then do it
end mouseUp
That's all it takes to get started with adding the ability to execute arbitrary code on the fly.

You could check the contents of a global if you responded with:

Code: Select all

global goop; answer goop

Re: How to use the multiline Message Box area??

Posted: Mon Feb 18, 2019 9:13 pm
by bogs
Crikey! You are, in one day, really making me feel like I need to call the Mr. Obvious show :oops:

Re: How to use the multiline Message Box area??

Posted: Mon Feb 18, 2019 9:47 pm
by Mikey
Not sure what that means but hopefully I didn't monitor and reply to the questions for no good reason.

Re: How to use the multiline Message Box area??

Posted: Mon Feb 18, 2019 10:58 pm
by bogs
Set your mind at ease, Your replies were both helpful and appreciated :)
I just feel like an idiot for not having made the connections myself.

(Recurring theme in the "Mr. Obvious Show", "Huh, I never made the connection!" :D )