Page 1 of 2 12 LastLast
Results 1 to 10 of 15

Thread: .bas

  1. #1
    Join Date
    Jan 2007
    Location
    3' from Hell
    Beans
    1,316

    .bas

    i have a group of files that were created in GWBasic. I need to know
    how to import them to GWBasic or convert them to some form of text file.

    can Any one help?
    The only dumb question is the one not asked.

    In service to the Dream

  2. #2
    Join Date
    Jan 2007
    Location
    3' from Hell
    Beans
    1,316

    Re: .bas

    any one ? Help?
    The only dumb question is the one not asked.

    In service to the Dream

  3. #3
    Join Date
    Feb 2009
    Location
    Dallas
    Beans
    1,494

    Re: .bas

    Quote Originally Posted by stalkingwolf View Post
    i have a group of files that were created in GWBasic. I need to know
    how to import them to GWBasic or convert them to some form of text file.

    can Any one help?
    The .bas files are plain text files. Just open them in a text editor like gedit or nano. Maybe I don't understand your question?

  4. #4
    Join Date
    Jan 2007
    Location
    3' from Hell
    Beans
    1,316

    Re: .bas

    gedit doesnt recognise the character encoding
    The only dumb question is the one not asked.

    In service to the Dream

  5. #5
    Join Date
    Jan 2007
    Location
    3' from Hell
    Beans
    1,316

    Re: .bas

    gedit doesnt recognise the character encoding
    The only dumb question is the one not asked.

    In service to the Dream

  6. #6
    Join Date
    Feb 2009
    Location
    Dallas
    Beans
    1,494

    Re: .bas

    Quote Originally Posted by stalkingwolf View Post
    gedit doesnt recognise the character encoding
    If you haven't run these yet can you run the commands and post the output of them?

    Code:
    file yourFileHere.bas
    Code:
    head yourFileHere.bas

  7. #7
    Join Date
    Jun 2007
    Location
    Paraparaumu, New Zealand
    Beans
    Hidden!

    Re: .bas

    If memory serves correctly, GWBasic files are stored in tokenised form by default. You might need to look around for a tool to convert them to ASCII (plain text), which is what I think the OP was asking about.
    Forum DOs and DON'Ts
    Please use CODE tags
    Including your email address in a post is not recommended
    My Blog

  8. #8
    Join Date
    Sep 2009
    Beans
    1,293

    Re: .bas

    GWBasic .bas files are binary format by default, don't know if theres a non-emulation way to go about converting them but..

    *Download GWBasic http://www.gw-basic.com/downloads.html and extract

    * start in dosbox
    $ dosbox GWBASIC.EXE

    * In dosbox/GWBasic load the file
    load "MYFILE.BAS"

    * and then save to ascii
    save "MYFILE.TXT",a

  9. #9
    Join Date
    Jan 2007
    Location
    3' from Hell
    Beans
    1,316

    Re: .bas

    tried ORBIT.BAS and ORBIT.BAS and it returned illegal command
    The only dumb question is the one not asked.

    In service to the Dream

  10. #10
    Join Date
    Jan 2007
    Location
    3' from Hell
    Beans
    1,316

    Re: .bas

    im getting no such file to both commands.






    update. i feel really stupid. i discovered that all variations of word programs, ms office word, Oo writer and Lowriter will open them. wont know if its what he wants til tomorrow. I would like to figure out what im doing wrong with dosbox and GWBASIC .
    Last edited by stalkingwolf; April 21st, 2012 at 03:42 AM.
    The only dumb question is the one not asked.

    In service to the Dream

Page 1 of 2 12 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •