I need help making a script/dialog box where the user inputs a Latitude, Longitude, Cable length, and Antenna Height, then having the script take the cable lenght and multiply it by 4 to come up with a delay. Then I need all of the inputs placed into a transmit command ie.
transmit "GPS <Latitude> <Longitude> <Delay> <Height>^M"
I have been able to get the dialog box to work, but I am not able to make Procomm/Aspect do the multiplication. I end up with all kinds of compile errors. I think it is because my variables are all strings, and I can not figure out how to convert them to float. Thank you for your help.
transmit "GPS <Latitude> <Longitude> <Delay> <Height>^M"
I have been able to get the dialog box to work, but I am not able to make Procomm/Aspect do the multiplication. I end up with all kinds of compile errors. I think it is because my variables are all strings, and I can not figure out how to convert them to float. Thank you for your help.