Example Usage

The following shows a short example of the usage of the UDF IDL inteface routines in parsing a UDF data source. The calling sequence shows the general order in which the routines should be invoked.

Key = UDF_KEY('IMAGE', 'IMAGE-1', 'MENA', 'MENASCI', 'IMMSTATS')
fh  = UDF_OPEN (Key, [2000, 256, 1, 0, 0], [2000, 256, 1, 30, 0])
WHILE NOT UDF_EOF(fh) DO BEGIN
  S = UDF_Read(fh)

  [CODE TO MANIPULATE THE DATA IN S]

ENDWHILE


&larr Previous TOC HOME
IDL UDF Data Structure