View Full Version : Converting Basic program to iPhone app?

Oct 28, 2009, 09:33 AM
Looking for some advice on the possibilities of taking a program written in basic (still used in QuickBasic 4.5) and having someone convert it to an iPhone app. It's been nearly 20 years since I programmed on a C64 and a PC on a regular basis but between myself and my father at that time we have a program that does cost estimates to build house. The program works great but thinking about taking it from my Win XP machine sitting at home to my iPhone so I could have this estimator on jobsites and out in the field with me.

The total program consists of about 300 lines of code, simple and effective.

Basic concept is a means to enter numbers, and edit the prices for materials as needed. The output would be pretty simple, maybe a PDF that could be emailed/printed etc..

I'm looking for some direction on who or what company provides programming services for such a project.

Thanks in advance for any advice.

Oct 28, 2009, 12:02 PM
Apple seems to be rejecting Basic interpreters from being in the App store.

Have you thought about converting your Basic program into a web app in JavaScript?

It's even possible to make a web app so that it can be used offline after loading it up online.

Oct 28, 2009, 12:27 PM
It's possible to sneak interpreters past Apple if you're creative; see http://itunes.apple.com/WebObjects/MZStore.woa/wa/viewArtist?id=306032866

Oct 28, 2009, 01:44 PM
I don't think the OP ever said anything about building a whole BASIC interpreter for the iPhone...if the code is in plain old BASIC, it should be trivial to convert it to Objective-C, minus any I/O which of course would be rewritten to use the appropriate GUI items.

Oct 28, 2009, 11:45 PM
There's even software that will do much of the Basic to C translation for you, except for the IO or UI. Search for qb2c.

Oct 29, 2009, 12:34 AM
Thanks for the advice all. I am indeed looking to simply convert a program written in basic to C so it may run as a native App. I haven't programmed much in the past 15 years so lots to learn again but this program would be very handy for me on my iPhone.

Thanks again, will check out the converters.