Highlighted
Absent Member.
Absent Member.
314 views

[archive] def files in terminal format

[Migrated content. Thread originally posted on 24 March 2005]

I've generated an Excel.def file with axdefgen. Is there a way to generate this in terminal format rather than ansi format? If not, what do I need to do to convert it to terminal format? I've tried various spacings but the compiler always chokes on the very first OBJECT line. TIA
0 Likes
4 Replies
Highlighted
Absent Member.
Absent Member.

RE: [archive] def files in terminal format

What do you mean by "terminal" mode? Can you attach the "def" file that it created?

Rob
0 Likes
Highlighted
Absent Member.
Absent Member.

RE: [archive] def files in terminal format

You cannot export .def files to a specific format. Thus, you will experience problems when mixing.
This is however an issue that has been adressed by introduction of support for certain compiler switches inline the code.
As of version 6.2.0, the AxDefGen utility will insert this inline compiler directive automatically and you will be able to use terminal and ansi source code mixed.
0 Likes
Highlighted
Absent Member.
Absent Member.

RE: [archive] def files in terminal format

Thanks, I got it going. I manually adjusted the spacing to terminal format. Also had a problem in that our SPECIAL-NAMES code is in a copy file. This file had a "." at the end of it, so that prevented the compiler from recognizing my following "COPY Excel.def" statement. I'm embarrassed to even share that the problem was a stray period, 😮 but hopefully it will help someone else.

I now have another error I need help on, will post that separately.
0 Likes
Highlighted
Absent Member.
Absent Member.

RE: [archive] def files in terminal format

Don't be embarrassed, as I see it, this is just a perfect example of how important it is, to pay attention to even the smallest detail.

Good work!
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.