converting Calc functions to jump functions

Eike Rathke erack at redhat.com
Mon Jun 6 09:43:52 UTC 2016


Hi Winfried,

On Monday, 2016-06-06 10:30:25 +0200, Winfried Donkers wrote:

> > Apart from that,  aCode.Jump( pJump[ nIdx ], pJump[ pJump[ 0 ] ] ) looks
> > wrong to me, pJump[0] returns an offset into the RPN array, which can't be
> > used as an index for another pJump.
> 
> I changed the code in my mail, the actual line reads
> aCode.Jump( pJump[ nIdx ], pJump[ nJumpCount ] );
> and nJumpCount has the value of pJump[ 0 ].

Ah right, that makes sense if it was literally pJump[0] and not any
other pJump[x], it slipped my attention that 0 one is the total jump
count. Sorry for fuzz.

  Eike

-- 
LibreOffice Calc developer. Number formatter stricken i18n transpositionizer.
GPG key "ID" 0x65632D3A - 2265 D7F3 A7B0 95CC 3918  630B 6A6C D5B7 6563 2D3A
Better use 64-bit 0x6A6CD5B765632D3A here is why: https://evil32.com/
Care about Free Software, support the FSFE https://fsfe.org/support/?erack
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/libreoffice/attachments/20160606/58ea1473/attachment.sig>


More information about the LibreOffice mailing list