A Windows XP help forum. PCbanter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » PCbanter forum » Microsoft Windows 7 » Windows 7 Forum
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Wierd question - a pascal compiler for WIn7???



 
 
Thread Tools Rate Thread Display Modes
  #16  
Old March 16th 19, 01:21 AM posted to alt.windows7.general
J. P. Gilliver (John)[_4_]
external usenet poster
 
Posts: 2,679
Default Wierd question - a pascal compiler for WIn7???

In message , pyotr
filipivich writes:
[]
C is _very_ user friendly. It is just rather ... "selective"
about who its friends are.

LOL! That's gone into my quotes file (with attribution).
--
J. P. Gilliver. UMRA: 1960/1985 MB++G()AL-IS-Ch++(p)Ar@T+H+Sh0!:`)DNAf

And Jonathan Harker would never have sent all those letters to his beloved
Mina from Transylvania, he'd have texted her instead. "Stuck in weird castle w
guy w big teeth. Missing u. xxxx (-:" - Alison Graham, RT 2015/11/7-13
Ads
  #17  
Old March 16th 19, 01:53 AM posted to alt.windows7.general
pjp[_10_]
external usenet poster
 
Posts: 1,183
Default Wierd question - a pascal compiler for WIn7???

In article ,
says...

This is the current problem: I have a program written in Pascal
and Windows 7 won't run it. Tells me to contact the developer and get
support. Except that I am the developer, and I wrote when I should
have been doing class work (the original was written on the Honeywell,
then ported to Turbo Pascal.)
A quick search shows me that Borland is no longer supporting Turbo
Pascal, so, recommendation for a Pascal compiler for Windows 7?
I thought about running the source code through a conversion
program, and "porting it" to C/C+, C++ DC++=&#, but then I'd have to
know C* to clean up the results. And find a C compiler, too.

so, recommendation for a Pascal compiler for Windows 7?

tschus
pyotr

*I started to port the code to C, instead of doing _that_ classwrok,
but I don't have that source code at all. Maybe on a 5 1/4 floppy,
somewhere. In a box marked Mag Media.


I've gotten Delphi to work even though it's not supported. Turns out all
it needed was permissions changed on few of it's install folders and all
was well. Although it's really for object oriented stuff I have used it
for 100,000+ line program I wrote using just native Windows API's and
straight Pascal, e.g. made my own winmain function, created all the
windows "manually". coded message handlers etc. list goes on and on and
....
  #18  
Old March 16th 19, 01:56 AM posted to alt.windows7.general
pjp[_10_]
external usenet poster
 
Posts: 1,183
Default Wierd question - a pascal compiler for WIn7???

In article ,
surly_curmudgeon@earthlink says...

pyotr filipivich wrote:
VanguardLH on Fri, 15 Mar 2019 15:06:54 -0500 typed in
alt.windows7.general the following:
pyotr filipivich wrote:

This is the current problem: I have a program written in Pascal
and Windows 7 won't run it. Tells me to contact the developer and get
support. Except that I am the developer, and I wrote when I should
have been doing class work (the original was written on the Honeywell,
then ported to Turbo Pascal.)
A quick search shows me that Borland is no longer supporting Turbo
Pascal, so, recommendation for a Pascal compiler for Windows 7?
I thought about running the source code through a conversion
program, and "porting it" to C/C+, C++ DC++=&#, but then I'd have to
know C* to clean up the results. And find a C compiler, too.

so, recommendation for a Pascal compiler for Windows 7?

tschus
pyotr

*I started to port the code to C, instead of doing _that_ classwrok,
but I don't have that source code at all. Maybe on a 5 1/4 floppy,
somewhere. In a box marked Mag Media.

Never used it (nor Pascal much) but my recollection is that Delphi
superceded Object Pascal. I don't remember back to Turbo Pascal to
remember if it encompassed the object paradigm. There are Delphi
newsgroups where you could inquire about converting Turbo Pascal to
Delphi. Unless you know C++, I would think moving from Turbo Pascal to
Delphi would be more familiar to you.

You sure the problem isn't with the bitwidth of your [compiled] Pascal
code? Windows 7 32-bit would support both 32-bit programs and by using
its WOW (Windows on Windows) emulator it can also run 16-bit programs.
However, if you have Windows 7 64-bit then it runs only 64-bit programs
and 32-bit programs using its WOW.

https://en.wikipedia.org/wiki/Windows_on_Windows

You didn't mention the bitwidth of your Windows 7 instance. Also,
"won't run it" does not say what really happens, like the actual error
code.


Sorry,. "I thought everybody knew..." Windows 7 Pro 64 bit.

Error message
"The version of this file is not compatible with the version of
Windows you're running. Check you computer's system information to see


And pointers a lot easier and clearer to use
  #19  
Old March 16th 19, 02:29 AM posted to alt.windows7.general
😉 Good Guy 😉
external usenet poster
 
Posts: 1,483
Default Wierd question - a pascal compiler for WIn7???

On 15/03/2019 19:23, Pervert Filipino wrote:
This is the current problem: I have a program written in Pascal
and Windows 7 won't run it. Tells me to contact the developer and get
support.


This means you need to contact C# developers as C# has replaced
pascal/Delphi for serious programming tasks. It is free and anybody can
learn it quickly within a week.



--
With over 950 million devices now running Windows 10, customer
satisfaction is higher than any previous version of windows.

  #20  
Old March 16th 19, 11:00 AM posted to alt.windows7.general
Shadow
external usenet poster
 
Posts: 1,638
Default Wierd question - a pascal compiler for WIn7???

On Sat, 16 Mar 2019 02:29:38 +0000, ? Good Guy ?
wrote:

On 15/03/2019 19:23, Pervert Filipino wrote:
This is the current problem: I have a program written in Pascal
and Windows 7 won't run it. Tells me to contact the developer and get
support.


This means you need to contact C# developers as C# has replaced
pascal/Delphi for serious programming tasks. It is free and anybody can
learn it quickly within a week.


https://www.tiobe.com/tiobe-index/

Remember to choose a language that can easily be
cross-compiled. Most personal computing systems use a Linux based OS
(AKA Android) now.
As "Good Guy" nicely pointed out, don't learn a language that
is being abandoned, like C#.
To the original poster, if you know Pascal, unless you want to
start from scratch, carry on with Pascal. Lazarus cross-compiles for
Android, Windows and Mac (among others).
As long as I don't use OS dependent libraries, everything I
compile in Windows compiles fine under Linux.
[]'s
--
Don't be evil - Google 2004
We have a new policy - Google 2012
Nineteen Eighty-Four was a work of FICTION !!!! - Orwell

  #21  
Old March 16th 19, 04:07 PM posted to alt.windows7.general
pyotr filipivich
external usenet poster
 
Posts: 752
Default Wierd question - a pascal compiler for WIn7???

"J. P. Gilliver (John)" on Sat, 16 Mar 2019
01:21:23 +0000 typed in alt.windows7.general the following:
In message , pyotr
filipivich writes:
[]
C is _very_ user friendly. It is just rather ... "selective"
about who its friends are.

LOL! That's gone into my quotes file (with attribution).


I originally heard it as "Unix is user friendly. It is just
choosy about who are its friends."
--
pyotr filipivich
Next month's Panel: Graft - Boon or blessing?
  #22  
Old March 16th 19, 04:24 PM posted to alt.windows7.general
J. P. Gilliver (John)[_4_]
external usenet poster
 
Posts: 2,679
Default Wierd question - a pascal compiler for WIn7???

In message , pyotr
filipivich writes:
"J. P. Gilliver (John)" on Sat, 16 Mar 2019
01:21:23 +0000 typed in alt.windows7.general the following:
In message , pyotr
filipivich writes:
[]
C is _very_ user friendly. It is just rather ... "selective"
about who its friends are.

LOL! That's gone into my quotes file (with attribution).


I originally heard it as "Unix is user friendly. It is just
choosy about who are its friends."


Sorry, I'm not going back to edit my file again - you are credited (-:!
(It's the spirit of the humour, anyway, not what language/whatever is
referred to. [Wasn't UNIX mostly written in C anyway?])
--
J. P. Gilliver. UMRA: 1960/1985 MB++G()AL-IS-Ch++(p)Ar@T+H+Sh0!:`)DNAf

WANTED, Dead AND Alive: Schrodinger's Cat
  #23  
Old March 16th 19, 07:20 PM posted to alt.windows7.general
pyotr filipivich
external usenet poster
 
Posts: 752
Default Wierd question - a pascal compiler for WIn7???

"J. P. Gilliver (John)" on Sat, 16 Mar 2019
16:24:09 +0000 typed in alt.windows7.general the following:
In message , pyotr
filipivich writes:
"J. P. Gilliver (John)" on Sat, 16 Mar 2019
01:21:23 +0000 typed in alt.windows7.general the following:
In message , pyotr
filipivich writes:
[]
C is _very_ user friendly. It is just rather ... "selective"
about who its friends are.

LOL! That's gone into my quotes file (with attribution).


I originally heard it as "Unix is user friendly. It is just
choosy about who are its friends."


Sorry, I'm not going back to edit my file again - you are credited (-:!
(It's the spirit of the humour, anyway, not what language/whatever is
referred to. [Wasn't UNIX mostly written in C anyway?])


Yep.

As we also said about C, it wasn't so much "released" as
"escaped". Same was said about RPG (Report Program Generator) from
IBM.


--
pyotr filipivich
Next month's Panel: Graft - Boon or blessing?
  #24  
Old March 16th 19, 08:01 PM posted to alt.windows7.general
Bill in Co[_3_]
external usenet poster
 
Posts: 303
Default Wierd question - a pascal compiler for WIn7???

pyotr filipivich wrote:
"J. P. Gilliver (John)" on Sat, 16 Mar 2019
16:24:09 +0000 typed in alt.windows7.general the following:
In message , pyotr
filipivich writes:
"J. P. Gilliver (John)" on Sat, 16 Mar 2019
01:21:23 +0000 typed in alt.windows7.general the following:
In message , pyotr
filipivich writes:
[]
C is _very_ user friendly. It is just rather ... "selective"
about who its friends are.

LOL! That's gone into my quotes file (with attribution).

I originally heard it as "Unix is user friendly. It is just
choosy about who are its friends."


Sorry, I'm not going back to edit my file again - you are credited (-:!
(It's the spirit of the humour, anyway, not what language/whatever is
referred to. [Wasn't UNIX mostly written in C anyway?])


Yep.

As we also said about C, it wasn't so much "released" as
"escaped". Same was said about RPG (Report Program Generator) from
IBM.


By the way, and just for thr record, Turbo Pascal does indeed still compile
just fine on a 32 bit Windows XP computer using the DOS cmd shell.
Interestingly enough, apparently some versions of Turbo Pascal have been
releassed into the public domain, and can be found on the Internet. So
maybe the OP can port his source code over to a newer version of Pascal,
although Turbo Pascal took some liberties in its own version of Pascal that
may need to be addressed


  #25  
Old March 16th 19, 09:47 PM posted to alt.windows7.general
pyotr filipivich
external usenet poster
 
Posts: 752
Default Wierd question - a pascal compiler for WIn7???

"Bill in Co" surly_curmudgeon@earthlink on Sat, 16 Mar 2019 14:01:35
-0600 typed in alt.windows7.general the following:

As we also said about C, it wasn't so much "released" as
"escaped". Same was said about RPG (Report Program Generator) from
IBM.


By the way, and just for thr record, Turbo Pascal does indeed still compile
just fine on a 32 bit Windows XP computer using the DOS cmd shell.
Interestingly enough, apparently some versions of Turbo Pascal have been
releassed into the public domain, and can be found on the Internet. So
maybe the OP can port his source code over to a newer version of Pascal,
although Turbo Pascal took some liberties in its own version of Pascal that
may need to be addressed


One difference I caught "back in the day": Pascal on the
Honeywell, exited a loop and left the value in the counter. In Turbo
Pascal, that didn't happen, which made the next set of calculations
really, really wrong. Orders of magnitude wrong.

--
pyotr filipivich
Next month's Panel: Graft - Boon or blessing?
  #26  
Old March 16th 19, 11:12 PM posted to alt.windows7.general
Bill in Co[_3_]
external usenet poster
 
Posts: 303
Default Wierd question - a pascal compiler for WIn7???

pyotr filipivich wrote:
"Bill in Co" surly_curmudgeon@earthlink on Sat, 16 Mar 2019 14:01:35
-0600 typed in alt.windows7.general the following:

As we also said about C, it wasn't so much "released" as
"escaped". Same was said about RPG (Report Program Generator) from
IBM.


By the way, and just for thr record, Turbo Pascal does indeed still
compile just fine on a 32 bit Windows XP computer using the DOS cmd
shell. Interestingly enough, apparently some versions of Turbo Pascal
have been releassed into the public domain, and can be found on the
Internet. So maybe the OP can port his source code over to a newer
version of Pascal, although Turbo Pascal took some liberties in its own
version of Pascal that may need to be addressed


One difference I caught "back in the day": Pascal on the
Honeywell, exited a loop and left the value in the counter. In Turbo
Pascal, that didn't happen, which made the next set of calculations
really, really wrong. Orders of magnitude wrong.


I can only imagine! Sometimes I'd forget about uninitialized variables
too, and boy did that bite me, on occasion.. I think with Basic they were
normally initially zeroed out.


  #27  
Old March 16th 19, 11:24 PM posted to alt.windows7.general
pyotr filipivich
external usenet poster
 
Posts: 752
Default Wierd question - a pascal compiler for WIn7???

"Bill in Co" surly_curmudgeon@earthlink on Sat, 16 Mar 2019 17:12:50
-0600 typed in alt.windows7.general the following:
pyotr filipivich wrote:
"Bill in Co" surly_curmudgeon@earthlink on Sat, 16 Mar 2019 14:01:35
-0600 typed in alt.windows7.general the following:

As we also said about C, it wasn't so much "released" as
"escaped". Same was said about RPG (Report Program Generator) from
IBM.

By the way, and just for thr record, Turbo Pascal does indeed still
compile just fine on a 32 bit Windows XP computer using the DOS cmd
shell. Interestingly enough, apparently some versions of Turbo Pascal
have been releassed into the public domain, and can be found on the
Internet. So maybe the OP can port his source code over to a newer
version of Pascal, although Turbo Pascal took some liberties in its own
version of Pascal that may need to be addressed


One difference I caught "back in the day": Pascal on the
Honeywell, exited a loop and left the value in the counter. In Turbo
Pascal, that didn't happen, which made the next set of calculations
really, really wrong. Orders of magnitude wrong.


I can only imagine! Sometimes I'd forget about uninitialized variables
too, and boy did that bite me, on occasion.. I think with Basic they were
normally initially zeroed out.


I think this was along the lines of at the end of the procedure
Variable A had a value N, which it retained when procedure exited on
the Honeywell, and was used in the next calculation. But in Turbo. In
Turbo, Variable A after the return had Value (Large "Random" number).
Subsequent calcs were way out of line.

--
pyotr filipivich
Next month's Panel: Graft - Boon or blessing?
  #28  
Old March 17th 19, 02:26 AM posted to alt.windows7.general
Bill in Co[_3_]
external usenet poster
 
Posts: 303
Default Wierd question - a pascal compiler for WIn7???

pyotr filipivich wrote:
"Bill in Co" surly_curmudgeon@earthlink on Sat, 16 Mar 2019 17:12:50
-0600 typed in alt.windows7.general the following:
pyotr filipivich wrote:
"Bill in Co" surly_curmudgeon@earthlink on Sat, 16 Mar 2019 14:01:35
-0600 typed in alt.windows7.general the following:

As we also said about C, it wasn't so much "released" as
"escaped". Same was said about RPG (Report Program Generator) from
IBM.

By the way, and just for thr record, Turbo Pascal does indeed still
compile just fine on a 32 bit Windows XP computer using the DOS cmd
shell. Interestingly enough, apparently some versions of Turbo Pascal
have been releassed into the public domain, and can be found on the
Internet. So maybe the OP can port his source code over to a newer
version of Pascal, although Turbo Pascal took some liberties in its own
version of Pascal that may need to be addressed

One difference I caught "back in the day": Pascal on the
Honeywell, exited a loop and left the value in the counter. In Turbo
Pascal, that didn't happen, which made the next set of calculations
really, really wrong. Orders of magnitude wrong.


I can only imagine! Sometimes I'd forget about uninitialized variables
too, and boy did that bite me, on occasion.. I think with Basic they were
normally initially zeroed out.


I think this was along the lines of at the end of the procedure
Variable A had a value N, which it retained when procedure exited on
the Honeywell, and was used in the next calculation. But in Turbo. In
Turbo, Variable A after the return had Value (Large "Random" number).
Subsequent calcs were way out of line.


I thought if you passed a var parameter as the argument in a procedure call,
it was retained, but not a value parameter (in the procedure calls). But
this is taxing my memory from two decades ago.


  #29  
Old March 17th 19, 04:55 PM posted to alt.windows7.general
Ton van Vliet
external usenet poster
 
Posts: 4
Default Wierd question - a pascal compiler for WIn7???

On Fri, 15 Mar 2019 12:23:01 -0700, pyotr filipivich
wrote:


This is the current problem: I have a program written in Pascal
and Windows 7 won't run it. Tells me to contact the developer and get
support. Except that I am the developer, and I wrote when I should
have been doing class work (the original was written on the Honeywell,
then ported to Turbo Pascal.)
A quick search shows me that Borland is no longer supporting Turbo
Pascal, so, recommendation for a Pascal compiler for Windows 7?
I thought about running the source code through a conversion
program, and "porting it" to C/C+, C++ DC++=&#, but then I'd have to
know C* to clean up the results. And find a C compiler, too.

so, recommendation for a Pascal compiler for Windows 7?

tschus
pyotr

*I started to port the code to C, instead of doing _that_ classwrok,
but I don't have that source code at all. Maybe on a 5 1/4 floppy,
somewhere. In a box marked Mag Media.


If you haven't yet, have a look at:

Free Pascal Compiler at https://sourceforge.net/projects/freepascal/
and accompanying IDE at https://sourceforge.net/projects/lazarus/

I have used both of them in the past succesfully.

Regards,
Ton.
  #30  
Old March 17th 19, 05:15 PM posted to alt.windows7.general
pyotr filipivich
external usenet poster
 
Posts: 752
Default Wierd question - a pascal compiler for WIn7???

"Bill in Co" surly_curmudgeon@earthlink on Sat, 16 Mar 2019 20:26:27
-0600 typed in alt.windows7.general the following:
pyotr filipivich wrote:
"Bill in Co" surly_curmudgeon@earthlink on Sat, 16 Mar 2019 17:12:50
-0600 typed in alt.windows7.general the following:
pyotr filipivich wrote:
"Bill in Co" surly_curmudgeon@earthlink on Sat, 16 Mar 2019 14:01:35
-0600 typed in alt.windows7.general the following:

As we also said about C, it wasn't so much "released" as
"escaped". Same was said about RPG (Report Program Generator) from
IBM.

By the way, and just for thr record, Turbo Pascal does indeed still
compile just fine on a 32 bit Windows XP computer using the DOS cmd
shell. Interestingly enough, apparently some versions of Turbo Pascal
have been releassed into the public domain, and can be found on the
Internet. So maybe the OP can port his source code over to a newer
version of Pascal, although Turbo Pascal took some liberties in its own
version of Pascal that may need to be addressed

One difference I caught "back in the day": Pascal on the
Honeywell, exited a loop and left the value in the counter. In Turbo
Pascal, that didn't happen, which made the next set of calculations
really, really wrong. Orders of magnitude wrong.

I can only imagine! Sometimes I'd forget about uninitialized variables
too, and boy did that bite me, on occasion.. I think with Basic they were
normally initially zeroed out.


I think this was along the lines of at the end of the procedure
Variable A had a value N, which it retained when procedure exited on
the Honeywell, and was used in the next calculation. But in Turbo. In
Turbo, Variable A after the return had Value (Large "Random" number).
Subsequent calcs were way out of line.


I thought if you passed a var parameter as the argument in a procedure call,
it was retained, but not a value parameter (in the procedure calls).

So did I.
But this is taxing my memory from two decades ago.


Ummm...

--
pyotr filipivich
Next month's Panel: Graft - Boon or blessing?
 




Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off






All times are GMT +1. The time now is 07:41 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2023, Jelsoft Enterprises Ltd.
Copyright 2004-2023 PCbanter.
The comments are property of their posters.