- Index
- » Programming
- » Modelica Language
- » keyword "within"
keyword "within"
keyword "within"
Do you have a clear explane to explain how to use the "within" keyword? in the guides it's not clear, do you have a pratical example please?
- claudio34
- 88 Posts
Re: keyword "within"
I use the "within"-statement to define the position of a new model within the model library.
I do not use the function "save in one file" when creating new packages. Instead of this Option, every package is a new file (which prevents data loss). After I created a new model, I first add the within-statement, e.g.
package - Test
model - Test01: first line in code: within Test;
model - Test01a: first line in code: within Test.Test01;
....
- Index
- » Programming
- » Modelica Language
- » keyword "within"