Click here to Skip to main content
15,886,026 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Good morning folks,

A newby here, so a big thank you, in advance to everyone. Much appreciated!!.

Please forgive me if this post is in the wrong "place".

Some years ago now, I studied and done (did ?) some Computer Programming........Graphics mainly.......in BASIC (Basica, GW-Basic mainly) and Pascal (Borland Turbo Pascal).

I still do have a small collection of such *.bas and *.pas source code.

Want to teach Sons now Graphics Programming, by re-visiting those source code examples that I do have,  plus introduce other source code examples..........Yep, these 2 languages are older now I know, but still want to teach our Sons. Have DOSbox and BTP 7.0 and a few different flavors of BASIC (GW, Qbasic, QB64, Dark Basic etc etc).

My inquiry is does anyone have any *.bas and *.pas graphics demos source code that they can share ?.........things beyond just the basic line, circle etc etc commands.........things like plasma, fire, 3D, advanced use of line, circle, putpixel, animation etc etc.

Yep, I have consulted Mr, Google, but not a great deal of source codes in BAS and PAS alas :-(.

Thank you so much again!!,
Ian.

What I have tried:

Searching Mr. Google, even going beyond page 2 of the search results.
Posted
Updated 30-Jun-19 21:27pm

May I suggest an alternative idea?

On one hand it's a perfectly valid query.

On the other you might want to consider trying C#?
It might seem overkill, since you'll be starting from a position of knowing nothing...
But, as you no doubt realise, there are tons of helpful C# resource on this very website! And it might be easier to learn, code and ask question about C# nowadays! ;)
 
Share this answer
 
Comments
TheRealSteveJudge 1-Jul-19 4:01am    
Reasonable advice 5*
There are better alternatives, nowdays. As already suggested you could use C#. Another choice could be Python (see, for instance Program Arcade Games With Python And Pygame[^]).
I know this is side-stepping your question, but it is, in my opinion, for the good. It is better to teach your kids using an up-to-date programming language.
 
Share this answer
 
v2
Comments
TheRealSteveJudge 1-Jul-19 4:01am    
Reasonable advice 5*
CPallini 1-Jul-19 4:08am    
Thank you.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900