Calling all early-personal-computing fans, remember typing Basic programs into your home computer? HotPaw Basic recreates the retro-experience of a text-mode Basic interpreter, and it runs right on your iPhone or iPad. You can also use HotPaw Basic as a programmable calculator, or for displaying simple line graphics. The HotPaw Basic interpreter supports the minimal Basic language, including: Commands: let if then else endif dim data read restore for to step next while wend goto gosub return ? print input open close end stop mat run new list del save load dir cls rem Functions: int() abs() sgn() rnd() sqr() exp() log() log10() sin() cos() tan() atn() len() val() asc() str$() chr$() hex$() mid$() timer() date$ time$ pi Operators: + - * / mod ^ = and or xor not Also includes new command and functions to support line graphics, Morse Code audio, FFT analysis, GPS location, MQTT and BTLE communications. Line numbers are required. Type in the text of your program and type "run" to run them. See: http://www.hotpaw.com/rhn/basic/iphone/ for a more complete description of the Basic language syntax, commands and functions which this Basic interpreter supports.
Don’t believe the hype
GPS and location will not work. It’s pretty crippled by iOS
EXCELLENT APP!
Thanks so much for providing this! I've been looking for a BASIC that wasn't stripped down, be mobile for my iPhone, and was delighted this is it! I'm an amateur astronomer and I was using an awkward spreadsheet out in the field, which was cumbersome/very time-consuming to keep updated. Now I've written a program to handle it automatically. I spend more time preparing for my next viewing run instead of missing it! Thanks again!
There's no Break!
How do you force a program to terminate short of exiting the app?
Nice, but a few comments
Needs better docs on using some functions, especially the accelerometer, touch, and vibrate functions. Very cumbersome editor also. Overall a fun way to relive the days of old basic line numbered spaghetti code and to appreciate how good coders have it now!! Also crashes sometimes when getting out of the full edit mode. Hopefully subsequent releases will address some or all of these issues.
Good interpreter, needs doc interact
This by far the most fun basic interpreter on the iPhone to code for. My only request is for document interaction support (so you can take a text, bas, or image file from another app and import it into this one, and export arbitrary files to other apps)
not ready
It is more a toy than a programming language. The function RND gives very weird results. I suspect problems with other functions as well. Good luck to the reviewer who said he was writing probabilistic simulations. In addition, it is VERY cumbersome to edit your program. Just an overpriced toy.
Very handy for repetitive, recursive or involved calculations
I've used Basic for complicated calculations since the days of the Apple II+. This implementation is very useful, as it includes most functions and operations that I need. Single precision is ok and I suppose double would be too much to hope for (I'll use Chipmunk Basic for that on my Mac). The graphics features are an added bonus. I am very happy that the Ready prompt was modified to be less intrusive. It's very cool to have a straightforward programming language on the iPad. While waiting at the car dealer I was running a probabilistic simulation. How cool (or geeky) is that?
Updated to better support newer iOS devices
Subscribe our newsletter and get useful information every week.