#GETVALUE Examples
#GETVALUE Hours ; Will return the last non-zero value
; in the array Hours.
r:= date_of_transfer & ; Will return the value of compensation at date of
r #GETVALUE compensation ; transfer, if a value exists in the array whose
; stop date is the date of transfer.
12/31/2009 #GETVALUE Hours ; Will return zero or the Hours value at
; the stop date 12/31/2009
DT:= #ENDMTH #DODEC & ; end of the month containing decrement S:= SALARY & ; The start/stop array SALARY, is expanded to #DATE
; number of values (projecting the value(s) in the
; last measurement period, if appropriate; never
; includes salary scale or meritDT #GETVALUE S ; salary at the end of the month of decrement
12/31/2009 #GETVALUE #THIS ; Will return the value at 12/31/2009 of #THIS.
r:= (#THIS >= 100000) &
r #GETVALUE #DATE
; r indicates where the amounts are greater
; than or equal to 100,000 in #THIS.
; The last non-zero indicator in r is used
; to find the date associated with the
; latest value of amounts >= 100,000.