So I did pore over the various functions of the ScInterpreter like GetNewMat
and PushMatrix etc.
Apart from being extremely complicated, I still really didn't understand
where the result matrix
was being set/put into the spreadsheet. I did create a matrix but now I
don't know how to
print the values onto the sheet. PushMatrix pushes the matrix onto the stack
but that
does not serve my purpose !!

-Rashi



On Wed, Jun 16, 2010 at 7:08 PM, Eike Rathke <[email protected]> wrote:

> Hi rashi,
>
> On Friday, 2010-06-04 14:10:31 +0300, rashi dhing wrote:
>
> > Hi Eike, Could you tell me why modifying the spreadsheet while
>  interpreting
> > a function is not the right approach
>
> That could modify cells that are still to be interpreted, even for the
> same formula the modifying function is part of, or cells that were
> already interpreted for some formula but then would deliver a different
> result in another step. It's like biting the hand that feeds you..
>
> > and what is the workaround or the right approach ?
>
> See Niklas' answer about returning an array.
>
>  Eike
>
> --
>  OOo/SO Calc core developer. Number formatter stricken i18n
> transpositionizer.
>  SunSign   0x87F8D412 : 2F58 5236 DB02 F335 8304  7D6C 65C9 F9B5 87F8 D412
>  OpenOffice.org Engineering at Sun: http://blogs.sun.com/GullFOSS
>  Please don't send personal mail to the [email protected] account, which I use
> for
>  mailing lists only and don't read from outside Sun. Use [email protected].
>



-- 
" Happiness makes up in height for what it lacks in length." (Robert Frost)

Reply via email to