I don't know either.
I guess that:
suspend evaluates, but before it allows test to finish, "& " needs to be
evaluated. Each initial evaluation of (1 to 3) succeeds evaluating as
1. I think the (1 to 3) expression refreshes each time test is called.
The & succeeds - the & expression returns its right hand side to every
as the (unused) result, i.e. 1,1,1. Evaluation of the every expression
succeeds and the suspend is acted upon. There are 3 suspensions of test,
1,2,3 and then it fails.
This is pure seat of the pants guesswork. No reference to the
documentation, just memory.
I'm usually wrong about what iterators do. But my thought process might
amuse the experts.
J
On 13/08/2016 12:00, Sergey Logichev wrote:
It's seems very provacative! From logical point of view I suggest
output as double sequence 1,2,3.
But actually, I do not know!
Best regards,
Sergey
13.08.2016, 13:53, "Bruce & Breeanna Rennie" <bren...@dcsi.net.au>:
Good evening to all,
I have written the following test program
procedure main()
every write(test())
end
procedure test()
every (suspend 1 to 3) & (1 to 3)
end
Based on what is understood from the semantics of unicon, what do people
believe this should do?
As a part of a specific side project I am working on, I am investigating
some of the conditions of unicon/icon semantics.
Any thoughts will be welcome. I do ask that nobody actually compile and
run this just yet. I want to see what people think first before
discussing the results obtained.
regards
Bruce Rennie
------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and
traffic
patterns at an interface-level. Reveals which users, apps, and
protocols are
consuming the most bandwidth. Provides multi-vendor support for NetFlow,
J-Flow, sFlow and other flows. Make informed decisions using capacity
planning reports. http://sdm.link/zohodev2dev
_______________________________________________
Unicon-group mailing list
Unicon-group@lists.sourceforge.net
<mailto:Unicon-group@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/unicon-group
------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are
consuming the most bandwidth. Provides multi-vendor support for NetFlow,
J-Flow, sFlow and other flows. Make informed decisions using capacity
planning reports. http://sdm.link/zohodev2dev
_______________________________________________
Unicon-group mailing list
Unicon-group@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/unicon-group
------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are
consuming the most bandwidth. Provides multi-vendor support for NetFlow,
J-Flow, sFlow and other flows. Make informed decisions using capacity
planning reports. http://sdm.link/zohodev2dev
_______________________________________________
Unicon-group mailing list
Unicon-group@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/unicon-group