truth and lie about purebasic

Everything else that doesn't fall into one of the other PB categories.
Thomas
Enthusiast
Enthusiast
Posts: 112
Joined: Sat Apr 26, 2003 8:45 pm

Post by Thomas »

thefool wrote:I think, to satisfy the basic hungry users you should do this:
Charge extra money for every compile because BASIC was originally meant to be an interpreter language.
Fred
Administrator
Administrator
Posts: 18162
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Post by Fred »

thefool wrote:as a non graphic programmer, may i ask why the screen is gray, and not black, when using the opengl subsystem?
Because it's not yet supported on OpenGL for now.
thefool
Always Here
Always Here
Posts: 5875
Joined: Sat Aug 30, 2003 5:58 pm
Location: Denmark

Post by thefool »

Thomas wrote:
thefool wrote:I think, to satisfy the basic hungry users you should do this:
Charge extra money for every compile because BASIC was originally meant to be an interpreter language.
Oh yeah! Sell purebasic interpretter for 69$, but charge an additional 100$ for a compiler.

@fred: Ok ill have to wait then :)
DarkDragon
Addict
Addict
Posts: 2344
Joined: Mon Jun 02, 2003 9:16 am
Location: Germany
Contact:

Post by DarkDragon »

Fred wrote:
thefool wrote:as a non graphic programmer, may i ask why the screen is gray, and not black, when using the opengl subsystem?
Because it's not yet supported on OpenGL for now.
As it crashes here and disabling my whole computer: can you tell me why it doesn't work?
bye,
Daniel
chris319
Enthusiast
Enthusiast
Posts: 782
Joined: Mon Oct 24, 2005 1:05 pm

Post by chris319 »

The following keywords/functions are part of the ANSI/ISO standard for BASIC:

Code: Select all

EXP(X)

SGN(X)

MOD(X,Y)

PI

ACOS(X)

ASIN(X)

ATN(X) (NOT ATAN)
but not SHL and SHR.

There are several other keywords missing from PB which are specified in the standard. IMO they all belong in PB.
chris319
Enthusiast
Enthusiast
Posts: 782
Joined: Mon Oct 24, 2005 1:05 pm

Post by chris319 »

That brings us back to the track that purebasic isnt basic


FRED:
I think, to satisfy the basic hungry users you should do this:

REQUIRE line numbers on every line!
REQUIRE the LET keyword when dealing with variables
Make pb slower and only support console!
Because the syntax is so far removed from actual BASIC, it shouldn't be called "Pure", "Basic", or "PureBasic" -- it is none of those things. Call it anything but.
Thomas
Enthusiast
Enthusiast
Posts: 112
Joined: Sat Apr 26, 2003 8:45 pm

Post by Thomas »

chris319 wrote:The following keywords/functions are part of the ANSI/ISO standard for BASIC:
Where did you get these? Post your sources, please!
ANSI/ISO 6373 Programming language - Minimal BASIC

Promotes the interchangeability of BASIC programs among a variety of data processing systems. It establishes the syntax, formats of data, semantic rules, procedures for the detection and handling of errors and defines the keywords BASE, DATA, DEF, DIM, END, FOR, GO, GOSUB, GOTO, IF, INPUT, LET, NEXT, ON, OPTION, PRINT, RANDOMIZE, READ, REM, RESTORE, RETURN, STEP, STOP, SUB, THEN and TO.
As you can see it makes no sense to be ANSI compatible for a modern BASIC compiler.
Trond
Always Here
Always Here
Posts: 7446
Joined: Mon Sep 22, 2003 6:45 pm
Location: Norway

Post by Trond »

Not that I want them, but:
DO .. LOOP
( DO .. LOOP WHILE )
( DO .. LOOP UNTIL )
INPUT
PRINT
CLS
SLEEP
INKEY$
COLOR
CSRLIN
LOCATE
SUB
FUNCTION
CALL
LET
BYREF
AS INTEGER
AS STRING
TYPE
SHL
SHR
MOD
INV
AND Not completely
NOT supported since
XOR they cannot be
OR used everywhere
are all rather standard basic and not supported. Sure, PureBasic offers just as good (and maybe even better) functionality with it's functions (for example, Print()), however, if we are talking about keywords we are talking about keywords.
chris319
Enthusiast
Enthusiast
Posts: 782
Joined: Mon Oct 24, 2005 1:05 pm

Post by chris319 »

Just found a page describing the statements and functions found in Kemeny and Kurtz's current implementation of BASIC, FYI:

http://www.truebasic.com/downloads/TB_Commands.pdf
Thomas
Enthusiast
Enthusiast
Posts: 112
Joined: Sat Apr 26, 2003 8:45 pm

Post by Thomas »

Trond wrote:are all rather standard basic and not supported.
There is no such thing as a BASIC standard. Do a thorough read on wikipedia before posting such rubbish.
Wikipedia wrote:This wealth of variants shows that the language is an "organic" one and that it may be seen as a subculture dealing with computer programming rather than as a fixed set of syntactic rules.
Trond
Always Here
Always Here
Posts: 7446
Joined: Mon Sep 22, 2003 6:45 pm
Location: Norway

Post by Trond »

Do we really want to go back to stoneage? If we want the original basic, why don't we download it from somewhere and use it?

Edit: Maybe you do not know what "rather" means?
define:rather wrote:to some (great or small) extent
Kale
PureBasic Expert
PureBasic Expert
Posts: 3000
Joined: Fri Apr 25, 2003 6:03 pm
Location: Lincoln, UK
Contact:

Post by Kale »

After downloading and trying REALbasic v5.50 during a free giveaway they had running a while back i would say that REALbasic is more akin to the Basic standard BUT i would add that the syntax looks horrible because of it! Yes it's more Basic'ified and has propbably all of the standard Basic commands, to me it looks very old and the syntax is very hard to read. This is partly to do with the fact that most standard Basic commands are abbrieviated so they don't really read as real words anymore. Plus all commands nearly always seem to be in CAPS which is horrible! yuck! :x
--Kale

Image
chris319
Enthusiast
Enthusiast
Posts: 782
Joined: Mon Oct 24, 2005 1:05 pm

Post by chris319 »

There is no such thing as a BASIC standard. Do a thorough read on wikipedia before posting such rubbish.
If you had read the Wikipedia article thoroughly you would have come across this "rubbish":
Standards

* ANSI/ISO/IEC Standard for Minimal BASIC:
o ANSI X3.60-1978 "FOR MINIMAL BASIC"
o ISO/IEC 6373:1984 "DATA PROCESSING - PROGRAMMING LANGUAGES - MINIMAL BASIC"
* ANSI/ISO/IEC Standard for Full BASIC:
o ANSI X3.113-1987 "PROGRAMMING LANGUAGES FULL BASIC"
o ISO/IEC 10279:1991 "INFORMATION TECHNOLOGY - PROGRAMMING LANGUAGES - FULL BASIC"
* ANSI/ISO/IEC Addendum Defining Modules:
o ANSI X3.113 INTERPRETATIONS-1992 "BASIC TECHNICAL INFORMATION BULLETIN # 1 INTERPRETATIONS OF ANSI 03.113-1987"
o ISO/IEC 10279:1991/ Amd 1:1994 "MODULES AND SINGLE CHARACTER INPUT ENHANCEMENT"
Here is the link to the article for you to read "thoroughly" again:

http://en.wikipedia.org/wiki/BASIC_programming_language

Best to pull your head out of your hind quarters before scolding someone else.
Thomas
Enthusiast
Enthusiast
Posts: 112
Joined: Sat Apr 26, 2003 8:45 pm

Post by Thomas »

If you had read the Wikipedia article thoroughly you would have come across this "rubbish":
If you read my post again you can see that I quoted one of these standards which no modern BASIC dialect complies. None of your mentioned keywords appears to be in that ANSI standard. So do not post your own interpretations as a common standard as it is just your own limited view. The mentioned ANSI standards are obsolete because they represent the old BASIC dialects. The 6373 has even been proposed for deletion so your comment is just needless.
dracflamloc
Addict
Addict
Posts: 1648
Joined: Mon Sep 20, 2004 3:52 pm
Contact:

Re: truth and lie about purebasic

Post by dracflamloc »

Thomas wrote: So your criticism is welcome but it seems to be just a shot in the wild. My main complain is that Fred wastes a lot of time developing PB for Linux and OS X but only a minority is really using these OS's. He'd better spend this time working on the Windows version but this is just my personal opinion.
More than you might think need to use the Linux version. MacOS maybe not so much *yet*

But lets face it, even if many aren't actively using the linux/Mac versions, it WAS a detemining factor for many of us who chose to give our hardearned money to Fred. I would not have purchased PB if it didnt have a linux version that was up to date and I know quite a few more who wouldn't. At a small business level like Purebasic is at, thats a big deal and the time spent maintaining the lesser used versions is a wise investment.

Not to mention: the ability for me to tell a potential client I'm developing software for, "And if you ever switch to linux or Mac in the future, it will be possible for me to provide this software in a linux compatible version". I can guarentee you thats a big factor in modern small and medium businesses who need custom software. If you can convince them that thier investment will be future-proof, you have a good chance of getting the sale.
Post Reply