Question: Use 'if' within a spreadsheet

I am using Maple 7 and displaying computations within a spreadsheet for more simple display. One area I have been stumped with is using the if statement within a spreadsheet cell. Something as simple as: if FAIL then 3 else 5 end if works great at a prompt but gives me a "System error," within my spreadsheet. Now, I know it recognizes the command because if I input the statement with legacy format: if FAIL then 3 else 5 fi It automatically replaces the "fi" with the new form of "end if". So why doesn't it work? Thanks, Lord Raiden "You are more than a Human Being, you are a Human becoming." ~ Og Mandino "It is not enough just to be good, you must be good for something." ~ Gordon B. Hinckley
Please Wait...