Re: Coding examples (Re: VMS Pascal article)

Liste des GroupesRevenir à co vms 
Sujet : Re: Coding examples (Re: VMS Pascal article)
De : seaohveh (at) *nospam* hoffmanlabs.invalid (Stephen Hoffman)
Groupes : comp.os.vms
Date : 05. Jan 2025, 21:49:59
Autres entêtes
Organisation : HoffmanLabs LLC
Message-ID : <vler9n$170h4$1@dont-email.me>
References : 1 2 3 4 5 6 7 8
User-Agent : Unison/2.2
On 2025-01-05 04:19:12 +0000, David Meyer said:

Arne Vajhøj <arne@vajhoej.dk> writes:
 
$ search sys$common:[syshlp.examples.pascal]*.pas varying
$ search sys$common:[syshlp.examples.pascal]*.pas "string("
 Wow! That directory and the others around it are a real treasure trove.
While I haven't poked at the Pascal example code specifically (in the past couple of decades), unfortunately most of the other example source code examples included with OpenVMS itself also tended to be old, ill-maintained, insecure, and/or buggy.
Various of the C code examples won't cleanly compile in recent decades, or uses older or outdated APIs.
Decades ago, I tried to fix some of that mess, but other projects and other funding priorities interceded.

I found answers to questions I had about calling RTL routines from Pascal.
Pascal is the proverbial deep end of the OpenVMS calling standard and argument passing pool.
Usual path for figuring out the more obscure parts of Pascal argument passing is the debugger, combined with the calling standard manual.
Write some code to call Pascal to Pascal for whatever argument-passing you need, and use the debugger to reverse-engineer the descriptors used.

Is there some introduction to VMS that collects links to resources like sys$common:[syshlp.examples] where VMS newbies can look to answer their own questions?
Not that I've ever found. Most newbies don't do that. (And I write that as somebody that worked on the OpenVMS FAQ, a document which was posted here ~monthly in decades past.) You are, however, doing far better than many of the newbies over the decades, in that you're asking for these resources.
https://www.digiater.nl/openvms/freeware/v80/vmsfaq/vmsfaq.txt (with other formats available)
https://web.archive.org/web/20061105000841/http://seqaxp.bio.caltech.edu/www/vms_beginners_faq.html I can assure you that any such FAQ will also routinely be ignored too, as will be the posting archives for this newsgroup, among other resources.
Suggested reading from the OpenVMS manuals: the Users Guide manual, the Programming Concepts manuals, and then either or both the OpenVMS System Manager's Manuals and/or the OpenVMS Pascal docs.
In ancient times, what used to be the DEC "TIMA/STARS" support database were also part of the usual path. Directly, or via llong-gone access paths including the old AskQ site. VSI has a support database with source code examples as well, but AFAIK they don't have that accessible for non-contract customers.
There are source code postings in the archive of this comp.os.vms newsgroup. Google Groups has a fast search of that, but recent years of the Google newsgroup archives are filled with dreck and spam. There are other less-searchable options including https://www.usenetarchives.com
https://www.digiater.nl/openvms/freeware/ (OpenVMS Freeware)
https://www.digiater.nl/openvms/decus/ (DECUS library)
https://www.eight-cubed.com/examples.shtml (C examples)
https://decuserve.org (resource info, "free shell" access to DCL on OpenVMS Alpha, decades of DEC Notes conferences)
--
Pure Personal Opinion | HoffmanLabs LLC
Date Sujet#  Auteur
1 Jan 25 * VMS Pascal article72Arne Vajhøj
1 Jan 25 +* Re: VMS Pascal article3Chris Townley
1 Jan 25 i+- Re: VMS Pascal article1Arne Vajhøj
1 Jan 25 i`- Re: VMS Pascal article1Dennis Boone
2 Jan 25 +* Re: VMS Pascal article18Marc Van Dyck
2 Jan 25 i`* Re: VMS Pascal article17Arne Vajhøj
3 Jan 25 i +* Re: VMS Pascal article5Lawrence D'Oliveiro
3 Jan 25 i i`* Re: VMS Pascal article4Arne Vajhøj
3 Jan 25 i i +* Re: VMS Pascal article2Lawrence D'Oliveiro
3 Jan 25 i i i`- Re: VMS Pascal article1Robert A. Brooks
3 Jan 25 i i `- Re: VMS Pascal article1Simon Clubley
3 Jan 25 i `* Re: VMS Pascal article11Arne Vajhøj
3 Jan 25 i  `* Re: VMS Pascal article10Robert A. Brooks
3 Jan 25 i   `* Re: VMS Pascal article9Arne Vajhøj
3 Jan 25 i    `* Re: VMS Pascal article8Robert A. Brooks
3 Jan 25 i     `* Re: VMS Pascal article7Arne Vajhøj
3 Jan 25 i      `* Re: VMS Pascal article6Robert A. Brooks
4 Jan 25 i       `* Re: SDL, SDLC, PL/I (was Re: VMS Pascal article)5Stephen Hoffman
4 Jan 25 i        +* Re: SDL, SDLC, PL/I (was Re: VMS Pascal article)3Arne Vajhøj
6 Jan 25 i        i`* Re: SDL, SDLC, PL/I (was Re: VMS Pascal article)2Simon Clubley
6 Jan 25 i        i `- Re: SDL, SDLC, PL/I (was Re: VMS Pascal article)1Robert A. Brooks
4 Jan 25 i        `- Re: SDL, SDLC, PL/I (was Re: VMS Pascal article)1Lawrence D'Oliveiro
3 Jan 25 +- Re: VMS Pascal article1David Meyer
3 Jan 25 +* Re: VMS Pascal article24Dan Cross
3 Jan 25 i`* Re: VMS Pascal article23Arne Vajhøj
3 Jan 25 i `* Re: VMS Pascal article22Dan Cross
3 Jan 25 i  `* Re: VMS Pascal article21Arne Vajhøj
3 Jan 25 i   `* Re: VMS Pascal article20Dan Cross
3 Jan 25 i    `* Re: VMS Pascal article19Arne Vajhøj
3 Jan 25 i     +* Re: VMS Pascal article4Dan Cross
3 Jan 25 i     i+* Re: VMS Pascal article2Dan Cross
4 Jan 25 i     ii`- Re: VMS Pascal article1Arne Vajhøj
4 Jan 25 i     i`- Re: VMS Pascal article1Arne Vajhøj
3 Jan 25 i     +* Re: VMS Pascal article2Lawrence D'Oliveiro
4 Jan 25 i     i`- Re: VMS Pascal article1Arne Vajhøj
5 Jan 25 i     `* Coding examples (Re: VMS Pascal article)12David Meyer
5 Jan 25 i      +* Re: Coding examples (Re: VMS Pascal article)2Arne Vajhøj
5 Jan 25 i      i`- Re: Coding examples (Re: VMS Pascal article)1Arne Vajhøj
5 Jan 25 i      `* Re: Coding examples (Re: VMS Pascal article)9Stephen Hoffman
6 Jan 25 i       `* Re: Coding examples (Re: VMS Pascal article)8Marc Van Dyck
6 Jan 25 i        +- Re: Coding examples (Re: VMS Pascal article)1Craig A. Berry
6 Jan 25 i        `* Re: Coding examples (Re: VMS Pascal article)6Arne Vajhøj
6 Jan 25 i         +- Re: Coding examples (Re: VMS Pascal article)1Arne Vajhøj
7 Jan 25 i         +- Re: Coding examples (Re: VMS Pascal article)1mjos_examine
8 Jan 25 i         `* Re: Coding examples (Re: VMS Pascal article)3Craig A. Berry
8 Jan 25 i          `* Re: Coding examples (Re: VMS Pascal article)2Arne Vajhøj
8 Jan 25 i           `- Re: Coding examples (Re: VMS Pascal article)1Lawrence D'Oliveiro
4 Jan 25 +- Re: VMS Pascal article1Martin Vorländer
6 Jan 25 +* Re: VMS Pascal article23John Reagan
7 Jan 25 i`* Re: VMS Pascal article22John Reagan
7 Jan 25 i +* Re: VMS Pascal article20Dan Cross
7 Jan 25 i i`* Re: VMS Pascal article19John Reagan
8 Jan 25 i i `* Re: VMS Pascal article18Dan Cross
8 Jan 25 i i  `* Re: VMS Pascal article17Arne Vajhøj
8 Jan 25 i i   +* Re: VMS Pascal article5Dan Cross
9 Jan 25 i i   i+- Re: VMS Pascal article1Arne Vajhøj
9 Jan 25 i i   i+- Re: VMS Pascal article1Simon Clubley
9 Jan 25 i i   i`* Re: VMS Pascal article2jayjwa
10 Jan 25 i i   i `- Re: VMS Pascal article1Craig A. Berry
9 Jan 25 i i   `* Re: VMS Pascal article11Dave Froble
9 Jan 25 i i    +* Re: VMS Pascal article5Arne Vajhøj
9 Jan 25 i i    i`* Re: VMS Pascal article4Dan Cross
9 Jan 25 i i    i `* Re: VMS Pascal article3Simon Clubley
10 Jan 25 i i    i  `* Re: VMS Pascal article2Simon Clubley
10 Jan 25 i i    i   `- Re: VMS Pascal article1Arne Vajhøj
9 Jan 25 i i    `* Re: VMS Pascal article5Arne Vajhøj
9 Jan 25 i i     +* Re: VMS Pascal article2Robert A. Brooks
9 Jan 25 i i     i`- Re: VMS Pascal article1Arne Vajhøj
9 Jan 25 i i     `* Re: VMS Pascal article2Simon Clubley
9 Jan 25 i i      `- Re: VMS Pascal article1Arne Vajhøj
8 Jan 25 i `- Re: VMS Pascal article1Arne Vajhøj
8 Jan 25 `- Re: VMS Pascal article1Arne Vajhøj

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal