Force monochrome mode in Turbo Pascal Turbo Vision / Free Pascal Free Vision - pascal

I'm writing a basic "hello world" program with Free Pascal Free Vision and I would like to remove the colors and to keep the program monochrome. Just black and white.
I know this was possible in the old Turbo Pascal days but I can't find any reference or sample code. I'm using the latest release of Free Pascal but an answer for Turbo Pascal also would help me.
Any idea?

Related

Pascal IDE for Mac OS X

i'm a beginner Pascal programmer and I recently migrated to the Mac OS X. Today I spent many hours searching for a good Pascal IDE for this OS and found nothing. I used to write code with Geany on Windows and it worked like a charm, I also enjoyed the compiling and running capacity of Geany.
Do you know any Geany-like IDE or at least one that highlights, compiles and runs pascal code on the Mac OS X?
Thank you very much!
Let's try Lazarus, integrated development environment for Free Pascal.
http://www.lazarus.freepascal.org/
People use XCode with a suitable set of templates, but XCode lost pascal syntax highlighting a way back. There are other options:
Pascal Gladiator
Lightweight IDE
But I also still like Lazarus best.
#Thiago: Try with only { "cmd": ["fpc", "$file"]}
http://freepascal.org/down/i386/macosx.var
I like Free Pascal the most, for beginning I believe it is the best because you don't have too much fancy GUI features to distract you from programming for beginners (algorithms, procedural thinking...).
I didn't try to run this on Mac but it should work... I have used Free Pascal on Linux and Windows with satisfaction.

Crossplatform programming language 2D/3D?

I'm searching for a 2D or 3D programming language (thats working with both Linux and Windows). I've tried Tao Framework, and GTK+ openGL, but both doesn't have many examples.
Anyone know one ??
Most of the commercial AAA games you can see are coded in C/C++, using OpenGL or DirectX to render to screen. Note that DirectX only works on Windows (and Xbox). However, to get started, I’d recommend something easier such as the SDL.
There’s heated debate about Java being suitable for games, and I won’t get into it: as this language is often deemed easier than C++ to grasp, you might want to give it a try, along with JavaGL if you are into oriented object programmation.

Replacement for Turbo Pascal (3.0)

I have a family member who is dearly attached to this antiquated pascal implementation by Borland.
He recently purchased a new laptop with windows 7 (64 bit), and I was able to help him get his old Turbo Pascal environment up through DOSBox, but this is less than ideal. It's slow, and a bit esoteric.
He does recognize that this environment is a thing of the past, but he's comfortable with it and doesn't want to change.
Try FreePascal.... Works fine for me ;]
Mike.
You could also look at Free Pascal which is Turbo Pascal compatible, free and even has a selection of IDEs available for it, Lazarus (no relation) being one.
http://en.wikipedia.org/wiki/Embarcadero_Delphi
http://www.embarcadero.com/products/delphi

What language can I use instead of Turbo Pascal? [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 9 years ago.
Improve this question
I was using Turbo Pascal for about 20 years, but now I have changed my computer, and I have Windows 7 now. TP does not work under it. What similar language can I use instead of TP, that will require from me to spend minimum possible time studying it.
There is FreePascal:
http://www.freepascal.org/
It appears to be supported, I'm not sure how different it is to the Borland variant though.
Delphi is another option.
If you want to run the 20 year old Turbo Pascal on Win 7, you still can.
Download DosBox, and run TurboPascal in there.
http://www.dosbox.com/
Turbo Pascal evolved into Delphi, which is still used today but might be hard to find.
Your options are probably:
Delphi
GNU Pascal
Free Pascal
FreePascal has a switch for TurboPascal compatibility (so you will have no need to change your programming habbits), and it can generate DOS, WIN32, WIN64 and other executables.
Turbo Pascal to Delphi (~ object oriented Pascal) would seem like the natural choice / progression.
Although a lot of other languages today are relatively easy to pick up as well (Python, Ruby, etc...).
Yes, the natural progression would be to change to Lazarus/Freepascal or Delphi.
I strongly agree that you can still run TP if you liked, though.
However, it is a very good opportunity for an update. C# is a programming language that was developed by the creator of Turbo Pascal/Delphi, and indeed it has many features borrowed from Object Pascal.
If you choose C# development of Mono, you can use very modern GUI such as Monodevelop and create multi-platform applications with GTK# without any effort.
http://www.mono-project.com/Main_Page
http://monodevelop.com/
If you don't care about being multiplatform, you prefer to write software only for Windows, then you can choose Visual C# 2010 Express (its free):
http://www.microsoft.com/express/Downloads/#2010-Visual-CS
What kind of software do you expect to be able to write? Is this for professional development, hobby use,...?
If you are writing COTS software for Windows, I'd suggest one of the .NET languages. C# probably has the most publicly available tutorials, free code, controls, and such. Or learn Ruby and separate yourself from the crowd.
Maybe its time to learn C# or something. Its probably going to save you more time in the long run. However you could purchase embarcadero . This is a recent version of the pascal language that supports some more modern features like generics. Old pascal code bases are compatible with it. There's also oxygene which allows you to use all the advantages of .net with pascal like syntax.
There is of course also free pascal
Well, I learnt PASCAL (Turbo Pascal) during my secondary school just for OI.But I strongly recommend Free Pascal OR Delphi.
Reasons:
1.Absolutely support OOP(especially Delphi).
2.Support to compile your code by Turbo Pascal.
3.New functions:
(a).Opreator reloading.(like c++)
(b).Ansi String.(I think it is very important for NO-ENGLISH countries.
(c).IT IS A GOOD BRIGE FOR YOU TO LEARN OTHER OOP Languages like:C++,JAVA,PYTHON.
(d).The VLC(like MFC in visual c++) function is very strong,for example:Indy in Delphi(for Net programming);
4.Download Url:
http://www.freepascal.org/
http://www.embarcadero.com/cn/products/delphi
Python.
Cross platform, free, open source.
Has PyGTK, Tcl, wxWidgets and many more libraries for GUIs.
An application you write in Python will likely run well on all three main OSes (Windows, Linux, Mac) with little to no changes.
Python's syntax is similar to Pascal's but there are several important differences. For one, you don't define variables, and the types of variables are free to change. And there are no if ... then ... begin ... end statements as indentation is used.
It is also much more forgiving than Pascal syntax and type wise (not that that should be a reason for choosing a language!)
Because it is interpreted it will be slower. That can be a disadvantage for some applications, but it's usually not noticeable.
If you've learned Pascal well, then there are two ways: c++ (programming language that was written on Pascal) and Delphi (the reincarnation of Pascal).
C++ looks similar to Pascal, but it is more powerful.
Delphi uses VCL (visual components library), so you can create windowed applications very fast.
Good luck.

Mac OS System 1.0 Programming Language

I started my early days programming in a Macintosh 128k (I was 10) and I don't quite remember the programming languages used. Any one does?
I would like to know the different programming languages available at that time for that platform.
Thanks
Development was originally carried on the Lisa, using Pascal and assembler. Some time later native development environments started to appear for the Mac, e.g. TMS Pascal, MacPascal, Microsoft BASIC, MDS, and later, MPW, Think C, Think Pascal, CodeWarrior, etc.
Pascal was the original language for Mac OS programming, and all the documentation and APIs used Pascal, but there was a gradual migration towards C through the 1980s.
I expect Macintosh Programmers Workbench (MPW) which was a "worksheet" environment, mainly driven on the command line, used Makefiles - not dissimilar to Unix development, using Pascal as the main language.
I don't remember if Hypercard was available that early but that's another possibility.

Resources