SupportCommunity FPScript FPSricpt ChangeUnit function does not work ? Antwort auf: FPSricpt ChangeUnit function does not work ?

#9392
Bernhard KantzBernhard Kantz
Teilnehmer

The function ChangeUnit() returns a dataset with the unit set/converted to the trailing parameters. It does not alter the first argument itself. To get the desired result you may write:


Dim toto = Signal((4, 1, 2), 1)
ChangeUnit(toto, "test")

Note: The last expression will become the value of the formula, Return is not necessary.