You can get those information via SyntaxErrorException

On Thu, Jul 31, 2008 at 9:58 AM, Huzaifa <[EMAIL PROTECTED]> wrote:

>
> Ops.ExtractException (ex, _pythonengine.Sys);
>        TraceBack tb = _pythonengine.Sys.exc_traceback as TraceBack;
>        if (tb != null) {
>          ex.Data["LineNumber"] = tb.Line;
>          //How to get Column?
>          ex.Data["Offset"] = tb.Offset; //doesn't work?
>
>
> I am not able to convert this code into Ironpython 2
> --
> View this message in context:
> http://www.nabble.com/how-to-convert-this-code-in-py-2.0-tp18748830p18748830.html
> Sent from the IronPython mailing list archive at Nabble.com.
>
> _______________________________________________
> Users mailing list
> Users@lists.ironpython.com
> http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
>



-- 
nomadlife.org
_______________________________________________
Users mailing list
Users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

Reply via email to