Coding on small basic

info and more!

Here is my unit converter on small basic

What each command does :

  • background colour changes the background colour to a specific choice
  • foreground colour changes the colour of the font
  • text window basically means your telling it to do something
  • write line Opens the specified file and write the contents at the specified line number. This operation will overwrite any existing content at the specified line.
  • then i set the variables so when someone types in the number it instantly changes
  • and then read number basically means that the computer reads the number and processes it.

How i need to improve:

i could improve this by adding a reverse option; so change miles to km or km to miles. I dont think that theres any errors with this but if there is i will look again :)