# while loop unexpected behaviour (at least for me :) )

**URL:** <https://discourse.julialang.org/t/while-loop-unexpected-behaviour-at-least-for-me/19873>\
**Category:** General Usage\
**Tags:** question\
**Created:** [January 21, 2019, 2:20pm UTC](https://discourse.julialang.org/t/while-loop-unexpected-behaviour-at-least-for-me/19873 "2019-01-21T14:20:11Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![rdeits](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/rdeits/32/286_2.png) [@rdeits](https://discourse.julialang.org/u/rdeits)\
**Post date:** [January 21, 2019, 2:28pm UTC](https://discourse.julialang.org/t/while-loop-unexpected-behaviour-at-least-for-me/19873/2 "2019-01-21T14:28:22Z")

</div>

Welcome!

I’m afraid that it’s going to be very hard to answer your question from the information you’ve given. In particular, your example relies on a bunch of functions that we don’t have access to, and there’s probably a lot of complexity here that isn’t relevant to the problem. If you can remove all the extra complexity and boil the problem down to one thing, you’ll be much more likely to get a useful answer. For more info, please take a look at [Please read: make it easier to help you](https://discourse.julialang.org/t/psa-make-it-easier-to-help-you/14757)

---

_[View the full topic](https://discourse.julialang.org/t/while-loop-unexpected-behaviour-at-least-for-me/19873)._
