XIDE: IIF() function

This forum is meant for questions and discussions about the X# language and tools
Post Reply
User avatar
Irwin
Posts: 115
Joined: Wed Mar 23, 2022 10:24 am
Location: España

XIDE: IIF() function

Post by Irwin »

Hi Chris,

The IIF() function does not get syntax highlighted. I'm using the Core dialect but I don't know if it works in other dialects.
FFF
Posts: 1626
Joined: Fri Sep 25, 2015 4:52 pm
Location: Germany

Re: XIDE: IIF() function

Post by FFF »

Indeed - neither in /Vo...
Regards
Karl
(on Win8.1/64, Xide32 2.20, X#2.20.0.3)
User avatar
Irwin
Posts: 115
Joined: Wed Mar 23, 2022 10:24 am
Location: España

Re: XIDE: IIF() function

Post by Irwin »

FFF wrote: Tue Jan 28, 2025 4:58 pm Indeed - neither in /Vo...
Thanks for checking Karl.
User avatar
Chris
Posts: 5113
Joined: Thu Oct 08, 2015 7:48 am
Location: Greece

Re: XIDE: IIF() function

Post by Chris »

Guys,

That's because this isn't a keyword nor a function, not sure if it can be even called an intrinsic function or an operator (handled directly by the compiler, it's not defined anywhere). Have you tried adding it in keywords.cfg so it will be highlighted as a keyword?
Chris Pyrgas

XSharp Development Team
chris(at)xsharp.eu
User avatar
Irwin
Posts: 115
Joined: Wed Mar 23, 2022 10:24 am
Location: España

Re: XIDE: IIF() function

Post by Irwin »

Chris wrote: Tue Jan 28, 2025 6:27 pm Guys,

That's because this isn't a keyword nor a function, not sure if it can be even called an intrinsic function or an operator (handled directly by the compiler, it's not defined anywhere). Have you tried adding it in keywords.cfg so it will be highlighted as a keyword?
Hi Chris,

I put the Iif in the keywords.cfg but nothing happens :(
Post Reply