All examples for READTAB
#	Reads a table of Comma-Separated Values (CSV) with missing fields
#	Such tables are generated, for example, by ASCII export from EXCEL
#	In this example, comma-separated values are read and
#	whenever a value is missing, a default value
#	(here, -9 for z1, -99 for z2, and -999 for z3) is used.
#--------------------------------------------------------

*call	readtab	table	log
count	integer	1
z1	float				-9
z2	float				-99
z3	float				-999

delims	,			# Comma is a delimiter
format	free	=DEF=		# free format, but use the defaults above

file		log.csv		# the file contains only (shot,x,y,z) values
				# separated by commas


#---------------------------------------------------------