Converting Basic program to iPhone app?

Discussion in 'iOS Programming' started by bossxii, Oct 28, 2009.

  1. macrumors 68000

    Joined:
    Nov 9, 2008
    Location:
    Kansas City
    #1
    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.
     
  2. macrumors 603

    Joined:
    Jul 29, 2003
    Location:
    Silicon Valley
    #2
    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.
     
  3. macrumors 6502a

    Joined:
    Oct 24, 2008
    Location:
    Cambridge
  4. macrumors 68040

    Joined:
    Apr 22, 2005
    #4
    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.
     
  5. macrumors 603

    Joined:
    Jul 29, 2003
    Location:
    Silicon Valley
    #5
    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.
     
  6. thread starter macrumors 68000

    Joined:
    Nov 9, 2008
    Location:
    Kansas City
    #6
    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.
     

Share This Page