I’m not sure what the rates are, but if you’d like for us to write the code for you, then you can reach out to us-services@hms.se with a short description on what you’d like the code to do and get a quote from somebody in sales.
As for the switch condition, I don’t think we have something like that in BASIC but I would probably end up doing something equivalent with if statements