views:

51

answers:

0

I have a windows form which a richTextBox and a button, and another form for debugging Lua.

I was wondering how I can use LuaInterface to debug the Lua code that is in the richTextBox and print the output to the next form.

I am using Microsoft Visual C# 2008 Express Edition for this. I have Lua51.dll and LuaInterface.dll in the .exe directory and LuaInterface is added as a reference.

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using LuaInterface; //Here is is, :D!

I am basically attempting to make my own Lua Editor, can someone help with the debugging bit?

Thanks in Advance!!