Sign in to follow this  

Help about info on Blitz and BASIC! please

This topic is 4662 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Im starting and i was wondering about: 1-What Language was used to create the Blitz products?BASIC or VBASIC? 2-Which one is better and why? 3-Is it made with a custom language or a mix?BlitzBasic? 4-What is BlitzBasic and whats good about it? 5-Is there anyway i can create my own style of BASIC like DarkBasic and BlitzBasic? 6-Is it very dificult(a team efort?) or is it simpler(only 1 person can)? 7-How long would it take? 8-Is Blitz3D a good way to start? 9-BlitzMax is out,is it better than Blitz3D?It costs less! Those are a few sorry,thanx for the help!

Share this post


Link to post
Share on other sites
1,3 - I assume both are written in C, or C++.
5 - You most likely don't have the required programming and theoretical knowledge yet.
6 - Compiler writing is definitely a non-trivial task, though one that is accessible to a single programmer.
7 - Depends on how complex you want the language to be.

2,4,8,9 - I haven't use either of those, so I can't comment on their suitability.

Share this post


Link to post
Share on other sites
1) Microsoft Visual C++
2) Visual Basic is better than Basic as it gives more flexibility and control.
3) See 1.
4) Blitz Basic is an easy programming language geared specifically for making games. As such, much of the drawing and loading of items is simplified. It is also comprehensive enough to allow a good deal of control. It also compiles code rather than interprets (ala DarkBasic) which makes for faster running.

5) It is perfectly possible, but I suggest taking the time to make basic programs before designing a compiler.

6) Mark Sibly coded Blitz Basic / Blitz 3D on his own. Its perfectly possible to make a programming language on your own, but it is very time consuming.

7) Depends how advanced you want the language.

8) Blitz 3D is ideal for learning how to use a programming language and getting to grips with basic 3D geometry.

9) Blitz Max is currently available only for MacOS X. It offers the same function as Blitz3D but has support for direct OpenGL programming and supports a larger number of variables.

Hope this helps.

Share this post


Link to post
Share on other sites
Thanx but i still got a few Qs My NOOB Minded brain lol

First is Microsoft Visual C++ a PLanguage or a compiler?


Ok and to clear some things...

1-What Language was used to create the Blitz products?BASIC or VBASIC?
1) Microsoft Visual C++
----------------------------------------------------------------------
1-So your saying that the 3D Engine is made using C++ and it uses BlitzBasic to make a product/game?



4-What is BlitzBasic and whats good about it?
4) Blitz Basic is an easy programming language geared specifically for making games. As such, much of the drawing and loading of items is simplified. It is also comprehensive enough to allow a good deal of control. It also compiles code rather than interprets (ala DarkBasic) which makes for faster running.
----------------------------------------------------------------------
1-Its a Custom Made BASIC?



5-Is there anyway i can create my own style of BASIC like DarkBasic and BlitzBasic?
5) It is perfectly possible, but I suggest taking the time to make basic programs before designing a compiler.
-----------------------------------------------------------------------
1-Making a Custom Language is my main goal right now,so if VBasic is better than Basic i should make a custom VBasic instead,right?


Now that you guys now and see what my goals are can anyone point me to the right direction?

Every Help is gladly apreciated!!!

Im a 17 yearold teen finishing high school have LOTS OF TIME(im going to night school) abelable to learn,my grades are getting better im in need of lots of help,like what classes should i be good at like math,what kind of math? that kind of stuff if there is anyway you can help please email me or post here.

Share this post


Link to post
Share on other sites
bah, I remember when I started programming my first goal was to make a white square move on a black screen... and I was pretty happy when I got that.

Man, based on your questions you will NEVER be able to write a compiler, even if you struggled all your life. You obviosly dont have a clue what programming involves. Why the hell dont you go for something simple to start? I mean, I can expect this kind of thread from an 8 year old, not from a 17.

Share this post


Link to post
Share on other sites
Give the kid a break, he's obviously new to programming. There's a lot you won't comprehend until you get into the thick of it.

I wouldn't bother thinking about making your own custom language right now. Take some programming classes, eventually you'll hit some upper level ones where the goal is to design a language, if you want. I would just look on really working with existing languages until you get the hang of them.

Share this post


Link to post
Share on other sites
Sorry but you understand me slightly wrong yes thats my goal but i didnt meant to do it in a week not a month nor a year thats my goal for when i start on my engine and stuff.

I wanted you guys to help me on were to start/begin now that you knw what i want to do.

And yes im maybe old to start but that dont matter to i just want to learn the stuff i need or what is good instead of going in the web crazy and learn everything thats useless.


Will you guys help me?

Thanx for your time.

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
A good place to start; evaluating expressions like 10*(8+7)
Make it possible that someone types that in and your program gives the answer.

Then with variables involved... 1+b
->ask for b
->ask for expression
->answer

Then comes reverse polish notation 8 7 + 10 *
That's a first start at your BASIC runtime for speeding up the interpreter process and "compiling" your code.

With an expression evaluator working, you'll have a big chunk going of what you wanna do.

Keep on coding!,
Uletus.

Share this post


Link to post
Share on other sites
Quote:
Original post by Mech_Master
Oh and i want to learn VBasic or Basic for what ill do.


Then this is the wrong place to ask. The majority of people here use C/C++ instead of proprietary software like Blitz -- you are best off to ask those forums for "how to guides".

Share this post


Link to post
Share on other sites
Probably not too much. I used to program in VB, but I stopped when I learned C++. Also, when you ask "Which is better, VB or BASIC", that doesn't really make sense, since VB is a BASIC programming language.

Share this post


Link to post
Share on other sites
Ok...

Also, when you ask "Which is better, VB or BASIC", that doesn't really make sense, since VB is a BASIC programming language.

Im new to all this i just wanted a little direction.

1-So your saying is VB is an enhanced BASIC?
2-If i use VB to do a thing/program/game do i have to pay someone?or is it free?
3-Same for BASIC?
4-Or are all PLanguages free to use?

I sound like a moron but i really dont know...

Share this post


Link to post
Share on other sites
Sorry but can someone clear my mind on some of this stuff below




--------------------------------------------------------------------------------
Thanx but i still got a few Qs My NOOB Minded brain lol

First is Microsoft Visual C++ a PLanguage or a compiler?


Ok and to clear some things...

1-What Language was used to create the Blitz products?BASIC or VBASIC?
1) Microsoft Visual C++
----------------------------------------------------------------------
1-So your saying that the 3D Engine is made using C++ and it uses BlitzBasic to make a product/game?



4-What is BlitzBasic and whats good about it?
4) Blitz Basic is an easy programming language geared specifically for making games. As such, much of the drawing and loading of items is simplified. It is also comprehensive enough to allow a good deal of control. It also compiles code rather than interprets (ala DarkBasic) which makes for faster running.
----------------------------------------------------------------------
1-Its a Custom Made BASIC?



5-Is there anyway i can create my own style of BASIC like DarkBasic and BlitzBasic?
5) It is perfectly possible, but I suggest taking the time to make basic programs before designing a compiler.
-----------------------------------------------------------------------
1-Making a Custom Language is my main goal right now,so if VBasic is better than Basic i should make a custom VBasic instead,right?


Now that you guys now and see what my goals are can anyone point me to the right direction?

Every Help is gladly apreciated!!!
--------------------------------------------------------------------------------

Thanx all who helped another soul get on his way to glory!

Share this post


Link to post
Share on other sites
Quote:
Original post by Mech_Master
Ok...

Also, when you ask "Which is better, VB or BASIC", that doesn't really make sense, since VB is a BASIC programming language.

Im new to all this i just wanted a little direction.

1-So your saying is VB is an enhanced BASIC?
2-If i use VB to do a thing/program/game do i have to pay someone?or is it free?
3-Same for BASIC?
4-Or are all PLanguages free to use?

I sound like a moron but i really dont know...

  1. No, BASIC is kind of a type of programming language

  2. VB is not free (I think there's a free version, but last time I checked, it'd be too limited to make a game with).

  3. See 1

  4. Some are, some aren't

Share this post


Link to post
Share on other sites
"BASIC" is a LANGUAGE, like english, french, russian... is french free? yep, probably...

A COMPILER is a computer program that changes what you write in BASIC (or another language, like C) in machine code, that is what the computer can understand.

There are various BASIC compilers (i.e. visual basic, blitzplus, blitz3d...), and they use slightly different syntaxes and have different feautures and undertand different commands, although the syntax is similar (that's why they are called "basic" compilers, they have syntax similar to the original "basic" language).

An easy and fun way to start is download the demo of blitzplus or blitz3D (2 basic compilers) and try to make a square move on the screen. Then keep playing with it until you are very comfortable and have done something cool with it (or the demo expires), then you must learn C if you still want to write a compiler.

Share this post


Link to post
Share on other sites
C++ is a language, having internationally accepted standard rules. In order to convert code written in C++ into executble binary code you need to run a program called a compiler on it. Since the documentation of the C++ standard is available for anyone who wants to buy it there are several different compilers around made by different people, all of which will compile the same language.

Unfortunately, while most compilers do conform to the C++ standard almost all add in their own things which are non-standard. Other things to do with organising multiple files into projects varies between compilers. When people say "Microsoft Visual C++", they mean that the code they're talking about was written intending to be compiled by that compiler. In the main, however, the differences are quite small and it doesn't require a great deal of discipline to write standards compliant code so often the expression "I wrote it in Visual C++" crops up when people aren't sure whether the error they want help on is their fault or the compiler's fault (more often than not it's not the compiler), or because they want to completely disclaim fault for it not working under other compilers or whatever.

[edit]Also, certain necessary tasks are not part of the language itself but are specific to whatever platform you're working on (ie, the way of doing whatever is different on Linux than on Windows). Since Visual C++ is a Windows only product, this indicates that the program is in fact written for Windows and so when this sort of stuff needs to be done, the way of getting it to work is to use however Windows does it.[/edit]

Share this post


Link to post
Share on other sites
Ok i think i understand better about a few things.

I would like to learn BASIC but finding a working site is getting to be a mayor pain :(.I have never had something so dificult to find.Can anyone help me find the best Compiler for Basic.

Yes you say there are lots of compilers are this examples?

VisualBasic,QBasic,PowerBasic,DarkBasic,BlitzBasic,etc...

If those above are compilers-and a compiler is something that translates a language,then they all use the same/original BASIC language?

----------------------------------------------------------------------------------
Unfortunately, while most compilers do conform to the C++ standard almost all add in their own things which are non-standard.
----------------------------------------------------------------------------------
Or like you said here ^ some of those compilers that i named above use the old BASIC with some new aditions?


Thanx very much,i think im actually learning... :)

Share this post


Link to post
Share on other sites
Quote:
If those above are compilers-and a compiler is something that translates a language,then they all use the same/original BASIC language?
Your computer speaks nothing but binary. Binary is basically a sequence of 1's and 0's in blocks of eight (electrical signals sent through your PC). Your PC understands nothing more. BASIC (Beginners All-Purpose Symbolic Instruction Code) is a programming language in its own right. All BASIC does is convert commands entered into a form that is readable by your computer.

C++, Visual Basic and other compilers do exactly the same thing. The commands used are different and different compilers will give you access to functions in varying ways. These programming languages could be made in many ways (I believe one was even made using an earlier version of itself!) but at your coding level its best not to concern yourself too much with how they are made. If you are merely interested, take a look at the Assembly language (its the closest thing to programming purely in binary).

So to further emphasise the point, try not to think in terms of classic BASIC when it comes to languages like C++ and VB. They are wildly different in terms of their usage and ability.

Quote:
So your saying that the 3D Engine is made using C++ and it uses BlitzBasic to make a product/game?
Blitz Basic itself was programmed in C++. The whole thing was made completely using C++ with no BASIC. Blitz Basic is the final programming language that average Joe's like us use to make games.

Quote:
Making a Custom Language is my main goal right now
For now, I suggest giving yourself a more short-term goal of mastering programming. Making your own programming language is hard. No, very hard. And to do that you'll need to know your program inside and out. You need to know how to handle memory allocation, distinguishing between variables, complex mathematics (because your users may want to program in some lengthy algorithms) and most importantly - functionality. Its a laborious process, and one which can only be embarked on once you really know your stuff in programming.

Recommended short-term goals:
It sounds lame, but believe it or not, this is how a lot of people start out.

1) A "Hello World" program in C or C++
2) A "Hello World" program using variables
3) Simple graphics (eg. Drawing a square)
4) A simple game (eg. Space Invaders).

Once you feel you've mastered those, you can work on more ambitious projects. But dont think that completing those tasks means you can write a compiler. There are some who have programmed many games and dont consider themselves competent enough to write a compiler. But good luck in your endeavors.

Share this post


Link to post
Share on other sites
Ok...

So you suggest me to start with C++ instead of VB,knowing that my goal or whatever has to do with VB or BASIC?

[edit] Some say VB.NET is greatly a more powerful language than VB,is that true if so i should go with VB>NET instead of all the rest of the BASICs?[edit]

Share this post


Link to post
Share on other sites

This topic is 4662 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this