Opened 17 years ago
Closed 17 years ago
#50 closed enhancement (fixed)
add front end support for initialization expressions
| Reported by: | Stephen Siegel | Owned by: | ywei |
|---|---|---|---|
| Priority: | major | Milestone: | |
| Component: | front | Version: | 1.0 |
| Keywords: | initial value, initialization, variable | Cc: |
Description
Certain scalar variables can now have initialization expressions, i.e.,
int i = j+3*k;
A shared variable that is not an input or output variable, a process variable, and a local variable that is not a formal parameter can have such an expressions.
Use the method in ModelIF setInitializationExpression.
Change History (2)
comment:1 by , 17 years ago
| Status: | new → accepted |
|---|
comment:2 by , 17 years ago
| Resolution: | → fixed |
|---|---|
| Status: | accepted → closed |
Note:
See TracTickets
for help on using tickets.

Feature added. Initialization expressions can be used now. But array type variables can not be initialized using "=".