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

13 lines
202 B
Text

without js -- (desktop/Phix only)
sequence history = {}
type hv(object o)
history = append(history,o)
return true
end type
hv test = 1
test = 2
test = 3
?{"current",test}
?{"history",history}