Welcome, Guest. Please login or register.

Author Topic: Commodore BASIC for UNIX and Windows  (Read 2409 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline Darrin

  • Lifetime Member
  • Hero Member
  • *****
  • Join Date: May 2002
  • Posts: 4430
    • Show all replies
Re: Commodore BASIC for UNIX and Windows
« on: October 31, 2008, 08:37:22 PM »
Quote

beller wrote:
I just tried it under OS X and it doesn't appear to work.  Everything I enter, even simple print commands, result in syntax errors.  I copied in their sieve program and it doesn't run either....

While it's cool to watch it startup withe 38911 free message, it sure doesn't beat Frodo as a 64.


It's case sensitive.  Make sure you write your program in UPPER CASE (commands and variables).

for example, if you type
10 let a=10+1
20 print a
run

Then you'll get a syntax error

Type
RUN

and you'll get a syntax error in 10

edit 10 to read:
10 LET a=10+1

and you'll still get the syntax error in 10

edit 10 to read:
10 LET A=10+1

and you'll gte the syntax error in 20

It does work.  At least it does on my HP laptop running Vista.
A2000, A3000, 2 x A1200T, A1200, A4000Tower & Mediator, CD32, VIC-20, C64, C128, C128D, PET 8032, Minimig & ARM, C-One, FPGA Arcade... and AmigaOne X1000.