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