Assignment statements may also occur as initializers in the declaration of local variables (after the keyword protected) or formal parameters of Modelica functions. The function foo contains a declaration of the local variable y1 with an initializing assignment and the formal parameter x with a default value assignment.