by Tdarcos » Sun May 21, 2023 9:09 am
Admiral Ackguh wrote: Thu May 18, 2023 10:28 pm
ACK was written in Turbo Pascal 7.0, very archaic. Free Pascal is supposedly compatible, but external program calls ("MS-DOS calls") may be tricky. Chris used them extensively, as well as his own functions, to do what might be better done with modern FP built-in functions.
MSDos was good for what it was designed for, to provide the basic means to run programs on low-end single-task processors. While it provided lots of functions, sometimes it didn't do everything you needed. Today, people expect a fully formed library to take advantage of accessing a large part of the features available in modern operating systems. The Free Pascal libraries do one thing very well: they hide differences between the means to do the particular function on all platforms by abstracting away the differences, e,g, looking up files in a directory uses the same three subroutine calls (FindFirst, FindNext, and FindClose) even though the mechanics for doing so are different on Windows, Linux, and MacOS.
In order to replicate the features the system can offer, it will be necessary to identify them, and at that point, figure out what is implemented, what isn't, and what either can't be, or no longer need to be. I found the single reference on Google for downloading ACK, and that page has a link to here, so it's probably where you went. I think I'll set up a repo on Github as a place to manage the project. Since it is intended to be a graphical program, the Lazarus IDE provides a very good editing system along with a visual form designer.
Admiral Ackguh wrote: Thu May 18, 2023 10:31 pm
from Ice Cream Jonsey:
You are a good man, Commander.
I take it you are referring to me. I'm an officer and a gentleman, or at least try to be. :)
Well, I don't know if I'm a gentleman, although I have occasionally walked through doors reserved for "gentlemen." Those are the kind of places you washed your hands after touching any thing, if you get my drift.
[quote="Admiral Ackguh" post_id=137586 time=1684474113 user_id=956]
ACK was written in Turbo Pascal 7.0, very archaic. Free Pascal is supposedly compatible, but external program calls ("MS-DOS calls") may be tricky. Chris used them extensively, as well as his own functions, to do what might be better done with modern FP built-in functions.
[/quote]
MSDos was good for what it was designed for, to provide the basic means to run programs on low-end single-task processors. While it provided lots of functions, sometimes it didn't do everything you needed. Today, people expect a fully formed library to take advantage of accessing a large part of the features available in modern operating systems. The Free Pascal libraries do one thing very well: they hide differences between the means to do the particular function on all platforms by abstracting away the differences, e,g, looking up files in a directory uses the same three subroutine calls (FindFirst, FindNext, and FindClose) even though the mechanics for doing so are different on Windows, Linux, and MacOS.
In order to replicate the features the system can offer, it will be necessary to identify them, and at that point, figure out what is implemented, what isn't, and what either can't be, or no longer need to be. I found the single reference on Google for downloading ACK, and that page has a link to here, so it's probably where you went. I think I'll set up a repo on Github as a place to manage the project. Since it is intended to be a graphical program, the Lazarus IDE provides a very good editing system along with a visual form designer.
[quote="Admiral Ackguh" post_id=137587 time=1684474288 user_id=956]
from Ice Cream Jonsey:
You are a good man, Commander.
I take it you are referring to me. I'm an officer and a gentleman, or at least try to be. :)
[/quote]
Well, I don't know if I'm a gentleman, although I have occasionally walked through doors reserved for "gentlemen." Those are the kind of places you washed your hands after touching any thing, if you get my drift.