Loading ...
Sorry, an error occurred while loading the content.

Re: Help if OIF/IIF

Expand Messages
  • Martijn Verburg
    I m at work so I can t check directly, but IIRC those output tokens get a little tricky with regards to the whitespace you put before and after them. Have a
    Message 1 of 2 , Apr 13 12:58 AM
    • 0 Attachment
      I'm at work so I can't check directly, but IIRC those output tokens get
      a little tricky with regards to the whitespace you put before and after
      them. Have a look at some of the existing sheets to see how their IIF
      blocks are laid out, it might help.

      K

      --- In pcgen@yahoogroups.com, "tum12001" <tum12001@...> wrote:
      >
      > I'm trying to figure out how IIF/OIF works, but I'm having very
      little
      > luck. I've been trying a simple test to get it to say if a number is
      > even or not, but it isn't working, could someone tell me if what's
      > wrong?
      >
      > |IIF(EVEN:2)|
      > YES
      > |ELSE|
      > NO
      > |ENDIF|
      >
      > It keeps outputted "YES NO".
      >
      > Also, is there a POSITIVE or NEGATIVE token that I can use with IIF?
      >
    Your message has been successfully submitted and would be delivered to recipients shortly.