Author Topic: convert "IIF" into oxygen  (Read 1517 times)

0 Members and 2 Guests are viewing this topic.

Frankolinox

  • Guest
convert "IIF" into oxygen
« on: February 24, 2013, 08:22:23 AM »
how I can convert freebasic command "IIF" in OXYGEN ?

fOk = GetSaveFilename(ofn)
    IF fOk THEN
        ix = INSTR(sFileSpec, NULL)
        '------------------------------------------------------------------------- //
        sFileSpec = IIF(ix, LEFT(sFileSpec, ix - 1), "")
        '------------------------------------------------------------------------- //
        'IIF = Return one of two values based upon a TRUE/FALSE evaluation.
        dFlags = ofn.Flags
    END IF


best regards, frank