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 ywei, 17 years ago

Status: newaccepted

comment:2 by ywei, 17 years ago

Resolution: fixed
Status: acceptedclosed

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

Note: See TracTickets for help on using tickets.