Fork-join_none with delay

In reply to dave_59:

Thanks Dave.

In reply to dave_59:

Hi Dave,
If I modify #1 to 1us in the code, why it displays 0######?
Thanks

In reply to timag:

The first iteration of the for loop always starts at time 0.

In reply to dave_59:

Hi Dave,

Does this code give different output if you use fork-join instead of join_none?

In reply to kirankinhal:

Yes, a fork/join in that example would behave the same as begin/end since there is only one statement and no delays inside. In those cases the current iteration value of k gets displayed.