comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » problem with OPENURL
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
problem with OPENURL [message #26367] Mon, 20 August 2001 06:20
Russell Layberry is currently offline  Russell Layberry
Messages: 5
Registered: August 2001
Junior Member
Hi

I'm having a problem with OPENURL.

Using the example code

------------
PRO URL_DEMO, url=url

;
; Make sure the URL does exist.
;
IF N_ELEMENTS(url) EQ 0 THEN url =
' http://debian/datagrabber/servlet/results?query=show+tables& amp;format=openurl'

; The call to OpenURL
;
OpenURL, url, unit=unit

Reading and writing the content of the URL file

str = ''
ON_IOERROR, done
WHILE 1 DO BEGIN
READF, unit, str
PRINT, str
ENDWHILE

done:

END
---------

I get the error message 'Invalid drive specification', though the program
has read the page and printed it to the screen. If I comment out the code
to read the data (ie leave only OpenUrl,url,unit=unit) then it still prints
the contents of the webpage to the screen. Is this something to do with
temporary files.

Help!
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: openr keyword conflict
Next Topic: Testers needed for TV benchmark

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 16:50:12 PDT 2025

Total time taken to generate the page: 0.00448 seconds