ropeypopey opened this issue on Aug 31, 2006 · 36 posts
Dead_Reckoning posted Sun, 03 September 2006 at 8:45 AM
Quote - As written, this doesn't seen to work for me:
k = Max(k * (Diam - k, 0) # avoid negative numbers ;-)
I finally figured out you are missing an inner closing brace:
k = Max(k * (Diam - k), 0) # avoid negative numbers ;-)
____________^(I assume just a typo in your post, because I guess the script worked on your computer)
Thanks Fazzel
Got another question:
Shouldn't there be more here to create the 3 or 4 different mt5 files based on the different disp values???????
Disp = 0
Disp += MakeThread (6,2)
Disp += MakeThread (-4,10)
Disp += MakeThread (2,100)
s.Displacement = 10 * Disp
Many Thanks
DR
"That government is
best which governs the least, because its people discipline
themselves."
Thomas Jefferson