home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / os / vms / 19196 < prev    next >
Encoding:
Internet Message Format  |  1992-12-13  |  1.7 KB

  1. Path: sparky!uunet!ulowell!news.bbn.com!usc!elroy.jpl.nasa.gov!nntp-server.caltech.edu!SOL1.GPS.CALTECH.EDU!CARL
  2. From: carl@SOL1.GPS.CALTECH.EDU (Carl J Lydick)
  3. Newsgroups: comp.os.vms
  4. Subject: Re: How do you RUN a program with parameters?
  5. Date: 13 Dec 1992 18:36:43 GMT
  6. Organization: HST Wide Field/Planetary Camera
  7. Lines: 23
  8. Distribution: world
  9. Message-ID: <1gfvrrINN3fl@gap.caltech.edu>
  10. References: <1992Dec12.222644.9168@Posse.UWyo.Edu>
  11. Reply-To: carl@SOL1.GPS.CALTECH.EDU
  12. NNTP-Posting-Host: sol1.gps.caltech.edu
  13.  
  14. In article <1992Dec12.222644.9168@Posse.UWyo.Edu>, TWTICK@corral.uwyo.edu (Tom Wilson) writes:
  15. =
  16. =
  17. =In article <1992Dec12.151824.8561@sobeco.com>, jpichett@sobeco.com (Jacques-Bertrand Pichette) said:
  18. =[ suggestions removed ]
  19. =
  20. => >People using other languages than C will have to use the RTL routine
  21. => >LIB$GET_FOREIGN !
  22. =If you want to return the arguments (argv's), use lib$get_symbol instead of
  23. =lib$get_foreign.
  24.  
  25. That works only for batch jobs and command procedures, unless you've defined
  26. the symbols through which you want to pass the parameters to the image.  Almost
  27. certainly not what the original querant wanted, and absolutely nothing to do
  28. with any situation in which if might be appropriate to use LIB$GET_FOREIGN.
  29. --------------------------------------------------------------------------------
  30. Carl J Lydick | INTERnet: CARL@SOL1.GPS.CALTECH.EDU | NSI/HEPnet: SOL1::CARL
  31.  
  32. Disclaimer:  Hey, I understand VAXen and VMS.  That's what I get paid for.  My
  33. understanding of astronomy is purely at the amateur level (or below).  So
  34. unless what I'm saying is directly related to VAX/VMS, don't hold me or my
  35. organization responsible for it.  If it IS related to VAX/VMS, you can try to
  36. hold me responsible for it, but my organization had nothing to do with it.
  37.