Basic for snow leopard

Discussion in 'Mac Programming' started by jamesapp, Sep 12, 2009.

  1. jamesapp macrumors 6502a

    Joined:
    Mar 7, 2008
    #1
    Hello,
    I want to write programs using basic on snow leopard. Just wondering what the best basic is for mac os x 10.6 snow leopard. I have an external speech synthesizer and in the users manual they give programming examples i.e.
    100 LPRINT char$
    etc. I wondered what is available that is updated for snow leopard? Would I run the basic program in terminal, or would it have it's own IDE? Any help?
     
  2. cjmillsnun macrumors 68020

    Joined:
    Aug 28, 2009
    #2
  3. chown33 macrumors 604

    Joined:
    Aug 9, 2009
    #3
    You need to make sure that any BASIC also writes data to a serial-port when the LPRINT command is used. Otherwise the BASIC examples will be irrelevant, because they come from a different land where printers are always connected to serial-ports.

    I don't think you really want "the best basic". What you really want is a BASIC whose LPRINT writes to a serial-port, has line-numbers, and is overall exactly the same as the BASIC language used in your examples. You may think that's the same as "the best basic", but these days it might very well be one of the oldest and most primitive versions of BASIC.

    You might be better off using bootcamp to run Windows or MS-DOS and run an old BASIC configured with a serial-port for LPRINT.
     
  4. pikester macrumors newbie

    pikester

    Joined:
    Feb 27, 2009
    #4
    RealBasic is probably the best BASIC for the Mac (and I'll assume that it supports writing to the serial port). There are lots of free BASIC interpreters out there (http://freebasic.net for one), but I'm not sure how well they support serial communications on the Mac.
     

Share This Page