and
syntax: and(e1,e2)
returns 1 if e1 and e2 are true (1), returns 0 if not. If e1 is not true, then e2 is not evaluated. Instead of writing and (e1,e2) the user can also write e1 and e2.
See also or
So, both commands are user can as usual…
Max
Syntax: max( e1, e2 )
Returns the maximum of r1 and e2. See also min
We end this chapter by a few commands on time and time conversion. Remember that ED thinks in seconds, but it is easy to convert time:
Time returns the current model time in seconds
Mins (e1) returns e1 (minutes) in seconds: multiplies e1 with 60.
Hr(e1) returns e1 (hours) in seconds: multiplies e1 with 3600.