Hi Dale,
Copilot is Microsoft's AI assistant at
copilot.microsoft.com that you can use without even creating an account or signing in, although those are possible which would allow you to save your conversation history.
While the media raves over all the AI implementations (ChatGPT, Gemini, Copilot, etc.), they are far from perfect or even trustworthy. You have to treat them as an artificial assistant that may tell you the truth or complete fiction. That said, they can be very useful to summarize or find things. I think of them as overconfident, mistake-prone robots that have a vast wealth of knowledge. If you point out a mistake, they'll say they are sorry but they may repeat that same, or similar, mistake again very soon. They don't really, truly learn from the conversation.
I started the conversation with Copilot by asking if there was a simple formula for calculating the number of daylight hours for a location, given only the latitude in degrees and the day number of the date. Then I asked follow up questions to combine a couple of the answers into a single formula. If you ask different ways or start new conversations, it is possible that you could end up with different answers, so be aware of the pros/cons of that. You could also even ask it to write you the CRBasic code but don't be surprised if it doesn't work or is different from the actual formula. It could be a good way to get a head start and, if you're lucky, you might have success after going back and forth.
Good luck!