%SaveTimeStamps function


Function
Controlling function, which enable/disable change of the timestamp at setting the parameters of local values or objects in D2000.
Declaration
%SaveTimeStamps(
   BOOL in _bSaveTimeStamps  
 )

Parameters
bSaveTimeStamps @TRUE - allows
@FALSE- disallows

Change of timestamp at assignment.


Description
Controlling function, which enable/disable change of the timestamp at setting the parameters of local values or objects in D2000.
After script start preservation of timestamp is not activated.

E.g. assignment executing:


Example
INT _i
_i := 1 + 1
 
value 2 is set for local variable _i whereby
real time is set for timestamp (e.g. 10:10:11 22-4-2008).

Following row disables timestamp actualization:


 
%SaveTimeStamps(@FALSE)

 
Following assignment sets new value (3) to the local variable without timestamp change.
 
_i := 2 + 1
 
This attribute is applied within inferences!!!
E.g. by reading values from archive (action GETARCHARR) the read values from archive are assigned to the final column without affecting their timestamps!!!

0 komentárov

Nie ste prihlásený. Akékoľvek zmeny, ktoré vykonáte, sa označia ako anonymné. Ak už máte svoj účet, pravdepodobne sa budete chcieť prihlásiť .