PureBytes Links
Trading Reference Links
|
Title: Anyone using a System-CheckSum?
Hello,
I would like to create a System-CheckSum, for example sum the last DateTime of each of the component formulas and/or data files used by the system. This would provide me, based on a single number, a way to verify that all computers are using the same code and using the same data files. I know files are supposed to be synchronized but I would feel better if there were an additional Check. I can't simply sum the DT of all shared files because not all are always used.
I played with the code below and even tried using an include to read the DateTime of the formula including it. But I can't get it to go.
There must be an easier/better way but it has to be automated.
Is anyone doing this or have any ideas?
Thanks,
herman
Filename = "C:\\SharedFormulas\\"+StrLeft(_DEFAULT_NAME(),StrLen(_DEFAULT_NAME())-2);
FileModified= fgetstatus( Filename, 1, 3 );
// CheckSum = sum of FileModified DTs
__._,_.___
**** IMPORTANT PLEASE READ ****
This group is for the discussion between users only.
This is *NOT* technical support channel.
TO GET TECHNICAL SUPPORT send an e-mail directly to
SUPPORT {at} amibroker.com
TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
http://www.amibroker.com/feedback/
(submissions sent via other channels won't be considered)
For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/
__,_._,___
|