Forum Discussion
FICO
8 years agoCommunity Manager
Procedure error, why?
Why does this result in an error message (Syntax Error before ")")?
procedure sInitialise() declarations end-declarations initializations from "mmsheet.excel:Dataset.xlsx" mFracRet as "noin...
FICO
8 years agoCommunity Manager
Mosel does not accept empty blocks, so the error is due to your using "()" after the procedure name: if there are no arguments to a subroutine you simply state is name:
procedure sInitialise
...
end-procedure
Similarly, any empty 'keyword ... end-keyword' block such as the 'declarations' in your example will result in an error: if you don't need it, comment it out or remove it entirely.
Related Content
Related Content
A specific separation procedure, $(l,S)$ Inequalities, to solve the lot-sizing problem
Dear support team, I have tried to use a specific separation procedure, $(l, S)$ Inequalities, to solve the lot-sizing problem proposed in the references, like Algorithm and formulations for lot siz...8 months agoPlace FICO® Xpress Optimization ForumFICO® Xpress Optimization Forum4 unread comments4 unread5Views0likes4CommentsA Hidden Risk in Snowflake: Why AI-Ready Data Needs Automated CI/CD?
9 MIN READ In Snowflake, data failures rarely show up as broken pipelines—they show up as the wrong data after a deploy that looks successful. Increasingly, that same data powers dashboards, operational decisio...20Views0likes0CommentsThe Cost of “Good Enough” Data: Why Skipping Critical Steps Breaks at Scale
6 MIN READ It’s 9:47 on a Tuesday morning, and your Slack is on fire. A VP of Sales is asking why the latest numbers in her dash don’t match what Finance reported in the board deck. Your senior data engineer is...8Views0likes0Comments