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 afterso, 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
6435 visits
Outline:Defining Vector Defining Vector Indexing Declaring array variables Using for loops Using while loops Constructing arrays Using Nested for loop
Defining Vector Defining Vector Indexing Declaring array variables Using for loops Using while loops Constructing arrays Using Nested for loop
Show video info
Pre-requisite