Welcome, Guest. Please login or register.

Author Topic: BASIC language for AmigaOS4.. AMOS/Blitz  (Read 16311 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline bloodline

  • Master Sock Abuser
  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 12113
    • Show all replies
    • http://www.troubled-mind.com
Re: BASIC language for AmigaOS4.. AMOS/Blitz
« on: April 10, 2003, 11:56:59 AM »
I have spent a bit of time thinking about this one. I also find BASIC a great way to quickly throw ideas together without having to worry about complex syntax and "advanced" concepts like OOP, and then spend ages trauling through make files and linker scripts...
I liked the way Blitz2 worked.


I have found that using SLD in C takes all the sting out of it and makes using C as simple as Basic... This has make me think about building a simple Blitz Basic 2 compatible(ish) interpretor and use SDL as my Direct Media system. It wouldn't be very fast (or not as fast as possible is compiled), but it would be a quick and fun way try out new ideas.
If it was popular then I would think about building a compiler... Probably just a frontend to gcc:

BASIC--->C+SDL--->ASM--->EXE

Offline bloodline

  • Master Sock Abuser
  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 12113
    • Show all replies
    • http://www.troubled-mind.com
Re: BASIC language for AmigaOS4.. AMOS/Blitz
« Reply #1 on: May 28, 2003, 04:47:21 PM »
Quote

redrumloa wrote:
5 rem Programing in basic is this easy.
6 rem This is why C won't do for beginners!
10 input "Do you want Basic included with MorphOS or OS4?" ;a$
20 if a$ = "yes" then goto 50
30 print "Whatever!" : end
50 print "Yeah buddy!!" : end


 :-D


This is a good reason why I think the world does need a BASIC.

It's unstructured an ugly... but it's quick and simple (with instant results), and that's what you need when you want to get started in programming.