You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bsf-user@jakarta.apache.org by wolverine my <wo...@gmail.com> on 2006/10/18 10:00:46 UTC
What is lineNo and columnNo?
Hi!
May I know exactly what is lineNo and columnNo parameters mean in
BSFManager.eval() and exec() methods?
I saw in the sample program that set both parameters to -1, am I
correct that -1 means the first line and the first column of the
script?
When should we set these parameters to value other than -1? How does
this affect the program?
Maybe this should documented in the method API as well :-)
---------------------------------------------------------------------
To unsubscribe, e-mail: bsf-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: bsf-user-help@jakarta.apache.org
Re: What is lineNo and columnNo?
Posted by Sonny To <so...@gmail.com>.
it means where to start executing the code. what line and column to
start executing. I always put 0,0 for firstline first column
On 10/18/06, wolverine my <wo...@gmail.com> wrote:
> Hi!
>
> May I know exactly what is lineNo and columnNo parameters mean in
> BSFManager.eval() and exec() methods?
>
> I saw in the sample program that set both parameters to -1, am I
> correct that -1 means the first line and the first column of the
> script?
>
> When should we set these parameters to value other than -1? How does
> this affect the program?
>
> Maybe this should documented in the method API as well :-)
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: bsf-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: bsf-user-help@jakarta.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: bsf-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: bsf-user-help@jakarta.apache.org