Menu

Bywater BASIC on VM/CMS

David Wade
2022-01-01
2022-01-01
  • David Wade

    David Wade - 2022-01-01

    Is there any documentation on how its set up for CMS. Is the interactive environment included.
    It just seems to want to run a program and exit.

     
    • Paul Edwards

      Paul Edwards - 2022-01-01

      bwbasic is a standard C90 program, so it is not appropriate
      for bwbasic documentation to mention anything about CMS
      in particular. It is the C library documentation that should
      take it to the next step. Or as you can see below with the
      double quotes, it is CMS that needs to document it.

      Yes, the interactive environment is included. Here is
      Sixpack 1.2 running:

      08:10:08 /(0009) bwbasic
      08:10:08
      Bywater BASIC Interpreter/Shell, version 2.50
      08:10:08
      Copyright (c) 1993, Ted A. Campbell
      08:10:08
      Copyright (c) 1995-1997, Jon B. Volkoff
      08:10:08

      08:10:19 /(0009) print "hi"
      08:10:19 bwBASIC: 0
      08:10:27 /(0009) print 3+4
      08:10:27 bwBASIC: 7
      08:10:37 /(0009) print 'hi'
      08:10:37 bwBASIC:
      08:10:37 ERROR: in bwb_exp(): Error detected in parsing expression
      08:11:17 /(0009) print ""hi""
      08:11:17 bwBASIC: HI
      08:11:36 /(0009) exit
      08:11:36 bwBASIC:
      08:11:36 ERROR: in bwb_exit(): Nonsense or nothing following EXIT
      08:11:40 /(0009) quit
      08:11:40 bwBASIC:
      08:11:40 Ready; T=0.04/0.06 21:11:40

      Note that the prompting is not very good because there
      is no newline after the prompt. And note that on the PC,
      if you do print “hi” it does not uppercase the “hi”. So
      that is presumably a function of CMS.

      Let me know if you need any further information.

      BFN. Paul.

      From: David Wade
      Sent: Sunday, January 2, 2022 2:23 AM
      To: [bwbasic:discussion]
      Subject: [bwbasic:discussion] Bywater BASIC on VM/CMS

      Is there any documentation on how its set up for CMS. Is the interactive environment included.
      It just seems to want to run a program and exit.


      Bywater BASIC on VM/CMS


      Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/bwbasic/discussion/162989/

      To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/

      --
      This email has been checked for viruses by AVG.
      https://www.avg.com

       

Log in to post a comment.