0

I would be grateful for recommendations of a version of the BASIC programming language that meets the following criteria:

required

    1. can create portable .exe files
    1. can input from .txt files
    1. can write to .txt files
    1. can carry out at least the four basic arithmetical operations
    1. has a clock function that can measure time in units at least as small as 1 second
    1. can run on Windows 10

would be greatly appreciated

    1. can create .txt files
    1. has readymade maths functions such as exp, log, and sin
    1. itself takes the form of a portable .exe
    1. is free

would be nice

    1. allows control over print size and text colour in output
    1. can read and display .jpg files (writing to and creating them is not needed)
    1. can work with a mouse
    1. has a friendly user community
4
  • Why, might I ask do you want BASIC in particular. It isn't a very good language.
    – Eric S
    Oct 3, 2023 at 1:09
  • @EricS - It may be the only language he's familiar with. Oct 3, 2023 at 10:51
  • @JeffZeitlin I’ve worked with BASIC and the small effort to pick up Python’s syntax would be well worth it, especially working with text files.
    – Eric S
    Oct 3, 2023 at 15:47
  • And I felt more-or-less the same way about each of the languages I picked up, including Pascal, PowerShell, CA-Realizer, Euphoria, and ... well, I know quite a number of languages. But not everyone feels the same way, and the querent may have other things he feels are better uses of his time. One of my objections to python is that it's indentation-sensitive, as opposed to using delimiters for sub-blocks like Pascal (BEGIN...END) or C ({...}) or PowerShell ({...}) or... Oct 3, 2023 at 15:54

1 Answer 1

0

Since you said free was appreciated, I assume it is not a requirement. This is not free, but it is not expensive either.

Just about any language will do what what you want to do, but it will not necessarily do it right out of the box. That is the point of programming languages, to allow you to "Build Things", not just "Do Things"

Power basic is a modern BASIC language, that can do all the things you have asked with proper coding.

https://www.powerbasic.com/powerbasic-compiler-for-windows

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.