On Thu, 2020-08-06 at 15:28 +0200, Domingo Alvarez Duarte wrote:
> Hello Andrew !
> 
> It seems to an inconsistent behavior see example bellow, if display
> do 
> not reference/instantiate model entities I would not expect any
> output 
> for "display {(a,b) in S} (a,b);".

The display statement is intended mainly for model debugging, in
particular, to see which object members were actually referenced.

In your case you specify an expression, not an object, so that
expression is evaluated as usual.

For example, in Fortran this difference would look like follows:

   print *, a

   print *, (a(i), i = 3, 7)



> 
> ====
> [...]

Reply via email to