The Instance Variable has to be (Type = Txt) to be used with a string, at the moment you have the Instance Variable as = Number,
However, you can still use it with an Instance variable = Number as longs you convert it to a Number with the Expression "Int"
Example:
int(tokenat(text, 0, "|"))
The only problem with this is that it will round the Number and you will lose the (.4)
Not sure why Globals can use it and Instances Variables Not