How to use the multiline Message Box area??

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Mikey
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 755
Joined: Fri Jun 27, 2008 9:00 pm

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

Post by Mikey » Mon Feb 18, 2019 8:27 pm

@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

bogs
Posts: 5480
Joined: Sat Feb 25, 2017 10:45 pm

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

Post by bogs » Mon Feb 18, 2019 9:13 pm

Crikey! You are, in one day, really making me feel like I need to call the Mr. Obvious show :oops:
Image

Mikey
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 755
Joined: Fri Jun 27, 2008 9:00 pm

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

Post by Mikey » Mon Feb 18, 2019 9:47 pm

Not sure what that means but hopefully I didn't monitor and reply to the questions for no good reason.

bogs
Posts: 5480
Joined: Sat Feb 25, 2017 10:45 pm

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

Post by bogs » Mon Feb 18, 2019 10:58 pm

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 )
Image

Post Reply