Talk About Network



Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Basic Misc > New version of ...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 9 Topic 1458 of 1466
Post > Topic >>

New version of bas7 - Interpreter for old basic programs from the

by thomas.mertes@[EMAIL PROTECTED] Apr 6, 2008 at 01:21 PM

Hello,

I just released a new version of the bas7 basic interpreter,
which can execute old basic programs from the line number era
(If you know GW-Basic: That was the era). The interpreter is
released under the GPL. A description of bas7 can be found here:

http://seed7.sourceforge.net/scrshots/bas7.htm

The new version of Bas7 is contained in new the release of
Seed7 seed7_05_20080406.tgz, which can be downloaded at:

http://sourceforge.net/project/showfiles.php?group_id=151126

Changelog of the 20080406 version of bas7:
- The scanner was improved to allow hex and oct numbers which start
  with &h and &o instead of &H and &O .
- The scanner was improved to allow alternate alternate forms
  of comparison operators: >< or > < instead of <> ,
  =< or = < instead of <= and => or = > instead of >= .
- Data statements which start with a hex or oct number without
  a space as in '500 DATA&Habcd' are now recogniced correctly.
- The INSTR function was corrected to return indices counted
  from the beginning of the string.
- Functions defined with DEF FN* can now be called also when
  there is a space between FN and the rest of the name. E.g.
    100 DEF FNB(C)=-C
    110 A=FN B(35)
- The behaviour of FOR .. NEXT loops where the NEXT statement
  has a list of variables as in 'NEXT X,Y,Z' was improved.
- The handling of PRINT statements was improved to allow
  USING clauses later in the parameter list. E.g.
    100 PRINT"The amount is " USING "##.##";XC
- The LOCATE statement was improved to accept up to five
  parameters (The last two parameters specify the form of
  the cursor and are ignored in bas7).
- The FIELD statements were improved to allow that the keyword
  'AS' is directly followed by a variable without an intermediate
  space. E.g. 100 FIELD#1,128ASDX$
- A log message was added to the RESUME statement.
- The CHAIN statement was improved to allow the program to
  continue when no file was found.
- The functions MKL$ and CVL are implemented now.

It would be nice to get some feedback about it.

Greetings Thomas Mertes

Seed7 Homepage:  http://seed7.sourceforge.net
Seed7 - The extensible programming language: User defined statements
and operators, abstract data types, templates without special
syntax, OO with interfaces and multiple dispatch, statically typed,
interpreted or compiled, portable, runs under linux/unix/windows.




 9 Posts in Topic:
New version of bas7 - Interpreter for old basic programs from th
thomas.mertes@[EMAIL PROT  2008-04-06 13:21:53 
Re: New version of bas7 - Interpreter for old basic programs fro
"Auric__" <n  2008-04-09 20:28:12 
Re: New version of bas7 - Interpreter for old basic programs fro
thomas.mertes@[EMAIL PROT  2008-04-11 01:30:52 
Re: New version of bas7 - Interpreter for old basic programs fro
"Auric__" <n  2008-04-11 16:30:29 
Re: New version of bas7 - Interpreter for old basic programs fro
thomas.mertes@[EMAIL PROT  2008-04-13 04:08:56 
Re: New version of bas7 - Interpreter for old basic programs fro
"Auric__" <n  2008-04-14 15:55:41 
Re: New version of bas7 - Interpreter for old basic programs fro
thomas.mertes@[EMAIL PROT  2008-04-21 07:26:57 
Re: New version of bas7 - Interpreter for old basic programs fro
"Auric__" <n  2008-04-21 15:44:20 
Re: New version of bas7 - Interpreter for old basic programs fro
thomas.mertes@[EMAIL PROT  2008-04-23 09:43:14 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Tue May 13 4:21:18 CDT 2008.