I now know what I did wrong. I tried to set a Global variable to the Y-velocity, then append it to a text field. It doesn't work that way. If I use an object instance variable instead, then I can both display it and use it in a calculation. Sorted!
Thanks for checking for me :)