HELP, Which Basic Interpreter?? 
Author Message
 HELP, Which Basic Interpreter??

Hi,

I'm trying to run a program which is written in Basic.  Without listing
the whole program (it computes the tap location for a pseudo-random code
generator), the problem I have is in determining which interpreter
supports some of the commands and functions I see.  Specifically, they
are MAT :

         DIM S(K,L)
         MAT S=ZER
                   I guess this zeroizes all the elements in Matix S

I've tried running this under Quick Basic as supplied with DOS V6.22
and GW Basic with no success.  I know that some of the older Hewlett
Packard computers (9000 series) had a basic interpreter and perhaps this
is where the code was developed.  

If anyone knows where I can find an interpreter that runs on a PC, please
let me know.

Thanks in advance.

Mike Stricker
(617) 981-4256 work



Sun, 28 Jun 1998 03:00:00 GMT  
 HELP, Which Basic Interpreter??


Quote:
>Hi,

>I'm trying to run a program which is written in Basic.  Without listing
>the whole program (it computes the tap location for a pseudo-random code
>generator), the problem I have is in determining which interpreter
>supports some of the commands and functions I see.  Specifically, they
>are MAT :

>         DIM S(K,L)
>         MAT S=ZER
>                   I guess this zeroizes all the elements in Matix S

>I've tried running this under Quick Basic as supplied with DOS V6.22
>and GW Basic with no success.  I know that some of the older Hewlett
>Packard computers (9000 series) had a basic interpreter and perhaps this
>is where the code was developed.  

The MAT commands were originally introduced in mainframe BASICs that were
derived from the original Dartmouth spec.

However, I think someone posted an article a couple of months ago during a
discussion of all the various BASICs claiming that at least the MAT commands
had been adopted by one of the PC BASICs.

I've never seen them in a PC BASIC myself.

--
  ++   ++   "Well Samwise: What do you think of the elves now?"


  ++   ++------------------------------------------------------



Mon, 29 Jun 1998 03:00:00 GMT  
 HELP, Which Basic Interpreter??

Quote:

> Hi,

> I'm trying to run a program which is written in Basic.  Without listing
> the whole program (it computes the tap location for a pseudo-random code
> generator), the problem I have is in determining which interpreter
> supports some of the commands and functions I see.  Specifically, they
> are MAT :

>          DIM S(K,L)
>          MAT S=ZER
>                    I guess this zeroizes all the elements in Matix S

> I've tried running this under Quick Basic as supplied with DOS V6.22
> and GW Basic with no success.  I know that some of the older Hewlett
> Packard computers (9000 series) had a basic interpreter and perhaps this
> is where the code was developed.  

> If anyone knows where I can find an interpreter that runs on a PC, please
> let me know.

> Thanks in advance.

> Mike Stricker
> (617) 981-4256 work

Well, the MAT command as you have it written there looks suspiciously like
True BASIC. However, DIM S(K,L) wouldn't be legal in True BASIC.

I am told that there is a BASIC much like the old HP BASIC called Rocky
Mountain BASIC, which True BASIC users have told me on occasion is similar
in many features to True BASIC.

So, those are two to check out. I can't help much with Rocky Mountain
BASIC, but if you want to email me a larger snippet of the code, I should
be able to tell you reasonably quickly if it is True BASIC or not.

==============================================================================
|  Christopher L. Sweeney    |       My Office       |      Main Office      |
|  True BASIC, Inc.          |  -------------------  |  -------------------  |
|  12 Commerce Avenue        |  Phone: 617/489-3692  |  Phone: 603/298-8517  |
|  West Lebanon, NH  03784   |  Fax  : 617/489-3692  |  Fax  : 603/298-7015  |
------------------------------------------------------------------------------

==============================================================================

--
                       ==========================
                       | Christopher L. Sweeney |

                       ==========================



Mon, 29 Jun 1998 03:00:00 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. Help: Basic interpreter in Basic or C

2. Help me find a BASIC Interpreter.

3. New BASIC interpreter for UNIX:MOLE basic

4. BASIC CGI scripts/ source code for basic interpreter

5. Interested in writing BASIC interpreter

6. BASIC Interpreters question...

7. BASIC interpreter in PostScript?

8. Book on BASIC interpreter?

9. What To Do With a BASIC Interpreter?

10. BASIC interpreter/compiler for unix

11. Smallest basic interpreter, where?

12. New BASIC interpreter

 

 
Powered by phpBB® Forum Software