Global variables in FDMEE jython event scripts
Hi
I am struggling to work out how to define, set and read global variables across FDMEE jython event scripts. For example, storing a start time variable in BefImport and reading it in AftLoad to calc elapsed time. I've tried various permutations of:
In BefImport:
...
global StartTime
StartTime = datetime.datetime.now()
...
In AftLoad:
...
ElapsedTime = datetime.datetime.now() - StartTime
...
The result is AftLoad fails with "StartTime not defined".
All help gratefully received. I'm sure it is simple when you know how.
Regards
Ian
