Precisely Speaking
May 18, 2012, 03:24:50 PM
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
: So what's news with you? Tell us about it in "Getting To Know You"!
Home
Help
Calendar
Login
Register
Precisely Speaking
>
Application Support
>
Activant/Prelude Support
>
Includes
Pages: [
1
]
Go Down
« previous
next »
Print
Author
Topic: Includes (Read 2200 times)
DonQuixote
Rock Star
Posts: 106
To Dream the Impossible Dream...
Includes
«
on:
June 02, 2009, 11:57:24 AM »
In some software products they maintain includes for every data file with variables equated to the field positions. For instance, CUST.NAME.POS = 1. So within your programs you'd reference CUST.NAME.POS instead of 1. Then when the standard software moves the field to a different position you don't have to rewrite your custom programs. Did the Prelude product think of this? If so where are these includes?
Logged
precisonline
President/Chief Technologist
Administrator
Rock Star
Posts: 1532
Re: Includes
«
Reply #1 on:
June 02, 2009, 12:14:17 PM »
They didn't. Everything is referenced by hard attribute numbers everywhere throughout the BASIC. As it was explained to me, there were certain techniques like this that were specifically avoided to try to obfuscate the code in an attempt to prevent competitors from reverse engineering the logic.
Logged
-Kevin
Accidents "happen"; success, however, is planned and executed.
precisonline
President/Chief Technologist
Administrator
Rock Star
Posts: 1532
Re: Includes
«
Reply #2 on:
June 02, 2009, 12:15:46 PM »
Oh, the one thing they DID do is /FLI. You can get some ideas from /FLI of what is where, but you have to translate that information as you're reading through the code. So when you see something like:
PARMS(3)<21,3>
...you can go to /FLI and get some ideas of what that "means".
Logged
-Kevin
Accidents "happen"; success, however, is planned and executed.
nmorgan
Professional
Posts: 40
Norman Morgan
Re: Includes
«
Reply #3 on:
June 02, 2009, 02:43:49 PM »
I have wrestled with figuring out PSI code daily for the last 15 years and most of it still makes me want to swear.
Let's not even talk about cramped, multi-statment lines with no spaces, or their love of the GOTO statements branching out of FOR-NEXT loops. It's like a style book of How Not To Write Code. Yet....it works....mostly....much of the time. I guess it's kind of like the talking dog. You don't pay much attention to what he says, you just marvel that he talks at all.
The only bright spot is that I only have to put up with it for another 89 days and 17 minutes.
Logged
My wife says her life is like a fairy tale.
She married a prince and he turned into a toad.
precisonline
President/Chief Technologist
Administrator
Rock Star
Posts: 1532
Re: Includes
«
Reply #4 on:
June 02, 2009, 02:46:21 PM »
But who's counting?
Love the talking dog analogy. I'll have to remember that one.
Logged
-Kevin
Accidents "happen"; success, however, is planned and executed.
Pages: [
1
]
Go Up
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General Category
-----------------------------
=> Getting To Know You
=> Announcements
=> Big Thoughts / Cool Ideas
=> Rants & Raves
-----------------------------
Application Support
-----------------------------
=> Red Leaf
=> Activant/Prelude Support
=> Summit Support
=> Avante Support
=> PRC Support
-----------------------------
Training and Education
-----------------------------
=> Connect!
=> U2 Programming Questions
=> SB+ Programming Questions
=> Web Programming Questions
=> Business Intelligence / MITS
=> PC / Hardware / Miscellaneous Support
Loading...