Obsolete use of !upper / !lower in !for - cycles

23 views
Skip to first unread message

aor...@nes.ru

unread,
Jan 30, 2014, 10:18:32 AM1/30/14
to iris-t...@googlegroups.com
Hi!

I have encountered a warning while trying to parse the following piece of modelling code:

!for
    y, x
!do

    !transition_variables
        !upper?,
        d!upper?
        
    !transition_equations        
        ...
!end    

The erros states:

Warning: IRIS Toolbox Warning :: obsolete.
*** The syntax for lower/upper case of a !for control variable in the following piece of code
is obsolete, and will be removed from IRIS in the future: '

    !transition_variables
        !upper?,
        d!upper?

What might be the problem or how to substitute !upper syntax for something that will not become obsolete?

Best,
Andrey Orlov

Jaromir Benes

unread,
Feb 3, 2014, 2:32:06 PM2/3/14
to aor...@nes.ru, the-iris-toolbox [discussion forum]
Hi

Please see `help modellang/for` for the syntax.

J.


--
You received this message because you are subscribed to the Google Groups "iris-toolbox-discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to iris-toolbox...@googlegroups.com.
To post to this group, send email to iris-t...@googlegroups.com.
Visit this group at http://groups.google.com/group/iris-toolbox.
For more options, visit https://groups.google.com/groups/opt_out.

Jaromir Benes

unread,
Feb 3, 2014, 2:33:08 PM2/3/14
to aor...@nes.ru, the-iris-toolbox [discussion forum]
...or more conveniently, `idoc modellang/for`...

Michael Johnston

unread,
Feb 3, 2014, 4:16:56 PM2/3/14
to Jaromir Benes, aor...@nes.ru, the-iris-toolbox [discussion forum]
There are also examples of how to use named !for loops in the model files I was exchanging with Hector recently. 
Reply all
Reply to author
Forward
0 new messages