Menu

How to execute xbasic program

Christos
2021-11-26
2023-04-29
  • Christos

    Christos - 2021-11-26

    Hello,

    so I want to create an environment to create a project under windows. I've installed the binary which was very easy
    (btw, under linux mint there was a problem with libreadline7 being a requirement so the deb package wouldn't install and I had to compile from source which brought issues with imagemagic and ghostscript. Would you consider releasing an appimage or something? ).

    Now since I want to be able to run the programs I create there seems to be an issue with calling xbasic.exe test.bas.

    'xbasic' is not recognized as an internal or external command,
    operable program or batch file.

    Does anyone have any idea how this is supposed to work? I have both linux and windows environments running and I would like to be able to develop on both of them.
    Thanks in advance

     
  • Markus Hoffmann

    Markus Hoffmann - 2021-11-27

    Well there is actually an installation package for X11-Basic on WINDOWS. It is on codeberg:

    https://codeberg.org/kollo/X11Basic/releases

    Maybe this is what you want?

     
    • Yet Another Troll

      Hey, long time no see. There seems to be an issue with the documentation web pages. For example, clicking on the link to xbasic(1) from https://x11-basic.sourceforge.net/ybasic.1.html yields a 404 error.

       
  • Christos

    Christos - 2021-11-27

    Yes, this is exactly what I used and it is installed correctly

    But my issue is that I can't run my programs from my project folder unless I open x11basic and type
    load "g:/fullpath/test.bas"

    I just wonder if there is an easier way to launch x11basic and the program under windows. A single command if you will.

    Something like that will speed up my development time. I actually chose x11basic for this project because I need to do this project fast and I think that my familiarity with GFA (and X11) will help a lot.

     
    • Yet Another Troll

      You'll want to look at xbbc and xbvm to the middle right here:

      https://x11-basic.sourceforge.net/x11basic.html

      Also perhaps xbc if you have a C compiler set up on your system

      xbasic.exe and the others are typically installed here,

      Directory of C:\Program Files (x86)\X11-Basic

      07/08/2019 01:45 PM 834,560 xb2c.exe
      07/08/2019 01:44 PM 815,616 xbasic.exe
      07/08/2019 01:44 PM 871,424 xbbc.exe
      07/08/2019 01:45 PM 826,980 xbc.exe
      07/08/2019 01:44 PM 816,640 xbvm.exe
      5 File(s) 4,165,220 bytes

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.