Advertisement

Anyone here know pascal?

Started by October 19, 2000 09:11 PM
22 comments, last by Tsu 24 years, 2 months ago
Those who can, do; those you can''t, teach. and that''s why you have to learn pascal or VB, and not C or C++. Even at the university level, a competent C++ teacher is rare.
- The trade-off between price and quality does not exist in Japan. Rather, the idea that high quality brings on cost reduction is widely accepted.-- Tajima & Matsubara
Actuallt turbo pascal is DOS not win3.1 and my college runs it on winNT machines you figure it out.

My Homepage
Advertisement
Tsu, have you tried to build the *.exe file and execute from windows or do you just use the "run" command?
If the second case is true try the first, even MSVC++ 6.0 doesn't terminate console aplications when you compile and start them using the "run" command but instead tells you to press a key to return to the IDE when your program has finished...

Edited by - Profus on October 22, 2000 9:02:23 AM
------------------------------------------------------------"To a computer, chaos is just another kind of order."
i generally use the ''run'' command, but i know that the .exe opens up it''s own stupid window as well, as i take my programs home and they still look the same... neither of them close their own window... i guess i should probably use my compiler at home if i want to get a program to close itself... oh well, i was just wondering if it was possible anyways...

as for win3.1 or dos, the compiler is win3.1, so all programs it makes are win3.1... i have a dos compiler at home that runs programs in a dos window, and i wish we had that one at school...
Forgive me for pointing out something blatantly obvious, but if you''re so unhappy with your Win 3.1 DOS box executables, why don''t you try out a 32-bit Pascal compiler? Both Delphi and FreePascal will generate Win9x executables for you...
Tom Nuydens delphi3d@gamedeveloper.org www.gamedeveloper.org/delphi3d
Problem is I have no choice as to what compiler I use. The college has Delphi 5 pro but I have to use Turbo Pascal 7. I use Delphi when I finish my assignments early though.

My Homepage


Visit my forums
Advertisement
Isn''t TP7 DOS based?

And IIRC the compiler''s RUN command will generate the window and sit there even if you say HALT() or END() or EXIT() or whatever the terminate this app now command is.

Try as Profus said and run the executable by it''s self, not from within the TP environment, but from the Windows FileManager.

What school do you goto? have they not heard of Windows 95/98/Me yet!!!

I know the local govenment where I live has started an upgade policy to upgrade from Windows 3.x to Windows 9x/NT (not sure which one yet).

According to one of my lecturers noone uses Windows 3.X anymore, everyone has some form of 32bit Windows running on their system. My opinion is run lastest Windows version alongside Linux, that way I get the best of both worlds!!
When I find my code in tons of trouble,Friends and colleages come to me,Speaking words of wisdom:"Write in C."My Web Site
Man, we learn Oberon 2 at school.. that really sucks.. and i think we won''t learn c++ cause our teacher doesn''t know it...
cya,
Phil
Visit Rarebyte! and no!, there are NO kangaroos in Austria (I got this question a few times over in the states ;) )
quote: Original post by Steven

Isn''t TP7 DOS based?


Actually, if I remember correctly. The IDE is Windows, but you can still compile DOS stuff AND I think it still includes the older DOS IDE as well. Haven''t pulled out those discs in years. I never really liked Pascal so moved on to V.B.




BeS
It's Da BOMB Baby!!!
BeSIt's Da BOMB Baby!!!. o O ~ A little nonsense now and then,is relished by the wisest men~ O o .-- Willy Wonka
The reason I asked about TP7 being dos based is I had to program in it for my Program Design Methods at colledge, and it was TP7 under MS DOS, I also had Turbo Pascal for windows (I think it was the lastest version 1.4) and the programs compiled under ethier version, but the TP7 ver was definatly dos, I had the disks as well, and I''m pretty sure they were dos only, unless there was a windows set that I never got my hands on...
When I find my code in tons of trouble,Friends and colleages come to me,Speaking words of wisdom:"Write in C."My Web Site

This topic is closed to new replies.

Advertisement