Yesterday, 01:02
(This post was last modified: Yesterday, 08:07 by Stanley Durham.)
Shows country location on map and weather, based on selection.
AI doesn’t remove your involvement; it explodes what you can do.
You can do things fast that you wouldn’t have attempted.
One prompt, DeepSeek. Got to have Python installed, AI main tool.
=======
Prompt:
=======
compiler: PowerBASIC
compiler documentation: C:\Temp\PB\PB_AI.md
compiler documentation: C:\Temp\PB\PBHelp.html
file: C:\Temp\WorldWeather\WorldWeather.bas
file: C:\Temp\WorldWeather\Countries.txt
---
use only PowerBASIC code, no external code.
in Countries.txt, build a list of all countries.
WorldWeather.bas is a Windows GUI app.
put Countries.txt in a listbox.
when a country is selected, using PowerBASIC graphic commands, draw a map of where that country is on a world map.
in a textbox, give the current weather.
=======
C:\Temp\PB\PBHelp.html is PB help converted to HTML.
C:\Temp\PB\PB_AI.md, I asked DS to build a AI reference file from C:\Temp\PB\PBHelp.html.
WorldWeather.bas
latest code below
AI doesn’t remove your involvement; it explodes what you can do.
You can do things fast that you wouldn’t have attempted.
One prompt, DeepSeek. Got to have Python installed, AI main tool.
=======
Prompt:
=======
compiler: PowerBASIC
compiler documentation: C:\Temp\PB\PB_AI.md
compiler documentation: C:\Temp\PB\PBHelp.html
file: C:\Temp\WorldWeather\WorldWeather.bas
file: C:\Temp\WorldWeather\Countries.txt
---
use only PowerBASIC code, no external code.
in Countries.txt, build a list of all countries.
WorldWeather.bas is a Windows GUI app.
put Countries.txt in a listbox.
when a country is selected, using PowerBASIC graphic commands, draw a map of where that country is on a world map.
in a textbox, give the current weather.
=======
C:\Temp\PB\PBHelp.html is PB help converted to HTML.
C:\Temp\PB\PB_AI.md, I asked DS to build a AI reference file from C:\Temp\PB\PBHelp.html.
WorldWeather.bas
latest code below

