DATA_BLOCK Name
DATA_BLOCK Purpose
Read the block of data following data_block call.
Category
Calling Sequence
data_block, out Inputs
Keyword Parameters
Keywords
/CHECK means just list data block lines without
interpreting them.
ERROR=err Error flag: 0=ok, 1=error.
Outputs
out = returned array of data. out
Common Blocks
Notes
Notes: Block of data must directly follow call to data_block.
Examples
data_block, x
; 11,23,26.5, 34.7 42 EOD
data_block, t
; 1, 2, 3 ; Line 1.
; 11,22,33 ; Line 2.
; eod
<> Values may be separated by commas, spaces, and/or tabs.
<> The string EOD indicates the End Of Data and may be at
the end of a line or on a separate line (but only once).
<> Multiple data lines are allowed.
<> Data always comes back as a floating 1-d array.
<> Data lines must be commented out so IDL will ignore them.
<> Anything following a second comment char is ignored.
Modification History
R. Sterner, 1995 May 23
R. Sterner, 2000 Aug 01 --- Fixed change in returned calling line #.
R. Sterner, 2010 May 04 --- Converted arrays from () to [].
Copyright (C) 1995, Johns Hopkins University/Applied Physics Laboratory
This software may be used, copied, or redistributed as long as it is not
sold and this copyright notice is reproduced on each copy made. This
routine is provided as is without any express or implied warranties
whatsoever. Other limitations apply as described in the file disclaimer.txt.