[Info-vax] OpenVMS Programming Languages, Features (was: Re: Oracle Database vs Oracle/Rdb)
Stephen Hoffman
seaohveh at hoffmanlabs.invalid
Sat Jul 13 00:30:10 EDT 2019
On 2019-06-25 16:44:56 +0000, John Reagan said:
> On Tuesday, June 25, 2019 at 12:36:33 PM UTC-4, Neil Rieck wrote:
>> Question: I did not think that Pascal had builtin RMS support (as in
>> directly opening/reading INDEXED files without resorting to system
>> calls). At least this was the case back when I last used VAX Pascal.
>> Was builtin RMS support added to Pascal during the Alpha days -or- are
>> we using different definitions for "builtin"?
>
> VAX Pascal V2.0 added the full set of indexed file support back in the
> early 1980s. It has a [KEY] attribute, FINDK, options on the OPEN
> statement etc. [Well, no support for segmented keys to be full
> disclosure]
See page 93ff in
https://vmssoftware.com/docs/VSI_OpenVMS_compilers_and_lpd/pascal/6140_Pascal_User.pdf
On 2019-06-25 16:16:04 +0000, Neil Rieck said:
> I don't know why, but I often think printf() is built into "C" even
> though everyone here knows you need to do an "#import <stdio.h>" to
> pull it in. Sloppy thinking I suppose.
VSI/HPE/HP/Compaq/DEC C hasn't sprouted support for the (non-standard)
#import nor for @import as yet, though that support may well arise as
part of the port of the LLVM Clang and Clang++ bits.
https://vmssoftware.com/docs/VSI_OpenVMS_BaseOS/5492_c_users_gd.pdf
http://clang.llvm.org/docs/Modules.html
Akin to what #import provides the developer, the (undocumented, see the
Freeware) SDL/C_DEV/VMS_DEV/LANG=C tool provides the
#ifdef/#define/#endif guards that avoid the problems that would
otherwise arise with multiple #include operations for the same file.
And semi-related and entirely FWIW, there's a pretty good programming
book bundle available for cheap for a few more days at:
https://www.humblebundle.com/books/programming-packt-books
Includes books on C++, Java, Go, Python, C#, etc...
--
Pure Personal Opinion | HoffmanLabs LLC
More information about the Info-vax
mailing list