Okay Peter. Have you changed any other functions? - I am trying to keep compatibility with a selection of your previous examples.
I agree 64 bit is not a bundle of joy. I've worked on a few of your programs and got them running as 64 bit binaries. You have to pay close attention to variable types.
Working in 64 bit Assembler with the OS is considerably more demanding but good for the soul
Charles
PS: Rejuvenation therapy for the Basic language!