Hi!

Please check this screenshot:



For some reason the guarding if statement is ignored and I had to add a second if to check if curve was nothing, otherwhise it would crash here, when PlotModel.Curve was not initialized. Why is the if not PlotModel is nothing then statement ignored/evaluated incorrectly?

is it me who is doing something wrong, or is the compiler acting up on me? I have seen this on occation before.


/H