ed@iitmax.IIT.EDU (Ed Federmeyer) (08/31/89)
One of the things I dislike most about writing programs that use system services and run-time-library routines is that I have to define them as external in my code. While I should be happy to be able to do this at all, it makes the code look sloppy (cluttered?, unreadable?) If I write my code in FORTRAN, I can INCLUDE ('$SYSSRVNAM'), which then lets me use the routines as if they were a built in part of the language, which is what I want... Unfortunatly, I'm not crazy about FORTRAN. What might be nice would be some include files for Pascal that define the VMS data structures, and the RTL routine function declarations. Then I could (quickly) write something like: TYPE %INCLUDE 'VMS_DATA_STRUCTURES.PAS' VAR somevariable : IO_STATUS_BLOCK; (without having to define TYPE IO_STATUS_BLOCK, for example) And later I could (quickly) write something like: %INCLUDE 'LIB_ROUTINES_DEF.PAS' ... BEGIN {main} status := LIB$GET_INPUT( an_input_string , 'Data: ' ); (without having to explictly define the LIB$ routines, for example.) This seems like it could really cut down the programming time, and that someone out there has such definition include files already made. Are such things available? I am mainly interested in public domain, (anonymous ftp, BITNET servers and the like) however, I would also be interested to hear about commercial packages. (For example DEC's own Common Data Dictionary) By the way, I'm not only interested in Pascal, these types of definition files for ANY language would be great. Thanks! Ed Federmeyer (ed@iitMax.iit.edu) (sysed@iitVax.bitnet) -- //==========================================================================\\ || Ed Federmeyer || UUCP: ed@iitMax.iit.edu || || "Unauthorized access is || Bitnet: sysed@iitVax || || strictly unauthorized." || Office: (312) 567-5981 || \\==========================================================================//
ecldco@ultb.UUCP (E.C. Loyd) (09/01/89)
If all you're interested in is Pascal headers for things, look in SYS$LIBRAY:PASCAL$XXX_ROUTINES.PAS They exist on V5.- machines (or at least, they should) and they also have the cooresponding environment file (so you can do something like: [inherit ('SYS$LIBRARY:PASCAL$LIB_ROUTINES.PEN')] PROGRAM TOM; . . . BEGIN . . END. or whatever RTL you'd like. As for everything else, you can use these as your base, and write your own, or, most intelligent languages on VMS, at least, look for the explicitly for unresolved references in compiling. you should have to do much work. -- ECLDCO@RITVAXC.bitnet ECL6895@RITVAXC.bitnet ECLDCO@ultb.isc.rit.edu ECL6895@ultb.isc.rit.edu Eric Loyd's the name, Data Center Operations is the game. Opinions and irrational outbursts are MY pride and joy. Not my employer's.