RemoveFromString$
Posted: Sat Sep 16, 2023 8:41 pm
Hi
When I include in a calculation icon the RemoveFromString$ function (e.g. Hex = RemoveFromString$(Hex,2,0) where Hex is a string), it simulates correctly but returns an error when compiling
:0:: error: (499) undefined symbol:
_FCI_REMOVEFROMSTRING(FLOWCODE_Test.o)
(908) exit status = 1
If I disable the calculation then the rest compiles OK.
I'm using it to remove the "0x" from a string (e.g. if Hex = 0xff it returns ff) and I can also do it by getting length of string then a calculation using the Right$ function (length-2) etc which does compile but is a bit of a faff.
Regards
When I include in a calculation icon the RemoveFromString$ function (e.g. Hex = RemoveFromString$(Hex,2,0) where Hex is a string), it simulates correctly but returns an error when compiling
:0:: error: (499) undefined symbol:
_FCI_REMOVEFROMSTRING(FLOWCODE_Test.o)
(908) exit status = 1
If I disable the calculation then the rest compiles OK.
I'm using it to remove the "0x" from a string (e.g. if Hex = 0xff it returns ff) and I can also do it by getting length of string then a calculation using the Right$ function (length-2) etc which does compile but is a bit of a faff.
Regards