RosettaCodeData/Task/History-variables/Phix/history-variables-3.phix
2024-11-04 21:53:44 -08:00

8 lines
181 B
Text

with javascript_semantics
include history.e
constant test2 = new_history_id(1)
set_hv(test2, 2)
set_hv(test2, 3)
?{"current",get_hv(test2)}
?{"history",get_hv_full_history(test2)}