0

*sigh* I'm back again. Same program. Different problem.

private void executeToolStripMenuItem_Click(object sender, EventArgs e)
        {
            string aaa = String.Format(richTextBoxEditor.ToString()); /*<-- Guessing that this is redundant */
            lua.DoString(aaa); //<-- problem code
        }

When I attempt to execute the Lua code in the textbox, it crashes the program. Wat do?

1
Contributor
1
Reply
2
Views
6 Years
Discussion Span
Last Post by LuaMan
0

Fix'd. Used a streamwriter to create a temporary text file holding the data, and then executing that data from the file. Sorry for wasting your time.

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.