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

# Re: message box

- To: femm@yahoogroups.com
- Subject: Re: message box
- From: "David Meeker" <dcm3c@earthlink.net>
- Date: Tue, 10 Sep 2002 16:02:03 -0000
- In-reply-to: <alkegd+qui5@eGroups.com>
- User-agent: eGroups-EW/0.82

    --- In femm@y..., "mvalca" <mvalca@y...> 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.

- Follow-Ups:
  - Re: message box
    - From: "marsupiofr" <marsupio@hotmail.com>
  - Re: message box
    - From: "davehyre" <davehyre@yahoo.com>

- References:
  - message box
    - From: "mvalca" <mvalca@yahoo.com>

- Prev by Date: End turns and end ring leakage inductances in machines ?
- Next by Date: Re: Speaker with coil model?
- Previous by thread: message box
- Next by thread: Re: message box
- Index(es):
  - Date
  - Thread