Thanks for the replies. I was able to get my first program to run after posting the question. It seems the problem is the buisness about turning off the power when changing from loading to running. I thought maybe my battery pack was weak. Then when I leave the USB plugged in does the power switch on/off do anything? So now it tries the program which is supposed to take off but ot doesn't gain much height. I have added pre commands and I'll try some more soon. There is a lot of good information on the programming language, examples etc. What is missing is the quirky info on how to load and execute programs - particularily execute programs.
Here's something else that is not addressed.. After loading a program is it stored indefinitely? What resets it? Suppose I want to go back to just running the drone using the controller? How do I toggle between using the controller in manual mpde and rnning a program?
Is the default contrller program the one that is in examples in the IDE called Flight Controller?