saving . . . saved syntax for declaration vector has been deleted. syntax for declaration vector has been hidden .
syntax for declaration vector
Title
Question
Hello,
  in the example that you give us in arrays in openModelica the tutorial, you wrote the syntax for vector declarations is
<type>[ Vector_size]  variable_name; but in the example, you start by writing the variable name and the vector size after
so, is it necessary to respect the order of the syntax for vector declaration or not?
thank you to explain to me in detail because I am a beginner in opeenmodelica, 
thank you in advance for your answer 

OpenModelica Arrays-in-Modelica 00-01 min 50-60 sec 19-04-19, 7:52 p.m. Abderezak

Answers:

Declaration of array in both the form is correct.

For example,
Real a[2] or Real[2] a
both are valid declaration.
01-05-19, 1:18 p.m. priyamnayak


Log-in to answer to this question.