[prev in list] [next in list] [prev in thread] [next in thread] 

List:       koffice-devel
Subject:    Re: Another OpenFormula problem: parsing empty arguments
From:       Stefan Nikolaus <stefan.nikolaus () kdemail ! net>
Date:       2007-01-27 7:48:51
Message-ID: 200701270848.57860.stefan.nikolaus () kdemail ! net
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


Hi Brad,

On Saturday 27 January 2007 07:00:02 Brad Hards wrote:
> I need a hand with a problem with implementing IF() per the OpenFormula
> spec.
[...]
> I've got it working in accordance with that, except for the "3 parameters,
> third parameter is null" case (e.g. =IF(FALSE();7;) should produce 0, while
> =IF(FALSE();7) should produce false). All I'm getting is a #PARSE! error.
>
> Any suggestions on where I should look?

take a look at Formula::compile(). I think, empty/null parameters are not 
supported yet. The tokenizer can handle it (see 627574), but I haven't 
checked the compiler.

Regards,
Stefan

[Attachment #5 (application/pgp-signature)]

_______________________________________________
koffice-devel mailing list
koffice-devel@kde.org
https://mail.kde.org/mailman/listinfo/koffice-devel


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic