2 questions on EA and ClientTerminal interface

 

(1) UninitializeReason() not always return to new launch init() what previous launch deinit() sees, why?

previous launch deinit() sees: REASON_CHARTCLOSE

new launch init() sees: Script finished its execution independently


(2) EA global scope memory and EA any scope static memory
fails to reset to compile time initialization values every time init() called, why?

When UninitializeReason() returns REASON_CHARTCHANGE or REASON_PARAMETERS
EA global scope memory and EA any scope static memory are observed to retain values
from previous launch.

Both questions & observations are easily demonstrated, this is not my imagination.

I have programmed around above discovered issues - but... that is not answer for all MT users, is it?
How many are getting unaccountable EA runtime descrepancies and needlessly spend so much time in attempts to explain?

((Thank you irusoh1 (on 2006.10.30 19:28, 'int x = double y ?') for getting me back onto stable ground, post contents *always* in my mind whenever get to point with MT where loose will to live :))

Reason: