[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: message box



--- In femm@xxxx, "mvalca" <mvalca@xxxx> wrote:
> Hello, 
> I tried to use the command messagebox in a lua script to give some 
> information about the problem solved, but now I can output only one 
> value or string for one window.
> How can I write more things in one window?
> Thank you
> 
> Marco

If you want to do a pop-up message with more than one line, you just
need to stick a \n to put in a return. For example, if you wanted
to display results that were stored in the variables a and b, the
syntax would be:

messagebox(a .. "\n" .. b)

Alternatively, if you are running vers. 3.2, you could use:

print(a,b)

to display the results to the lua console output window.

Dave.