home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / os / vms / 19867 < prev    next >
Encoding:
Internet Message Format  |  1992-12-24  |  1.6 KB

  1. Path: sparky!uunet!wupost!howland.reston.ans.net!paladin.american.edu!gatech!destroyer!ncar!noao!arizona!sunquest!spades.aces.com!gavron
  2. From: gavron@spades.aces.com (Ehud Gavron 602-570-2000 x. 2546)
  3. Newsgroups: comp.os.vms
  4. Subject: Re: DCL symbols from an image
  5. Message-ID: <24DEC199220072442@spades.aces.com>
  6. Date: 25 Dec 92 03:07:00 GMT
  7. References: <01GSNDM8ODYQ000G0Z@mc.maricopa.edu>
  8. Sender: news@cs.arizona.edu
  9. Reply-To: gavron@ACES.COM
  10. Organization: ACES Consulting Inc.
  11. Lines: 25
  12. News-Software: VAX/VMS VNEWS 1.4-b1
  13.  
  14. In article <01GSNDM8ODYQ000G0Z@mc.maricopa.edu>, SHOECRAFT@MC.MARICOPA.EDU (Steve Shoecraft) writes...
  15. #    I am writing an application which must not only get symbols, but set DCL 
  16. #symbols.  I am unable to use the LIB$GET_SYMBOL and LIB$SET_SYMBOL services 
  17. #because I need to be able to work with integers as well.  Does anyone have an 
  18. #example (C or MACRO) that does this? I would also like to be able to determine 
  19. #whether the symbol was/is global or local on the get, and to specify global or 
  20. #local on the set.
  21.  
  22.     This cannot currently be done from an executable.*
  23.  
  24.     Ehud
  25.  
  26. --
  27. Ehud Gavron        (EG76)     
  28. gavron@aces.com
  29.  
  30. * Those who would take me to task by saying that DCL is an executable
  31.   and that what it could do so can the users should realize that there's
  32.   NOTHING that can't be done in software, given PEOPLE, MONEY, and TIME.
  33.   In order to solve this one, our hero would need to:
  34.     a. Define a symbol in some way that it allocates space
  35.     b. Peek in P1 space to find where the symbol information
  36.        is stored and change it to be an integer symbol.
  37.   The time element on b is cost prohibitive.
  38.