Fig, why is it not possible to explain C or C++ or C# with a functional reference to another language "X"?
Because, these languages (C, C++, C# and so on) define their own standard. These languages are themselves a reference. You can say in other languages as an explanation,"It is similar to C", but you can't explain for C "C is similar to...".
PureBasic is not a reference language. PureBasic uses paradigms and language elements from existing languages. And when you look at the keywords and commands of PureBasic, it is mostly similar to Basic. And Basic as a general definition is a reference language.
I'm not (still) a C expert, but I also worked with some basic dialects in the 80s. From my personal point of view, PureBasic's commands are based on the previous basic dialects, even if Fred has added other elements. Why else did he call it PureBasic and not PureMacroC?
Two examples (because I know it in both variants):
Code: Select all
PureBasic:
For i = 0 To 100
...
Next t
C:
for (i=0; i++; i<=100) {
...
}
PureBasic:
Define Tex$
Text$ = "Hello World"
C:
char name[] = "Hello World";
PureBasic:
Goto, Gosub -> pure basic derivation.
I think these parts speak very strongly for a language with roots in Basic.