OPENURL Procedure

Opens a file on the Internet to be accessed (through Java) using PV-WAVE.

Usage

Input Parameters

Keywords

Discussion


NOTE: Java software must be available in your path and its location must be in the operating-system search path before you start PV-WAVE. (You should be able to run a Java program by typing java and the program name at the OS prompt.)

Windows Users: Make sure that one of the environment variables TMP or TEMP is set to a writable directory to enable temporary file writing.

Example

PRO URL_DEMO, url = url

IF N_ELEMENTS(url) EQ 0 THEN $ url = 'http://www.vni.com'

; Verify that the URL exists.

OPENURL, url, unit = unit

str = ''

ON_IOERROR, done

WHILE 1 DO BEGIN READF, unit, str PRINT, str

ENDWHILE

; Reading and writing the content of the URL file.

done:

END

See Also





doc@boulder.vni.com
Copyright © 1999, Visual Numerics, Inc. All rights reserved.