Menu

How to get an all inclusive version

Anonymous
2017-01-02
2017-01-08
  • Anonymous

    Anonymous - 2017-01-02

    What I would love most is, a version of PC basic, of which has all keywords from all, and available by default Such as, have the tandy features work by default, as long as it does not conflict with an identical keyword+attribute syntax of GW basic.

    Also, be handy to have the option of changing between simulators with a speicific keyword, to be used either in direct mode, or in a program. Should it be that a feature works best in say Tandy, while another feature or function in the same program may work best in GW basic.

     
  • Rob Hagemans

    Rob Hagemans - 2017-01-02

    Hi, thanks for the suggestion - what you want isn't really possible though, because if a given word is a keyword it may no longer be used as a variable name. For example, a GW-BASIC program could have a variable NOISE%=1 which is a syntax error on Tandy because it has the NOISE keyword; you can't add something without taking something else away. For the same reason I don't want to add new keywords to the language.

    Changing from one syntax to another is not possible without re-starting the emulator, because internal implementations are different for the different versions (keyword table, memory model, sound generator, a few other things). Even if there were a keyword to switch, it would have to perform a hard reset, losing your program and data; it would be impossible to have features from multiple versions in one program.

     
  • Anonymous

    Anonymous - 2017-01-03

    I always use single or double letter variables almost all of the time. But yes, it is imporant to support all previously written programs.

    Would it be possible to have an all inclusive version available?

     
  • Rob Hagemans

    Rob Hagemans - 2017-01-03

    I may misunderstand what you are looking for, but the Tandy 1000 syntax (i.e. starting with --syntax=tandy) is a superset of GW-BASIC/BASICA; it includes all 'Advanced BASIC' features plus the additional Tandy BASIC features. If you want this syntax to run automatically when you start up, you could set that option in your configuration file, or alternatively add a custom shortcut to your start menu or launcher.

     
  • Anonymous

    Anonymous - 2017-01-06

    Am sorry, as I am new to PC-basic, and am learning as to what I need to expect. Thanks for the information.

    Also, when I do syntax=tandy, Do I loose any of the GWBASIC features or keywords?

     
  • Rob Hagemans

    Rob Hagemans - 2017-01-06

    All GWBASIC features and keywords should also work with syntax=tandy.

     
  • Anonymous

    Anonymous - 2017-01-07

    Ok, just to be sure, I edit the following line; syntax=advanced ; choices: advanced, pcjr, tandy

    To become, syntax=tandy ; choices: advanced, pcjr, tandy

    of which I have now done.

     
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.