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
Attachment:
signature.asc
Description: PGP signature