Skip to main content

How to set up the datewarp feature in runtime?

  • February 15, 2013
  • 0 replies
  • 0 views

Problem:

Is there an equivalent feature to the Animate | DateWarp feature in the Net Express IDE, to be used outside of the IDE for runtime?

Resolution:

Yes, there is.  The runtime tunables datewarp_dynamic and timewarp_dynamic.

REF:  Go to the Net Express help menu and in the 'Index' tab, enter the keyword 'datewarp_dynamic' or 'timewarp_dynamic'

Or go to the 'Contents' tab and located under the Reference | runtime system | runtime tunables for the datewarp_dynamic topic

    datewarp_dynamic

Specifies whether the day, month, and year values specified by the current_day, current_month, and current_year tunables return static or "rolling" values.

Syntax:

>>-----set datewarp_dynamic=---.-TRUE-.-------------><

                                -FALSE

Parameters:

TRUE  The day, month, and year values specified for the current_day, current_month and current_year tunables are treated as the clock start values and will "roll" once they have been set.

FALSE The day, month, and year values specified for the current_day, current_month, and current_year tunables are static values that will always be returned when the ACCEPT identifier FROM DATE syntax or the CURRENT-DATE intrinsic function is used.

Properties:

Default: FALSE  

Setting: None

See Also:

current_day

current_month

current_year

timewarp_dynamic

Old KB# 4051