Modern IDL by Michael Galloy

API documentation for example code

Directory: fileio/

Examples of file input/output.

Contents

.pro files

fileio_chapter.pro

Batch file containing all the code intended to be typed at the command line from the "File I/O" chapter.

mg_continuation_format_code.pro

Example of using the $ format code.

mg_extend_h5_example.pro

Example of writing chunks to an HDF 5 file without ever having to hold the entire data in memory.

mg_h5_getdata.pro

Routine for extracting datasets, slices of datasets, or attributes from an HDF 5 file with simple notation.

mg_planets.pro

Use the IDL DOM parser to parse the planets.xml XML file.

mg_socket_client_demo.pro

Example client side in client/server socket communication.

mg_socket_server_demo.pro

Example server side in client/server socket communication.

mg_src_root.pro

Returns the directory name (with a trailing slash) of the location of the source code for the routine that called this function.

mg_videowrite.pro
mg_xmlsax_example__define.pro

This class is an example of using a SAX parser to parse XML files.

mgffplanets__define.pro

Example of using the IDL SAX parser to read a simple XML file, planets.xml in the examples/data directory of the IDL distribution.