home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / lang / idlpvwa / 628 < prev    next >
Encoding:
Text File  |  1993-01-21  |  1.5 KB  |  32 lines

  1. Newsgroups: comp.lang.idl-pvwave
  2. Path: sparky!uunet!paladin.american.edu!howland.reston.ans.net!zaphod.mps.ohio-state.edu!saimiri.primate.wisc.edu!ames!nsisrv!stars.gsfc.nasa.gov!landsman
  3. From: landsman@stars.gsfc.nasa.gov (Wayne Landsman (301)-286-3625)
  4. Subject: Problem with MK_LIBRARY_HELP in VMS IDL 3.0.0
  5. Message-ID: <21JAN199317234691@stars.gsfc.nasa.gov>
  6. News-Software: VAX/VMS VNEWS 1.4-b1  
  7. Sender: usenet@nsisrv.gsfc.nasa.gov (Usenet)
  8. Nntp-Posting-Host: stars.gsfc.nasa.gov
  9. Organization: NASA/GSFC-Laboratory for Astronomy and Solar Physics
  10. Date: Thu, 21 Jan 1993 21:23:00 GMT
  11. Lines: 19
  12.  
  13.  
  14. I have found that the MK_LIBRARY_HELP.PRO procedure supplied in the V3.0.0 
  15. User Library does not work under VMS IDL.     (This procedures allows users
  16. to create their own .HELP files.)    The created .HELP file has 
  17. incorrect byte offets associated with each procedure name, so that one does 
  18. not always get the help that one asked for.    The problem is caused by
  19. the additional control characters introduced by VMS.
  20.  
  21. I have a fixed version of MK_LIBRARY_HELP which I will send to anyone who wants
  22. it, but I'm not sure it is the "best" way to fix it.   The two changes I made 
  23. were
  24.  
  25.    (1)  The temporary file USERLIB.TXT is opened (on the unit txt_file) with 
  26.          the /STREAM keyword 
  27.  
  28.    (2)  Since the EOF command does not work with /STREAM files, I use the
  29.          On_IOerror command instead of EOF to flag the end of file.
  30.  
  31. --Wayne Landsman                                 landsman@stars.gsfc.nasa.gov
  32.